/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/host/src/cc3x_productionlib/cmpu/ |
D | cmpu_derivation.c | 29 uint32_t *pOutput) in Derivation_Block_Cipher_df() argument 46 if ((NULL == pInputBuff) || (actualInputDataSize == 0) || (NULL == pOutput)) { in Derivation_Block_Cipher_df() 93 pOutput + i*CC_PROD_AES_BLOCK_SIZE_IN_WORDS); in Derivation_Block_Cipher_df() 105 CC_PalMemCopy(keyBuff, (uint8_t*)pOutput, sizeof(keyBuff)); in Derivation_Block_Cipher_df() 106 … CC_PalMemCopy(ivBuff, (uint8_t*)(pOutput + CC_PROD_AES_Key256Bits_SIZE_IN_WORDS), sizeof(ivBuff)); in Derivation_Block_Cipher_df() 116 CC_PalMemSetZero((uint8_t*)pOutput, outDataSizeBytes); in Derivation_Block_Cipher_df() 121 pOutput, in Derivation_Block_Cipher_df() 123 pOutput); in Derivation_Block_Cipher_df() 174 uint32_t pOutput[CC_PROD_AES_Key256Bits_SIZE_IN_WORDS+CC_PROD_AES_IV_COUNTER_SIZE_IN_WORDS]; in Derivation_DRBG_Update() local 196 pOutput); in Derivation_DRBG_Update() [all …]
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/host/src/tests/integration_cc3x/runtime_integration_test/tests/ |
D | run_integration_rsa.c | 192 uint8_t *pOutput = NULL; in runIt_rsaPublicGeneral() local 210 ALLOC(outputPtr, pOutput, BUF_SIZE); in runIt_rsaPublicGeneral() 219 memset(pOutput, 0, BUF_SIZE); in runIt_rsaPublicGeneral() 235 RUNIT_ASSERT_W_PARAM(name, mbedtls_rsa_public(pCtx, pMessageStr, pOutput) == 0); in runIt_rsaPublicGeneral() 237 runIt_hexify(pOutputStr, pOutput, pCtx->len); in runIt_rsaPublicGeneral() 243 memset(pOutput, 0x00, BUF_SIZE); in runIt_rsaPublicGeneral() 245 RUNIT_ASSERT_W_PARAM(name, mbedtls_rsa_public(pCtx2, pMessageStr, pOutput) == 0); in runIt_rsaPublicGeneral() 247 runIt_hexify(pOutputStr, pOutput, pCtx2->len); in runIt_rsaPublicGeneral() 294 uint8_t *pOutput = NULL; in runIt_rsaPrivateGeneral() local 316 ALLOC(outputPtr, pOutput, BUF_SIZE); in runIt_rsaPrivateGeneral() [all …]
|
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32u5xx/hal/Inc/ |
D | stm32u5xx_hal_cryp_ex.h | 67 HAL_StatusTypeDef HAL_CRYPEx_WrapKey(CRYP_HandleTypeDef *hcryp, uint32_t *pInput, uint32_t *pOutput… 75 …_CRYPEx_EncryptSharedKey(CRYP_HandleTypeDef *hcryp, uint32_t *pKey, uint32_t *pOutput, uint32_t ID,
|
D | stm32u5xx_hal_cryp.h | 565 …Def HAL_CRYP_Encrypt(CRYP_HandleTypeDef *hcryp, uint32_t *pInput, uint16_t Size, uint32_t *pOutput, 567 …Def HAL_CRYP_Decrypt(CRYP_HandleTypeDef *hcryp, uint32_t *pInput, uint16_t Size, uint32_t *pOutput, 569 …HAL_CRYP_Encrypt_IT(CRYP_HandleTypeDef *hcryp, uint32_t *pInput, uint16_t Size, uint32_t *pOutput); 570 …HAL_CRYP_Decrypt_IT(CRYP_HandleTypeDef *hcryp, uint32_t *pInput, uint16_t Size, uint32_t *pOutput); 571 …AL_CRYP_Encrypt_DMA(CRYP_HandleTypeDef *hcryp, uint32_t *pInput, uint16_t Size, uint32_t *pOutput); 572 …AL_CRYP_Decrypt_DMA(CRYP_HandleTypeDef *hcryp, uint32_t *pInput, uint16_t Size, uint32_t *pOutput);
|
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32h5xx/hal/Inc/ |
D | stm32h5xx_hal_cryp_ex.h | 67 HAL_StatusTypeDef HAL_CRYPEx_WrapKey(CRYP_HandleTypeDef *hcryp, uint32_t *pInput, uint32_t *pOutput… 75 …_CRYPEx_EncryptSharedKey(CRYP_HandleTypeDef *hcryp, uint32_t *pKey, uint32_t *pOutput, uint32_t ID,
|
D | stm32h5xx_hal_cryp.h | 570 …Def HAL_CRYP_Encrypt(CRYP_HandleTypeDef *hcryp, uint32_t *pInput, uint16_t Size, uint32_t *pOutput, 572 …Def HAL_CRYP_Decrypt(CRYP_HandleTypeDef *hcryp, uint32_t *pInput, uint16_t Size, uint32_t *pOutput, 574 …HAL_CRYP_Encrypt_IT(CRYP_HandleTypeDef *hcryp, uint32_t *pInput, uint16_t Size, uint32_t *pOutput); 575 …HAL_CRYP_Decrypt_IT(CRYP_HandleTypeDef *hcryp, uint32_t *pInput, uint16_t Size, uint32_t *pOutput); 576 …AL_CRYP_Encrypt_DMA(CRYP_HandleTypeDef *hcryp, uint32_t *pInput, uint16_t Size, uint32_t *pOutput); 577 …AL_CRYP_Decrypt_DMA(CRYP_HandleTypeDef *hcryp, uint32_t *pInput, uint16_t Size, uint32_t *pOutput);
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/utils/src/common/ |
D | common_crypto_sym.c | 362 int8_t *pOutput) in CC_CommonAesCmacEncrypt() argument 370 (NULL == pOutput) || in CC_CommonAesCmacEncrypt() 380 memset(pOutput, 0, AES_BLOCK_SIZE); in CC_CommonAesCmacEncrypt() 397 rc = CMAC_Final(cmac_ctx, pOutput, &tempOutSize); in CC_CommonAesCmacEncrypt()
|
D | common_crypto_sym.h | 84 int8_t *pOutput);
|
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32u5xx/hal/Src/ |
D | stm32u5xx_hal_cryp_ex.c | 341 HAL_StatusTypeDef HAL_CRYPEx_WrapKey(CRYP_HandleTypeDef *hcryp, uint32_t *pInput, uint32_t *pOutput… in HAL_CRYPEx_WrapKey() argument 355 hcryp->pCrypOutBuffPtr = pOutput; in HAL_CRYPEx_WrapKey() 444 …_CRYPEx_EncryptSharedKey(CRYP_HandleTypeDef *hcryp, uint32_t *pKey, uint32_t *pOutput, uint32_t ID, in HAL_CRYPEx_EncryptSharedKey() argument 459 hcryp->pCrypOutBuffPtr = pOutput; in HAL_CRYPEx_EncryptSharedKey()
|
D | stm32u5xx_hal_cryp.c | 1201 …Def HAL_CRYP_Encrypt(CRYP_HandleTypeDef *hcryp, uint32_t *pInput, uint16_t Size, uint32_t *pOutput, in HAL_CRYP_Encrypt() argument 1223 hcryp->pCrypOutBuffPtr = pOutput; in HAL_CRYP_Encrypt() 1299 …Def HAL_CRYP_Decrypt(CRYP_HandleTypeDef *hcryp, uint32_t *pInput, uint16_t Size, uint32_t *pOutput, in HAL_CRYP_Decrypt() argument 1321 hcryp->pCrypOutBuffPtr = pOutput; in HAL_CRYP_Decrypt() 1390 … HAL_CRYP_Encrypt_IT(CRYP_HandleTypeDef *hcryp, uint32_t *pInput, uint16_t Size, uint32_t *pOutput) in HAL_CRYP_Encrypt_IT() argument 1431 hcryp->pCrypOutBuffPtr = pOutput; in HAL_CRYP_Encrypt_IT() 1494 … HAL_CRYP_Decrypt_IT(CRYP_HandleTypeDef *hcryp, uint32_t *pInput, uint16_t Size, uint32_t *pOutput) in HAL_CRYP_Decrypt_IT() argument 1534 hcryp->pCrypOutBuffPtr = pOutput; in HAL_CRYP_Decrypt_IT() 1596 …HAL_CRYP_Encrypt_DMA(CRYP_HandleTypeDef *hcryp, uint32_t *pInput, uint16_t Size, uint32_t *pOutput) in HAL_CRYP_Encrypt_DMA() argument 1619 hcryp->pCrypOutBuffPtr = pOutput; in HAL_CRYP_Encrypt_DMA() [all …]
|
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/stm32h5xx/hal/Src/ |
D | stm32h5xx_hal_cryp_ex.c | 333 HAL_StatusTypeDef HAL_CRYPEx_WrapKey(CRYP_HandleTypeDef *hcryp, uint32_t *pInput, uint32_t *pOutput… in HAL_CRYPEx_WrapKey() argument 348 hcryp->pCrypOutBuffPtr = pOutput; in HAL_CRYPEx_WrapKey() 478 …_CRYPEx_EncryptSharedKey(CRYP_HandleTypeDef *hcryp, uint32_t *pKey, uint32_t *pOutput, uint32_t ID, in HAL_CRYPEx_EncryptSharedKey() argument 494 hcryp->pCrypOutBuffPtr = pOutput; in HAL_CRYPEx_EncryptSharedKey()
|
D | stm32h5xx_hal_cryp.c | 1240 …Def HAL_CRYP_Encrypt(CRYP_HandleTypeDef *hcryp, uint32_t *pInput, uint16_t Size, uint32_t *pOutput, in HAL_CRYP_Encrypt() argument 1262 hcryp->pCrypOutBuffPtr = pOutput; in HAL_CRYP_Encrypt() 1338 …Def HAL_CRYP_Decrypt(CRYP_HandleTypeDef *hcryp, uint32_t *pInput, uint16_t Size, uint32_t *pOutput, in HAL_CRYP_Decrypt() argument 1360 hcryp->pCrypOutBuffPtr = pOutput; in HAL_CRYP_Decrypt() 1429 … HAL_CRYP_Encrypt_IT(CRYP_HandleTypeDef *hcryp, uint32_t *pInput, uint16_t Size, uint32_t *pOutput) in HAL_CRYP_Encrypt_IT() argument 1470 hcryp->pCrypOutBuffPtr = pOutput; in HAL_CRYP_Encrypt_IT() 1533 … HAL_CRYP_Decrypt_IT(CRYP_HandleTypeDef *hcryp, uint32_t *pInput, uint16_t Size, uint32_t *pOutput) in HAL_CRYP_Decrypt_IT() argument 1573 hcryp->pCrypOutBuffPtr = pOutput; in HAL_CRYP_Decrypt_IT() 1635 …HAL_CRYP_Encrypt_DMA(CRYP_HandleTypeDef *hcryp, uint32_t *pInput, uint16_t Size, uint32_t *pOutput) in HAL_CRYP_Encrypt_DMA() argument 1658 hcryp->pCrypOutBuffPtr = pOutput; in HAL_CRYP_Encrypt_DMA() [all …]
|