Home
last modified time | relevance | path

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

/Zephyr-latest/modules/openthread/platform/
Dcrypto_psa.c394 otError otPlatCryptoSha256Finish(otCryptoContext *aContext, uint8_t *aHash, uint16_t aHashSize) in otPlatCryptoSha256Finish() argument
399 if (aHash == NULL || !checkContext(aContext, sizeof(psa_hash_operation_t))) { in otPlatCryptoSha256Finish()
405 return psaToOtError(psa_hash_finish(operation, aHash, aHashSize, &hash_size)); in otPlatCryptoSha256Finish()
456 const otPlatCryptoSha256Hash *aHash, in otPlatCryptoEcdsaSign() argument
474 status = psa_sign_hash(key_id, PSA_ALG_DETERMINISTIC_ECDSA(PSA_ALG_SHA_256), aHash->m8, in otPlatCryptoEcdsaSign()
489 const otPlatCryptoSha256Hash *aHash, in otPlatCryptoEcdsaVerify() argument
513 status = psa_verify_hash(key_id, PSA_ALG_DETERMINISTIC_ECDSA(PSA_ALG_SHA_256), aHash->m8, in otPlatCryptoEcdsaVerify()
528 const otPlatCryptoSha256Hash *aHash, in otPlatCryptoEcdsaSignUsingKeyRef() argument
534 status = psa_sign_hash(aKeyRef, PSA_ALG_DETERMINISTIC_ECDSA(PSA_ALG_SHA_256), aHash->m8, in otPlatCryptoEcdsaSignUsingKeyRef()
547 const otPlatCryptoSha256Hash *aHash, in otPlatCryptoEcdsaVerifyUsingKeyRef() argument
[all …]