nrfxlib API
3.4.99
Toggle main menu visibility
Loading...
Searching...
No Matches
cc3xx_psa_key_agreement.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2021, Arm Limited. All rights reserved.
3
*
4
* SPDX-License-Identifier: BSD-3-Clause
5
*
6
*/
7
8
#ifndef CC3XX_PSA_KEY_AGREEMENT_H
9
#define CC3XX_PSA_KEY_AGREEMENT_H
10
18
19
#include "psa/crypto.h"
20
21
#ifdef __cplusplus
22
extern
"C"
{
23
#endif
24
41
psa_status_t
cc3xx_key_agreement
(
42
const
psa_key_attributes_t *attributes,
43
const
uint8_t *priv_key,
size_t
priv_key_size,
44
const
uint8_t *publ_key,
size_t
publ_key_size,
45
uint8_t *output,
size_t
output_size,
size_t
*output_length,
46
psa_algorithm_t alg);
47
48
#ifdef __cplusplus
49
}
50
#endif
51
#endif
/* CC3XX_PSA_KEY_AGREEMENT_H */
cc3xx_key_agreement
psa_status_t cc3xx_key_agreement(const psa_key_attributes_t *attributes, const uint8_t *priv_key, size_t priv_key_size, const uint8_t *publ_key, size_t publ_key_size, uint8_t *output, size_t output_size, size_t *output_length, psa_algorithm_t alg)
Performs a raw key agreement (i.e. Elliptic Curve Diffie Hellman).
crypto
nrf_cc310_mbedcrypto
include
cc3xx_psa_key_agreement.h
Generated on
for nrfxlib API by
1.17.0