SharkSSL C/C++ Reference
TLS, cryptography, certificates, and PSA integration
SharkSslPSAConsumerSP800108.h
Go to the documentation of this file.
1
37
#ifndef SHARKSSL_PSA_CONSUMER_SP800108_H
38
#define SHARKSSL_PSA_CONSUMER_SP800108_H
39
40
#include "
SharkSSL.h
"
41
42
#if (!SHARKSSL_PSA_CONSUMER)
43
#error SharkSslPSAConsumerSP800108.h requires SHARKSSL_PSA_CONSUMER
44
#endif
45
50
SHARKSSL_API
int
SharkSslPSASP800108_derive
(U8 *output, U16 outputLen,
psa_key_id_t
key,
51
psa_algorithm_t
algorithm,
const
U8 *label, U16 labelLen,
52
const
U8 *context, U16 contextLen);
53
54
#endif
SharkSSL.h
TLS objects, certificate/session operations, and public-key interfaces.
SharkSslPSASP800108_derive
SHARKSSL_API int SharkSslPSASP800108_derive(U8 *output, U16 outputLen, psa_key_id_t key, psa_algorithm_t algorithm, const U8 *label, U16 labelLen, const U8 *context, U16 contextLen)
Derive exactly outputLen bytes with SP800-108 counter HMAC or CMAC.
psa_key_id_t
uint32_t psa_key_id_t
Definition:
crypto.h:60
psa_algorithm_t
uint32_t psa_algorithm_t
Definition:
crypto.h:58
inc
psa-consumer
SharkSslPSAConsumerSP800108.h
SharkSSL
C/C++ reference | Doxygen 1.9.4