Home
last modified time | relevance | path

Searched refs:ivBuff (Results 1 – 4 of 4) sorted by relevance

/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/host/src/tests/integration_cc3x/runtime_integration_test/tests/
Drun_integration_ext_dma.c63 CCAesIv_t ivBuff = {0}; in runIt_extDma() local
81 memcpy(ivBuff, NONCE, sizeof(ivBuff)); in runIt_extDma()
86 RUNIT_ASSERT_WITH_RESULT(mbedtls_aes_ext_dma_set_iv(CC_AES_MODE_CTR, ivBuff, 16), CC_OK); in runIt_extDma()
117 RUNIT_ASSERT_WITH_RESULT(mbedtls_aes_ext_dma_finish(CC_AES_MODE_CTR, ivBuff, 16), CC_OK); in runIt_extDma()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/api/
Dmbedtls_aes_ext_dma.c220 uint32_t ivBuff[CC_AES_IV_SIZE_IN_WORDS]; in mbedtls_aes_ext_dma_set_iv() local
238 CC_PalMemCopy((uint8_t *)ivBuff, iv, CC_AES_IV_SIZE_IN_BYTES); in mbedtls_aes_ext_dma_set_iv()
240 drvRc = AesExtDmaSetIv(mode, ivBuff); in mbedtls_aes_ext_dma_set_iv()
264 uint32_t ivBuff[CC_AES_IV_SIZE_IN_WORDS]; in mbedtls_aes_ext_dma_finish() local
284 drvRc = finalizeAesExtDma(mode, ivBuff); in mbedtls_aes_ext_dma_finish()
287 CC_PalMemCopy(iv, (uint8_t *)ivBuff, CC_AES_IV_SIZE_IN_BYTES); in mbedtls_aes_ext_dma_finish()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/host/src/cc3x_productionlib/cmpu/
Dcmpu_derivation.c37 uint8_t ivBuff[CC_PROD_AES_IV_COUNTER_SIZE_IN_BYTES]; in Derivation_Block_Cipher_df() local
106 … CC_PalMemCopy(ivBuff, (uint8_t*)(pOutput + CC_PROD_AES_Key256Bits_SIZE_IN_WORDS), sizeof(ivBuff)); in Derivation_Block_Cipher_df()
120 ivBuff, CC_PROD_AES_IV_COUNTER_SIZE_IN_BYTES, in Derivation_Block_Cipher_df()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/utils/src/common/
Dcommon_crypto_sym.c91 int8_t ivBuff[EVP_MAX_KEY_LENGTH] = {0x0}; in CC_CommonAesCbcDecrypt() local
127 … status = EVP_BytesToKey(cipher, dgst, NULL, (uint8_t *) pwdBuff, pwdBuffLen, 1, keyBuff, ivBuff); in CC_CommonAesCbcDecrypt()
135 UTIL_LOG_BYTE_BUFF("ivBuff", ivBuff, sizeof(ivBuff)); in CC_CommonAesCbcDecrypt()
148 AES_cbc_encrypt(pEncBuff, pDecBuff, encBuffSize, &aesKey, ivBuff, AES_DECRYPT); in CC_CommonAesCbcDecrypt()