/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/host/src/tests/integration_cc3x/runtime_integration_test/tests/ |
D | run_integration_key_derivation.c | 76 uint8_t* pDataOut = NULL; in runIt_hmacKeyDerivTest() local 92 ALLOC(dataOutPtr, pDataOut, dataOutLength); in runIt_hmacKeyDerivTest() 104 (uint8_t *)pDataOut, in runIt_hmacKeyDerivTest() 111 RUNIT_PRINT_BUF(pDataOut, dataOutLength, "dataOutBuff"); in runIt_hmacKeyDerivTest() 113 RUNIT_ASSERT(memcmp(pDataOut, userKeyDataOut, dataOutLength) == 0); in runIt_hmacKeyDerivTest() 138 uint8_t* pDataOut = NULL; in runIt_cmacKeyDerivTest() local 154 ALLOC(dataOutPtr, pDataOut, dataOutLength); in runIt_cmacKeyDerivTest() 165 (uint8_t *)pDataOut, in runIt_cmacKeyDerivTest() 169 RUNIT_PRINT_BUF(pDataOut, dataOutLength, "pDataOut"); in runIt_cmacKeyDerivTest() 171 RUNIT_ASSERT(memcmp(pDataOut, userKeyDataOut, dataOutLength) == 0); in runIt_cmacKeyDerivTest() [all …]
|
D | run_integration_chacha.c | 61 uint8_t *pDataOut = NULL; in runIt_Chacha() local 69 ALLOC(dataOutPtr, pDataOut, DATA_OUT_SIZE); in runIt_Chacha() 74 memset(pDataOut, 0, DATA_OUT_SIZE); in runIt_Chacha() 80 pDataOut ) == CC_OK); in runIt_Chacha() 82 RUNIT_ASSERT(memcmp(pDataOut, pExpectedDataOut, sizeof(pDataIn)) == 0); in runIt_Chacha() 87 memset(pDataOut, 0, DATA_OUT_SIZE); in runIt_Chacha() 98 …RUNIT_ASSERT_WITH_RESULT(mbedtls_chacha20_update( &ctx, blockSize , pDataIn + j, pDataOut + j ), C… in runIt_Chacha() 105 …RUNIT_ASSERT_WITH_RESULT(mbedtls_chacha20_update(&ctx, blockSize ,pDataIn + j, pDataOut + j), CC_O… in runIt_Chacha() 111 RUNIT_ASSERT(memcmp(pDataOut, pExpectedDataOut, sizeof(pDataIn)) == 0); in runIt_Chacha()
|
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/api/ |
D | mbedtls_cc_chacha_poly.c | 25 uint8_t *pDataOut, in mbedtls_chacha_poly() argument 44 if (((pDataOut == NULL) ^ (pDataIn == NULL))|| in mbedtls_chacha_poly() 54 pCipherData = pDataOut; in mbedtls_chacha_poly() 73 …Nonce96BitSize, pKey, 1, encryptDecryptFlag, (uint8_t *)pDataIn, dataInSize, (uint8_t *)pDataOut); in mbedtls_chacha_poly() 97 …Nonce96BitSize, pKey, 1, encryptDecryptFlag, (uint8_t *)pDataIn, dataInSize, (uint8_t *)pDataOut); in mbedtls_chacha_poly() 105 if (pDataOut != NULL) { in mbedtls_chacha_poly() 106 CC_PalMemSetZero(pDataOut, dataInSize); in mbedtls_chacha_poly()
|
D | mbedtls_cc_chacha.c | 41 uint8_t *pDataOut) in ChachaBlock() argument 66 if (pDataOut == NULL) { in ChachaBlock() 70 upDataOut = (uintptr_t)pDataOut; in ChachaBlock() 81 pDataOut, dataInSize, &outBuffInfo); in ChachaBlock() 169 uint8_t *pDataOut ) in mbedtls_chacha_block() argument 178 return ChachaBlock(pContextID, pDataIn, dataInSize, pDataOut); in mbedtls_chacha_block() 184 uint8_t *pDataOut) in mbedtls_chacha_finish() argument 190 return ChachaBlock(pContextID, pDataIn, dataInSize, pDataOut); in mbedtls_chacha_finish() 214 uint8_t *pDataOut ) in mbedtls_chacha() argument 240 Error = mbedtls_chacha_finish(&UserContext, pDataIn, dataInSize, pDataOut); in mbedtls_chacha()
|
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/driver/ |
D | driver_common.c | 18 … const uint8_t *pDataOut, size_t dataOutSize, CCBuffInfo_t *pOutputBuffInfo) in SetDataBuffersInfo() argument 32 if (pDataOut != NULL) { in SetDataBuffersInfo() 33 drvRet = CC_PalDataBufferAttrGet(pDataOut, dataOutSize, OUTPUT_DATA_BUFFER, &buffNs); in SetDataBuffersInfo() 39 pOutputBuffInfo->dataBuffAddr = (uint32_t)pDataOut; in SetDataBuffersInfo()
|
D | driver_defs.h | 384 … const uint8_t *pDataOut, size_t dataOutSize, CCBuffInfo_t *pOutputBuffInfo);
|
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/shared/include/crypto_api/cc3x/ |
D | mbedtls_cc_chacha.h | 137 …uint8_t *pDataOut /*!< [out] A pointer to the buffer of the output d… 157 …uint8_t *pDataOut /*!< [out] A pointer to the buffer of the output d… 191 …uint8_t *pDataOut /*!< [out] A pointer to the buffer of the outp…
|
D | mbedtls_cc_chacha_poly.h | 52 …uint8_t *pDataOut, /*!< [out] A pointer to the output-data buffe…
|
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/host/src/cc3x_sbromlib/ |
D | bsv_crypto_driver.h | 135 uint8_t *pDataOut, 148 uint8_t *pDataOut,
|
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/secure_boot_debug/platform/stage/rt/cc3x/ |
D | secureboot_stage_defs.h | 89 #define BsvCryptoImageUpdate(hwBaseAddress, mode, keyType, pCtrStateBuf, pDataIn, pDataOut, dataSiz… argument 90 …SBRT_CryptoImageUpdate(hwBaseAddress, mode, keyType, pCtrStateBuf, pDataIn, pDataOut, dataSize, ha…
|
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/host/src/cc3x_lib/ |
D | sbrt_int_func.h | 78 uint8_t *pDataOut,
|
D | sbrt_int_func.c | 328 uint8_t *pDataOut, in SBRT_CryptoImageUpdate() argument 340 … pCtrStateBuf, (uint32_t)pDataIn, (uint32_t)pDataOut, dataSize, isLoadIV); in SBRT_CryptoImageUpdate()
|
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/ |
D | gcm_alt.c | 157 uint8_t* pDataOut, in gcm_init() argument 181 if (NULL == pDataOut) { in gcm_init()
|
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/ |
D | cc3xx_internal_gcm.c | 119 const uint8_t *pDataOut, const uint8_t *pTag, in gcm_init() argument 141 if (NULL == pDataOut) { in gcm_init()
|