Functions | |
cy_en_cryptolite_status_t | Cy_Cryptolite_Hkdf_Extract (CRYPTOLITE_Type *base, uint8_t const *salt, uint32_t saltLength, uint8_t const *ikm, uint32_t ikmLength, uint8_t *prk) |
Performs HKDF Extract calculation. More... | |
cy_en_cryptolite_status_t | Cy_Cryptolite_Hkdf_Expand (CRYPTOLITE_Type *base, uint8_t const *prk, uint32_t prkLength, uint8_t const *info, uint32_t infoLength, uint8_t *okm, uint32_t okmLength) |
Performs HKDF Expand calculation. More... | |
cy_en_cryptolite_status_t | Cy_Cryptolite_Hkdf (CRYPTOLITE_Type *base, uint8_t const *salt, uint32_t saltLength, uint8_t const *ikm, uint32_t ikmLength, uint8_t const *info, uint32_t infoLength, uint8_t *okm, uint32_t okmLength) |
Performs HKDF calculation. More... | |
cy_en_cryptolite_status_t Cy_Cryptolite_Hkdf_Extract | ( | CRYPTOLITE_Type * | base, |
uint8_t const * | salt, | ||
uint32_t | saltLength, | ||
uint8_t const * | ikm, | ||
uint32_t | ikmLength, | ||
uint8_t * | prk | ||
) |
Performs HKDF Extract calculation.
base | The pointer to the CRYPTOLITE instance. |
salt | The pointer to salt. |
saltLength | The size of a salt. |
ikm | The pointer to the Input Key material. |
ikmLength | The length of the IKM. |
prk | The pointer to store the generated prk. |
cy_en_cryptolite_status_t Cy_Cryptolite_Hkdf_Expand | ( | CRYPTOLITE_Type * | base, |
uint8_t const * | prk, | ||
uint32_t | prkLength, | ||
uint8_t const * | info, | ||
uint32_t | infoLength, | ||
uint8_t * | okm, | ||
uint32_t | okmLength | ||
) |
Performs HKDF Expand calculation.
base | The pointer to the CRYPTOLITE instance. |
prk | The pointer to the pseudo random key. |
prkLength | The length of the prk. |
info | The pointer to info. |
infoLength | The length of the info. |
okm | The pointer to Output key material. |
okmLength | The length of okm to be generated. |
cy_en_cryptolite_status_t Cy_Cryptolite_Hkdf | ( | CRYPTOLITE_Type * | base, |
uint8_t const * | salt, | ||
uint32_t | saltLength, | ||
uint8_t const * | ikm, | ||
uint32_t | ikmLength, | ||
uint8_t const * | info, | ||
uint32_t | infoLength, | ||
uint8_t * | okm, | ||
uint32_t | okmLength | ||
) |
Performs HKDF calculation.
base | The pointer to the CRYPTOLITE instance. |
salt | The pointer to salt. |
saltLength | The size of a salt. |
ikm | The pointer to the Input Key material. |
ikmLength | The length of the IKM. |
info | The pointer to info. |
infoLength | The length of the info. |
okm | The pointer to Output key material. |
okmLength | The length of okm to be generated. |