Home
last modified time | relevance | path

Searched refs:keyBuff (Results 1 – 7 of 7) 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.c64 uint8_t keyBuff[CC_AES_KEY_MAX_SIZE_IN_BYTES] = {0}; in runIt_extDma() local
82 memcpy(keyBuff, KEY, sizeof(keyBuff)); in runIt_extDma()
85 …RUNIT_ASSERT_WITH_RESULT(mbedtls_aes_ext_dma_set_key(CC_AES_MODE_CTR, keyBuff, keySize * 8), CC_OK… in runIt_extDma()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/host/src/tests/common/
Dtests_otp.c132 uint32_t Test_SetKeyOtpBuff(uint32_t *otpBuf, uint32_t *keyBuff, uint32_t keyType) in Test_SetKeyOtpBuff() argument
139 if ((NULL == otpBuf) || (NULL == keyBuff)) in Test_SetKeyOtpBuff()
175 …memcpy((uint8_t *) (otpBuf + keyOffsetInOtp), (uint8_t *) keyBuff, keySizeInWords * sizeof(uint32_… in Test_SetKeyOtpBuff()
177 TEST_CALC_BUFF_ZEROS(keyBuff, keySizeInWords, zeroCount); in Test_SetKeyOtpBuff()
193 …est_GetKeyOtpBuff(uint32_t *otpBuf, uint32_t keyType, uint32_t *keySizeInWords, uint32_t *keyBuff ) in Test_GetKeyOtpBuff() argument
198 if ((NULL == otpBuf) || (NULL == keyBuff) || (NULL == keySizeInWords)) { in Test_GetKeyOtpBuff()
231 …memcpy((uint8_t *)keyBuff, (uint8_t *)(otpBuf + keyOffsetInOtp), (*keySizeInWords)*sizeof(uint32_t… in Test_GetKeyOtpBuff()
Dtests_otp.h79 uint32_t *keyBuff, //!< [in] key value
91 uint32_t *keyBuff //!< [out] hw key value
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/host/src/cc3x_productionlib/cmpu/
Dcmpu_derivation.c36 uint8_t keyBuff[CC_PROD_AES_Key256Bits_SIZE_IN_BYTES]; in Derivation_Block_Cipher_df() local
105 CC_PalMemCopy(keyBuff, (uint8_t*)pOutput, sizeof(keyBuff)); in Derivation_Block_Cipher_df()
119 keyBuff, sizeof(keyBuff), in Derivation_Block_Cipher_df()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/utils/src/common/
Dcommon_crypto_sym.c90 int8_t keyBuff[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()
134 UTIL_LOG_BYTE_BUFF("keyBuff", keyBuff, sizeof(keyBuff)); in CC_CommonAesCbcDecrypt()
141 status = AES_set_decrypt_key (keyBuff, 128, &aesKey); in CC_CommonAesCbcDecrypt()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/host/src/tests/proj/cc3x/cc312_r1/
Dtest_proj_otp.c122 uint32_t Test_ProjSetKeyOtpBuff(uint32_t *otpBuf, uint32_t *keyBuff, uint32_t keyType) in Test_ProjSetKeyOtpBuff() argument
156 if (keyBuff != NULL) { in Test_ProjSetKeyOtpBuff()
158 (uint8_t *) keyBuff, in Test_ProjSetKeyOtpBuff()
531 uint32_t *keyBuff) in Test_ProjGetKeyOtpBuff() argument
536 if ((NULL == otpBuf) || (NULL == keyBuff) || (NULL == keySizeInWords)) { in Test_ProjGetKeyOtpBuff()
570 memcpy((uint8_t *) keyBuff, in Test_ProjGetKeyOtpBuff()
Dtest_proj_otp.h148 uint32_t Test_ProjSetKeyOtpBuff(uint32_t *otpBuf, uint32_t *keyBuff, uint32_t keyType);
320 uint32_t *keyBuff);