| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/shared/include/cc_util/ |
| D | mbedtls_cc_util_key_derivation.h | 94 mbedtls_util_keydata *pUserKey, 133 #define mbedtls_util_key_derivation_cmac(keyType, pUserKey, pLabel, labelSize, pContextData, contex… argument 134 …mbedtls_util_key_derivation(keyType, pUserKey, CC_UTIL_PRF_CMAC, CC_HASH_OperationModeLast, pLabel… 152 #define mbedtls_util_key_derivation_hmac(keyType, pUserKey, hashMode, pLabel, labelSize, pContextDa… argument 153 …mbedtls_util_key_derivation(keyType, pUserKey, CC_UTIL_PRF_HMAC, hashMode, pLabel, labelSize, pCon…
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/host/src/cc3x_lib/ |
| D | cc_util_cmac.c | 96 CCAesUserKeyData_t *pUserKey, in UtilCmacDeriveKey() argument 135 if ((pUserKey->keySize != CC_UTIL_AES_128BIT_SIZE) && in UtilCmacDeriveKey() 136 (pUserKey->keySize != CC_UTIL_AES_192BIT_SIZE) && in UtilCmacDeriveKey() 137 (pUserKey->keySize != CC_UTIL_AES_256BIT_SIZE)) { in UtilCmacDeriveKey() 142 switch (pUserKey->keySize) { in UtilCmacDeriveKey() 155 CC_PalMemCopy(aesCtxBuf.keyBuf, pUserKey->pKey, pUserKey->keySize); in UtilCmacDeriveKey()
|
| D | cc_util_cmac.h | 36 CCAesUserKeyData_t *pUserKey,
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/host/src/cc3x_sbromlib/ |
| D | bsv_aes_driver.c | 29 uint32_t *pUserKey, in LoadBsvAesKey() argument 110 SB_HAL_WRITE_REGISTER(SB_REG_ADDR(hwBaseAddress, AES_KEY_0_0) ,pUserKey[0]); in LoadBsvAesKey() 111 SB_HAL_WRITE_REGISTER(SB_REG_ADDR(hwBaseAddress, AES_KEY_0_1) ,pUserKey[1]); in LoadBsvAesKey() 112 SB_HAL_WRITE_REGISTER(SB_REG_ADDR(hwBaseAddress, AES_KEY_0_2) ,pUserKey[2]); in LoadBsvAesKey() 113 SB_HAL_WRITE_REGISTER(SB_REG_ADDR(hwBaseAddress, AES_KEY_0_3) ,pUserKey[3]); in LoadBsvAesKey() 116 SB_HAL_WRITE_REGISTER(SB_REG_ADDR(hwBaseAddress, AES_KEY_0_4) ,pUserKey[4]); in LoadBsvAesKey() 117 SB_HAL_WRITE_REGISTER(SB_REG_ADDR(hwBaseAddress, AES_KEY_0_5) ,pUserKey[5]); in LoadBsvAesKey() 118 SB_HAL_WRITE_REGISTER(SB_REG_ADDR(hwBaseAddress, AES_KEY_0_6) ,pUserKey[6]); in LoadBsvAesKey() 119 SB_HAL_WRITE_REGISTER(SB_REG_ADDR(hwBaseAddress, AES_KEY_0_7) ,pUserKey[7]); in LoadBsvAesKey() 211 uint32_t *pUserKey, in ProcessBsvAes() argument [all …]
|
| D | bsv_crypto_driver.h | 131 uint32_t *pUserKey, 172 uint32_t *pUserKey,
|
| D | bsv_crypto_api.h | 69 uint32_t *pUserKey, /*!< [in] A pointer to the user's key buffer. */
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/host/src/utils/ |
| D | mbedtls_cc_util_key_derivation.c | 28 mbedtls_util_keydata *pUserKey, in mbedtls_util_key_derivation() argument 75 if (!pUserKey) { in mbedtls_util_key_derivation() 78 if (!pUserKey->pKey) { in mbedtls_util_key_derivation() 155 … rc = UtilCmacDeriveKey(utilKeyType, (CCAesUserKeyData_t*)pUserKey, dataIn, dataSize, tmp); in mbedtls_util_key_derivation() 159 pUserKey->pKey, in mbedtls_util_key_derivation() 160 pUserKey->keySize, in mbedtls_util_key_derivation()
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/host/src/tests/integration_cc3x/runtime_integration_test/tests/ |
| D | run_integration_key_derivation.c | 75 uint8_t* pUserKey = NULL; in runIt_hmacKeyDerivTest() local 91 ALLOC_AND_COPY(userKeyPtr, pUserKey, userKey, sizeof(userKey)); in runIt_hmacKeyDerivTest() 94 keyData.pKey = pUserKey; in runIt_hmacKeyDerivTest() 137 uint8_t* pUserKey = NULL; in runIt_cmacKeyDerivTest() local 153 ALLOC_AND_COPY(userKeyPtr, pUserKey, userKey, sizeof(userKey)); in runIt_cmacKeyDerivTest() 156 keyData.pKey = (uint8_t*)pUserKey; in runIt_cmacKeyDerivTest() 198 uint8_t* pUserKey = NULL; in runIt_cmacRootKeyDerivTest() local 218 ALLOC_AND_COPY(userKeyPtr, pUserKey, userKey, sizeof(userKey)); in runIt_cmacRootKeyDerivTest() 222 keyData.pKey = (uint8_t*)pUserKey; in runIt_cmacRootKeyDerivTest()
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/host/src/cc3x_productionlib/common/ |
| D | prod_crypto_driver.c | 207 uint8_t *pUserKey, in CC_PROD_KeyDerivation() argument 223 ((keyType == USER_KEY) && (pUserKey == NULL)) || in CC_PROD_KeyDerivation() 247 CC_PalMemCopy(aesCtx.keyBuf, pUserKey, CC_AES_BLOCK_SIZE_IN_BYTES); in CC_PROD_KeyDerivation()
|
| D | prod_crypto_driver.h | 67 uint8_t *pUserKey,
|