Home
last modified time | relevance | path

Searched refs:pDataOut (Results 1 – 14 of 14) sorted by relevance

/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/host/src/tests/integration_cc3x/runtime_integration_test/tests/
Drun_integration_key_derivation.c76 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 …]
Drun_integration_chacha.c61 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/
Dmbedtls_cc_chacha_poly.c25 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()
Dmbedtls_cc_chacha.c41 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/
Ddriver_common.c18 … 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()
Ddriver_defs.h384 … 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/
Dmbedtls_cc_chacha.h137 …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…
Dmbedtls_cc_chacha_poly.h52 …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/
Dbsv_crypto_driver.h135 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/
Dsecureboot_stage_defs.h89 #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/
Dsbrt_int_func.h78 uint8_t *pDataOut,
Dsbrt_int_func.c328 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/
Dgcm_alt.c157 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/
Dcc3xx_internal_gcm.c119 const uint8_t *pDataOut, const uint8_t *pTag, in gcm_init() argument
141 if (NULL == pDataOut) { in gcm_init()