/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/ |
D | gcm_alt.c | 123 CCBuffInfo_t outBuffInfo; in gcm_calc_h() local 133 (uint8_t*)(pAesGcmCtx->H), AES_128_BIT_KEY_SIZE, &outBuffInfo); in gcm_calc_h() 140 rc = ProcessAesGcm(pAesGcmCtx, &inBuffInfo, &outBuffInfo, CC_AES_BLOCK_SIZE_IN_BYTES); in gcm_calc_h() 246 CCBuffInfo_t outBuffInfo; in gcm_process_j0() local 265 NULL, 0, &outBuffInfo); in gcm_process_j0() 272 rc = ProcessAesGcm(pAesGcmCtx, &inBuffInfo, &outBuffInfo, pAesGcmCtx->ivSize); in gcm_process_j0() 290 NULL, 0, &outBuffInfo); in gcm_process_j0() 297 … rc = ProcessAesGcm(pAesGcmCtx, &inBuffInfo, &outBuffInfo, CC_AESGCM_GHASH_DIGEST_SIZE_BYTES); in gcm_process_j0() 312 CCBuffInfo_t outBuffInfo; in gcm_process_aad() local 329 NULL, 0, &outBuffInfo); in gcm_process_aad() [all …]
|
D | aes_alt.c | 168 CCBuffInfo_t outBuffInfo; in mbedtls_aes_crypt_ecb() local 194 output, AES_BLOCK_SIZE, &outBuffInfo); in mbedtls_aes_crypt_ecb() 200 drvRet = ProcessAesDrv(aesCtx, &inBuffInfo, &outBuffInfo, AES_BLOCK_SIZE); in mbedtls_aes_crypt_ecb() 225 CCBuffInfo_t outBuffInfo; in mbedtls_aes_crypt_cbc() local 264 output, length, &outBuffInfo); in mbedtls_aes_crypt_cbc() 270 drvRet = ProcessAesDrv(aesCtx, &inBuffInfo, &outBuffInfo, length); in mbedtls_aes_crypt_cbc() 341 CCBuffInfo_t outBuffInfo; in aes_crypt_ctr_ofb() local 366 output, length, &outBuffInfo); in aes_crypt_ctr_ofb() 372 drvRet = ProcessAesDrv(aesCtx, &inBuffInfo, &outBuffInfo, length); in aes_crypt_ctr_ofb()
|
D | cmac_alt.c | 180 CCBuffInfo_t outBuffInfo; in mbedtls_cipher_cmac_update() local 211 &outBuffInfo); in mbedtls_cipher_cmac_update() 220 &outBuffInfo, in mbedtls_cipher_cmac_update() 245 &outBuffInfo); in mbedtls_cipher_cmac_update() 255 &outBuffInfo, in mbedtls_cipher_cmac_update() 284 CCBuffInfo_t outBuffInfo; in mbedtls_cipher_cmac_finish() local 299 &outBuffInfo); in mbedtls_cipher_cmac_finish() 308 &outBuffInfo, in mbedtls_cipher_cmac_finish()
|
D | chacha20_alt.c | 111 CCBuffInfo_t outBuffInfo; in mbedtls_chacha20_update() local 136 output, size, &outBuffInfo); in mbedtls_chacha20_update() 144 drvRc = ProcessChacha(chachaCtx, &inBuffInfo, &outBuffInfo, size); in mbedtls_chacha20_update()
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/api/ |
D | mbedtls_ccm_internal.c | 47 CCBuffInfo_t outBuffInfo; in ccm_init() local 142 0, &outBuffInfo); in ccm_init() 150 rc = ProcessAesCcmDrv(pAesCcmCtx, &inBuffInfo, &outBuffInfo, CC_AES_BLOCK_SIZE_IN_BYTES); in ccm_init() 178 CCBuffInfo_t outBuffInfo; in ccm_ass_data() local 235 0, &outBuffInfo); in ccm_ass_data() 243 rc = ProcessAesCcmDrv(pAesCcmCtx, &inBuffInfo, &outBuffInfo, CC_AES_BLOCK_SIZE_IN_BYTES); in ccm_ass_data() 255 0, &outBuffInfo); in ccm_ass_data() 263 rc = ProcessAesCcmDrv(pAesCcmCtx, &inBuffInfo, &outBuffInfo, assocDataSize); in ccm_ass_data() 280 CCBuffInfo_t outBuffInfo; in ccm_text_data() local 316 …tDataBuffersInfo(pTextDataIn, textDataSize, &inBuffInfo, pTextDataOut, textDataSize, &outBuffInfo); in ccm_text_data() [all …]
|
D | mbedtls_cc_chacha.c | 48 CCBuffInfo_t outBuffInfo; in ChachaBlock() local 81 pDataOut, dataInSize, &outBuffInfo); in ChachaBlock() 87 drvRc = ProcessChacha(chachaCtx, &inBuffInfo, &outBuffInfo, dataInSize); in ChachaBlock()
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/ |
D | cc3xx_internal_ccm.c | 140 CCBuffInfo_t outBuffInfo; in ccm_init() local 230 NULL, 0, &outBuffInfo); in ccm_init() 237 rc = ProcessAesCcmDrv(context, &inBuffInfo, &outBuffInfo, in ccm_init() 267 CCBuffInfo_t outBuffInfo; in ccm_ass_data() local 316 &inBuffInfo, NULL, 0, &outBuffInfo); in ccm_ass_data() 323 rc = ProcessAesCcmDrv(context, &inBuffInfo, &outBuffInfo, in ccm_ass_data() 335 &outBuffInfo); in ccm_ass_data() 343 ProcessAesCcmDrv(context, &inBuffInfo, &outBuffInfo, assocDataSize); in ccm_ass_data() 361 CCBuffInfo_t outBuffInfo; in ccm_text_data() local 393 pTextDataOut, textDataSize, &outBuffInfo); in ccm_text_data() [all …]
|
D | cc3xx_internal_gcm.c | 88 CCBuffInfo_t outBuffInfo; in gcm_calc_h() local 97 &outBuffInfo); in gcm_calc_h() 105 rc = ProcessAesGcm(context, &inBuffInfo, &outBuffInfo, in gcm_calc_h() 206 CCBuffInfo_t outBuffInfo; in gcm_process_j0() local 230 &outBuffInfo); in gcm_process_j0() 237 rc = ProcessAesGcm(context, &inBuffInfo, &outBuffInfo, iv_size); in gcm_process_j0() 257 NULL, 0, &outBuffInfo); in gcm_process_j0() 264 rc = ProcessAesGcm(context, &inBuffInfo, &outBuffInfo, in gcm_process_j0() 288 CCBuffInfo_t outBuffInfo; in gcm_process_aad() local 311 &outBuffInfo); in gcm_process_aad() [all …]
|
D | cc3xx_internal_aes.c | 122 CCBuffInfo_t outBuffInfo; in cc3xx_aes_crypt() local 145 output, length, &outBuffInfo); in cc3xx_aes_crypt() 151 drvRet = ProcessAesDrv(ctx, &inBuffInfo, &outBuffInfo, length); in cc3xx_aes_crypt()
|
D | cc3xx_psa_mac.c | 148 CCBuffInfo_t outBuffInfo; in cmac_update() local 159 &inBuffInfo, NULL, 0, &outBuffInfo); in cmac_update() 165 ret = ProcessAesDrv(&(cmac_ctx->ctx.aes), &inBuffInfo, &outBuffInfo, in cmac_update() 184 &inBuffInfo, NULL, 0, &outBuffInfo); in cmac_update() 192 ret = ProcessAesDrv(&(cmac_ctx->ctx.aes), &inBuffInfo, &outBuffInfo, in cmac_update() 222 CCBuffInfo_t outBuffInfo; in cmac_finish() local 230 0, &outBuffInfo); in cmac_finish() 236 ret = FinishAesDrv(&(cmac_ctx->ctx.aes), &inBuffInfo, &outBuffInfo, in cmac_finish()
|
D | cc3xx_internal_chacha20.c | 28 CCBuffInfo_t outBuffInfo; in chacha_block() local 31 output, size, &outBuffInfo); in chacha_block() 37 drvRc = ProcessChacha(ctx, &inBuffInfo, &outBuffInfo, size); in chacha_block()
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/host/src/cc3x_productionlib/common/ |
D | prod_crypto_driver.c | 191 CCBuffInfo_t outBuffInfo; in CC_PROD_AesProcess() local 195 (uint8_t*)pOutbuff, dataInSize, &outBuffInfo); in CC_PROD_AesProcess() 201 return ProcessAesDrv(pAesCtx, &inBuffInfo, &outBuffInfo, dataInSize); in CC_PROD_AesProcess() 219 CCBuffInfo_t outBuffInfo; in CC_PROD_KeyDerivation() local 259 NULL, 0, &outBuffInfo); in CC_PROD_KeyDerivation() 264 drvRc = FinishAesDrv(&aesCtx, &inBuffInfo, &outBuffInfo, dataInSize); in CC_PROD_KeyDerivation()
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/host/src/cc3x_lib/ |
D | cc_util_cmac.c | 104 CCBuffInfo_t outBuffInfo; in UtilCmacDeriveKey() local 172 pCmacResult, CC_UTIL_AES_CMAC_RESULT_SIZE_IN_BYTES, &outBuffInfo); in UtilCmacDeriveKey() 178 rc = FinishAesDrv(&aesCtxBuf, &inBuffInfo, &outBuffInfo, dataInSize); in UtilCmacDeriveKey()
|