tls_kdf.h
General definitions for cryptographic algorithms.
error_t hkdfExpandLabel(const HashAlgo *hashAlgo, const uint8_t *secret, size_t secretLen, const char_t *prefix, const char_t *label, const uint8_t *context, size_t contextLen, uint8_t *output, size_t outputLen)
HKDF-Expand-Label function (TLS 1.3)
Definition: tls_kdf.c:270
error_t tls12Prf(const HashAlgo *hashAlgo, const uint8_t *secret, size_t secretLen, const char_t *label, const uint8_t *seed, size_t seedLen, uint8_t *output, size_t outputLen)
Pseudorandom function (TLS 1.2)
Definition: tls_kdf.c:187
error_t tlsPrf(const uint8_t *secret, size_t secretLen, const char_t *label, const uint8_t *seed, size_t seedLen, uint8_t *output, size_t outputLen)
Pseudorandom function (TLS 1.0 and 1.1)
Definition: tls_kdf.c:62
