From 6f3c30e9dba90e135c1f8e6b420eb7e5c9f5fe05 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Mon, 27 May 2019 14:31:27 +0200 Subject: [PATCH] Merge follow-up: remove unused code from the development branch --- library/psa_crypto.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/library/psa_crypto.c b/library/psa_crypto.c index bfd3b5cf4..768410c99 100644 --- a/library/psa_crypto.c +++ b/library/psa_crypto.c @@ -3666,18 +3666,6 @@ psa_algorithm_t psa_key_policy_get_algorithm( const psa_key_policy_t *policy ) { return( policy->alg ); } - -void psa_key_policy_set_enrollment_algorithm( psa_key_policy_t *policy, - psa_algorithm_t alg2 ) -{ - policy->alg2 = alg2; -} - -psa_algorithm_t psa_key_policy_get_enrollment_algorithm( - const psa_key_policy_t *policy ) -{ - return( policy->alg2 ); -} #endif /* !defined(MBEDTLS_PSA_CRYPTO_SPM) */ psa_status_t psa_set_key_policy( psa_key_handle_t handle,