SharkSSL C/C++ Reference
TLS, cryptography, certificates, and PSA integration
SharkSslPSAConsumerHKDF.h
Go to the documentation of this file.
1
37#ifndef SHARKSSL_PSA_CONSUMER_HKDF_H
38#define SHARKSSL_PSA_CONSUMER_HKDF_H
39
40#include "SharkSSL.h"
41
42#if (!SHARKSSL_PSA_CONSUMER)
43#error SharkSslPSAConsumerHKDF.h requires SHARKSSL_PSA_CONSUMER
44#endif
45
46#ifdef __cplusplus
47extern "C" {
48#endif
49
60 psa_key_id_t secret, psa_algorithm_t algorithm, psa_key_id_t salt,
61 const U8 *info, size_t infoLen);
62
63#ifdef __cplusplus
64}
65#endif
66
67#endif
TLS objects, certificate/session operations, and public-key interfaces.
int32_t psa_status_t
SharkSSL PSA Crypto API 1.4.1/1.5.0 configurable subset.
Definition: crypto.h:58
uint32_t psa_key_id_t
Definition: crypto.h:61
uint32_t psa_algorithm_t
Definition: crypto.h:59
SHARKSSL_API psa_status_t SharkSslPSAHKDF_deriveKey(psa_key_id_t *outputKey, const psa_key_attributes_t *attributes, psa_key_id_t secret, psa_algorithm_t algorithm, psa_key_id_t salt, const U8 *info, size_t infoLen)
Derive a PSA key using full HKDF, HKDF-Extract or HKDF-Expand.
Attributes are value objects; setters do not allocate resources.
Definition: crypto.h:680