Searched refs:UserContext (Results 1 – 2 of 2) sorted by relevance
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/kdf/ |
D | cc_hkdf.c | 163 CCHmacUserContext_t UserContext; in HkdfExpand() local 199 Error = CC_HmacInit(&UserContext, hashMode, prk_ptr, prk_len); in HkdfExpand() 205 Error = CC_HmacUpdate(&UserContext, (uint8_t*)T, HashOutputSizeBytes); in HkdfExpand() 211 Error = CC_HmacUpdate(&UserContext, info, info_len); in HkdfExpand() 216 Error = CC_HmacUpdate(&UserContext, &counter, 1); in HkdfExpand() 221 Error = CC_HmacFinish(&UserContext, T); in HkdfExpand()
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/api/ |
D | mbedtls_cc_chacha.c | 216 mbedtls_chacha_user_context UserContext; in mbedtls_chacha() local 235 …Error = mbedtls_chacha_init(&UserContext, pNonce, nonceSize, pKey, initialCounter, encryptDecryptF… in mbedtls_chacha() 240 Error = mbedtls_chacha_finish(&UserContext, pDataIn, dataInSize, pDataOut); in mbedtls_chacha() 245 Error = mbedtls_chacha_free(&UserContext); in mbedtls_chacha()
|