Searched refs:psaToOtError (Results 1 – 1 of 1) sorted by relevance
22 static otError psaToOtError(psa_status_t aStatus) in psaToOtError() function191 return psaToOtError(status); in otPlatCryptoImportKey()201 return psaToOtError(psa_export_key(aKeyRef, aBuffer, aBufferLen, aKeyLen)); in otPlatCryptoExportKey()206 return psaToOtError(psa_destroy_key(aKeyRef)); in otPlatCryptoDestroyKey()244 return psaToOtError(psa_mac_abort(operation)); in otPlatCryptoHmacSha256Deinit()259 return psaToOtError(status); in otPlatCryptoHmacSha256Start()273 return psaToOtError(psa_mac_update(operation, (const uint8_t *)aBuf, aBufLength)); in otPlatCryptoHmacSha256Update()287 return psaToOtError(psa_mac_sign_finish(operation, aBuf, aBufLength, &mac_length)); in otPlatCryptoHmacSha256Finish()333 return psaToOtError(status); in otPlatCryptoAesEncrypt()365 return psaToOtError(psa_hash_abort(operation)); in otPlatCryptoSha256Deinit()[all …]