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/ |
D | driver_common.c | 20 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/ |
D | aes_alt.c | 166 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/ |
D | cc3xx_internal_aes.c | 115 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/ |
D | bsv_aes_driver.c | 224 drvError_t drvRet = CC_OK; in ProcessBsvAes() local 258 … drvRet = CC_PalDataBufferAttrGet((uint8_t*)outputDataAddr, dataSize, OUTPUT_DATA_BUFFER, &buffNs); in ProcessBsvAes() 259 if (drvRet != CC_OK){ in ProcessBsvAes() 292 … drvRet = CC_PalDataBufferAttrGet((uint8_t*)inputDataAddr, dataSize, INPUT_DATA_BUFFER, &buffNs); in ProcessBsvAes() 293 if (drvRet != CC_OK){ in ProcessBsvAes()
|
D | bsv_hash_driver.c | 106 drvError_t drvRet = CC_OK; in ProcessBsvHash() local 115 … drvRet = CC_PalDataBufferAttrGet((uint8_t*)inputDataAddr, dataInSize, INPUT_DATA_BUFFER, &buffNs); in ProcessBsvHash() 116 if (drvRet != CC_OK){ in ProcessBsvHash()
|