SharkSSL C/C++ Reference
TLS, cryptography, certificates, and PSA integration
SharkSslPSAConsumerPBKDF2.h
Go to the documentation of this file.
1
37#ifndef SHARKSSL_PSA_CONSUMER_PBKDF2_H
38#define SHARKSSL_PSA_CONSUMER_PBKDF2_H
39
40#include "SharkSSL.h"
41
42#if (!SHARKSSL_PSA_CONSUMER)
43#error SharkSslPSAConsumerPBKDF2.h requires SHARKSSL_PSA_CONSUMER
44#endif
45
51SHARKSSL_API int SharkSslPSAPBKDF2_derive(U8 *output, const U8 *password, const U8 *salt,
52 psa_algorithm_t alg, U32 passwordLen,
53 U32 saltLen, U32 iterations, U16 outputLen);
54
55#endif
TLS objects, certificate/session operations, and public-key interfaces.
SHARKSSL_API int SharkSslPSAPBKDF2_derive(U8 *output, const U8 *password, const U8 *salt, psa_algorithm_t alg, U32 passwordLen, U32 saltLen, U32 iterations, U16 outputLen)
Derive bytes with PSA PBKDF2-HMAC or PBKDF2-AES-CMAC-PRF-128.
uint32_t psa_algorithm_t
Definition: crypto.h:58