Merge pull request #7906 from yanrayw/add-pake_guards_psa_crypto

PSA: add guards for PAKE getter functions
This commit is contained in:
Tom Cosgrove 2023-07-24 15:59:28 +01:00 committed by GitHub
commit 17526a0d16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7646,6 +7646,7 @@ exit:
return status;
}
#if defined(PSA_WANT_ALG_SOME_PAKE)
psa_status_t psa_crypto_driver_pake_get_password_len(
const psa_crypto_driver_pake_inputs_t *inputs,
size_t *password_len)
@ -7752,7 +7753,6 @@ psa_status_t psa_crypto_driver_pake_get_cipher_suite(
return PSA_SUCCESS;
}
#if defined(PSA_WANT_ALG_SOME_PAKE)
psa_status_t psa_pake_setup(
psa_pake_operation_t *operation,
const psa_pake_cipher_suite_t *cipher_suite)