Home
last modified time | relevance | path

Searched refs:drvRet (Results 1 – 5 of 5) sorted by relevance

/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/cc3x_sym/driver/
Ddriver_common.c20 drvError_t drvRet = CC_OK; in SetDataBuffersInfo() local
23 drvRet = CC_PalDataBufferAttrGet(pDataIn, dataInSize, INPUT_DATA_BUFFER, &buffNs); in SetDataBuffersInfo()
24 if (drvRet != CC_OK){ in SetDataBuffersInfo()
33 drvRet = CC_PalDataBufferAttrGet(pDataOut, dataOutSize, OUTPUT_DATA_BUFFER, &buffNs); in SetDataBuffersInfo()
34 if (drvRet != CC_OK){ in SetDataBuffersInfo()
43 return drvRet; in SetDataBuffersInfo()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/
Daes_alt.c166 drvError_t drvRet; in mbedtls_aes_crypt_ecb() local
193 drvRet = SetDataBuffersInfo(input, AES_BLOCK_SIZE, &inBuffInfo, in mbedtls_aes_crypt_ecb()
195 if (drvRet != 0) { in mbedtls_aes_crypt_ecb()
200 drvRet = ProcessAesDrv(aesCtx, &inBuffInfo, &outBuffInfo, AES_BLOCK_SIZE); in mbedtls_aes_crypt_ecb()
202 if (drvRet != AES_DRV_OK) in mbedtls_aes_crypt_ecb()
204 CC_PAL_LOG_ERR("ecb crypt failed with error code %d\n", drvRet); in mbedtls_aes_crypt_ecb()
223 drvError_t drvRet; in mbedtls_aes_crypt_cbc() local
263 drvRet = SetDataBuffersInfo(input, length, &inBuffInfo, in mbedtls_aes_crypt_cbc()
265 if (drvRet != 0) { in mbedtls_aes_crypt_cbc()
270 drvRet = ProcessAesDrv(aesCtx, &inBuffInfo, &outBuffInfo, length); in mbedtls_aes_crypt_cbc()
[all …]
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/
Dcc3xx_internal_aes.c115 drvError_t drvRet; in cc3xx_aes_crypt() local
139 drvRet = SetDataBuffersInfo(input, length, &inBuffInfo, in cc3xx_aes_crypt()
141 if (drvRet != 0) { in cc3xx_aes_crypt()
146 drvRet = ProcessAesDrv(ctx, &inBuffInfo, &outBuffInfo, length); in cc3xx_aes_crypt()
147 if (drvRet != AES_DRV_OK) { in cc3xx_aes_crypt()
148 CC_PAL_LOG_ERR("cc3xx_aes_crypt failed: %d", drvRet); in cc3xx_aes_crypt()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/host/src/cc3x_sbromlib/
Dbsv_aes_driver.c224 drvError_t drvRet = CC_OK; in ProcessBsvAes() local
258drvRet = CC_PalDataBufferAttrGet((uint8_t*)outputDataAddr, dataSize, OUTPUT_DATA_BUFFER, &buffNs); in ProcessBsvAes()
259 if (drvRet != CC_OK){ in ProcessBsvAes()
292drvRet = CC_PalDataBufferAttrGet((uint8_t*)inputDataAddr, dataSize, INPUT_DATA_BUFFER, &buffNs); in ProcessBsvAes()
293 if (drvRet != CC_OK){ in ProcessBsvAes()
Dbsv_hash_driver.c106 drvError_t drvRet = CC_OK; in ProcessBsvHash() local
115drvRet = CC_PalDataBufferAttrGet((uint8_t*)inputDataAddr, dataInSize, INPUT_DATA_BUFFER, &buffNs); in ProcessBsvHash()
116 if (drvRet != CC_OK){ in ProcessBsvHash()