Home
last modified time | relevance | path

Searched refs:SetDataBuffersInfo (Results 1 – 17 of 17) sorted by relevance

/trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/api/
Dmbedtls_ccm_internal.c140 rc = SetDataBuffersInfo(tempBuff, CC_AES_BLOCK_SIZE_IN_BYTES, &inBuffInfo, in ccm_init()
233 rc = SetDataBuffersInfo(pAesCcmCtx->tempBuff, CC_AES_BLOCK_SIZE_IN_BYTES, &inBuffInfo, in ccm_ass_data()
253 rc = SetDataBuffersInfo(pAssocData, assocDataSize, &inBuffInfo, in ccm_ass_data()
316 …rc = SetDataBuffersInfo(pTextDataIn, textDataSize, &inBuffInfo, pTextDataOut, textDataSize, &outBu… in ccm_text_data()
375 rc = SetDataBuffersInfo(pTextDataOut, textDataSize, &inBuffInfo, in ccm_text_data()
437 …rc = SetDataBuffersInfo((uint8_t*) pAesCcmCtx->ivBuf, CC_AES_BLOCK_SIZE_IN_BYTES, &inBuffInfo, loc… in ccm_finish()
463 …rc = SetDataBuffersInfo(tempBuff, CC_AES_BLOCK_SIZE_IN_BYTES, &inBuffInfo, tempBuff, CC_AES_BLOCK_… in ccm_finish()
Dmbedtls_cc_chacha.c80 drvRc = SetDataBuffersInfo(pDataIn, dataInSize, &inBuffInfo, in ChachaBlock()
/trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/
Dgcm_alt.c132 …rc = SetDataBuffersInfo((uint8_t*)(pAesGcmCtx->tempBuf), CC_AESGCM_GHASH_DIGEST_SIZE_BYTES, &inBuf… in gcm_calc_h()
264 rc = SetDataBuffersInfo(pIv, pAesGcmCtx->ivSize, &inBuffInfo, in gcm_process_j0()
289 …rc = SetDataBuffersInfo((uint8_t*)(pAesGcmCtx->tempBuf), CC_AESGCM_GHASH_DIGEST_SIZE_BYTES, &inBuf… in gcm_process_j0()
328 rc = SetDataBuffersInfo(pAad, pAesGcmCtx->aadSize, &inBuffInfo, in gcm_process_aad()
364 rc = SetDataBuffersInfo(pTextDataIn, pAesGcmCtx->dataSize, &inBuffInfo, in gcm_process_cipher()
402 …rc = SetDataBuffersInfo((uint8_t*)(pAesGcmCtx->tempBuf), CC_AESGCM_GHASH_DIGEST_SIZE_BYTES, &inBuf… in gcm_process_lenA_lenC()
433 …rc = SetDataBuffersInfo((uint8_t*)(pAesGcmCtx->tempBuf), CC_AESGCM_GHASH_DIGEST_SIZE_BYTES, &inBuf… in gcm_finish()
Dmbedtls_hash_common.c49 rc = SetDataBuffersInfo((uint8_t*)localPrevDataIn, pHashCtx->blockSizeInBytes, &inBuffInfo, in mbedtls_hashUpdate()
68 rc = SetDataBuffersInfo(pDataIn, bytesToAdd, &inBuffInfo, in mbedtls_hashUpdate()
160 drvRc = SetDataBuffersInfo((uint8_t*)localPrevDataIn, dataInSize, &inBuffInfo, in mbedtls_sha_finish_internal()
Daes_alt.c193 drvRet = SetDataBuffersInfo(input, AES_BLOCK_SIZE, &inBuffInfo, in mbedtls_aes_crypt_ecb()
263 drvRet = SetDataBuffersInfo(input, length, &inBuffInfo, in mbedtls_aes_crypt_cbc()
365 drvRet = SetDataBuffersInfo(input, length, &inBuffInfo, in aes_crypt_ctr_ofb()
Dcmac_alt.c206 …ret = SetDataBuffersInfo((const uint8_t*)&((mbedtls_cmac_private_context_t*)cmac_ctx)->cmac_ctrl_c… in mbedtls_cipher_cmac_update()
240 ret = SetDataBuffersInfo(input, in mbedtls_cipher_cmac_update()
294 …ret = SetDataBuffersInfo((const uint8_t*)&((mbedtls_cmac_private_context_t*)cmac_ctx)->cmac_ctrl_c… in mbedtls_cipher_cmac_finish()
Dchacha20_alt.c135 drvRc = SetDataBuffersInfo(input, size, &inBuffInfo, in mbedtls_chacha20_update()
/trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/
Dcc3xx_internal_ccm.c227 rc = SetDataBuffersInfo(tempBuff, CC_AES_BLOCK_SIZE_IN_BYTES, &inBuffInfo, in ccm_init()
313 rc = SetDataBuffersInfo(context->tempBuff, CC_AES_BLOCK_SIZE_IN_BYTES, in ccm_ass_data()
332 rc = SetDataBuffersInfo(pAssocData, assocDataSize, &inBuffInfo, NULL, 0, in ccm_ass_data()
387 rc = SetDataBuffersInfo(pTextDataIn, textDataSize, &inBuffInfo, in ccm_text_data()
441 rc = SetDataBuffersInfo(pTextDataOut, textDataSize, &inBuffInfo, NULL, in ccm_text_data()
497 rc = SetDataBuffersInfo( in ccm_finish()
521 rc = SetDataBuffersInfo(tempBuff, CC_AES_BLOCK_SIZE_IN_BYTES, in ccm_finish()
811 rc = SetDataBuffersInfo(tempBuff, CC_AES_BLOCK_SIZE_IN_BYTES, &inBuffInfo, in cc3xx_ccm_set_nonce()
Dcc3xx_internal_gcm.c94 rc = SetDataBuffersInfo((uint8_t *)(context->tempBuf), in gcm_calc_h()
229 rc = SetDataBuffersInfo(pIv, iv_size, &inBuffInfo, NULL, 0, in gcm_process_j0()
254 rc = SetDataBuffersInfo((uint8_t *)(context->tempBuf), in gcm_process_j0()
308 rc = SetDataBuffersInfo(pAad, aadSize, &inBuffInfo, NULL, 0, in gcm_process_aad()
345 rc = SetDataBuffersInfo(pTextDataIn, length, &inBuffInfo, in gcm_process_cipher()
379 rc = SetDataBuffersInfo((uint8_t *)(context->tempBuf), in gcm_process_lenA_lenC()
418 rc = SetDataBuffersInfo((uint8_t *)(context->tempBuf), in gcm_finish()
Dcc3xx_psa_hash.c72 uint32_t rc = SetDataBuffersInfo((uint8_t *)localPrevDataIn, in hash_update()
94 uint32_t rc = SetDataBuffersInfo(pDataIn, bytesToAdd, &inBuffInfo, in hash_update()
259 drvRc = SetDataBuffersInfo((uint8_t *)localPrevDataIn, dataInSize, in cc3xx_hash_finish()
Dcc3xx_internal_aes.c139 drvRet = SetDataBuffersInfo(input, length, &inBuffInfo, in cc3xx_aes_crypt()
Dcc3xx_psa_mac.c156 drvError_t ret = SetDataBuffersInfo( in cmac_update()
182 drvError_t ret = SetDataBuffersInfo(input, main_chunk_in_bytes, in cmac_update()
227 ret = SetDataBuffersInfo((const uint8_t *)&(cmac_ctx)->unprocessed_data, in cmac_finish()
Dcc3xx_internal_chacha20.c30 drvRc = SetDataBuffersInfo(input, size, &inBuffInfo, in chacha_block()
/trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/driver/
Ddriver_common.c17 drvError_t SetDataBuffersInfo(const uint8_t *pDataIn, size_t dataInSize, CCBuffInfo_t *pInputBuffIn… in SetDataBuffersInfo() function
Ddriver_defs.h383 drvError_t SetDataBuffersInfo(const uint8_t *pDataIn, size_t dataInSize, CCBuffInfo_t *pInputBuffIn…
/trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/host/src/cc3x_productionlib/common/
Dprod_crypto_driver.c194 error = SetDataBuffersInfo((uint8_t*)pDataIn, dataInSize, &inBuffInfo, in CC_PROD_AesProcess()
258 drvRc = SetDataBuffersInfo((uint8_t*)dataIn, dataInSize, &inBuffInfo, in CC_PROD_KeyDerivation()
/trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/host/src/cc3x_lib/
Dcc_util_cmac.c171 rc = SetDataBuffersInfo(pDataIn, dataInSize, &inBuffInfo, in UtilCmacDeriveKey()