Use non-deterministic ecdsa algorithm for verify_hash/message tests
Signed-off-by: gabor-mezei-arm <gabor.mezei@arm.com>
This commit is contained in:
parent
474a35f635
commit
4fabc5666b
1 changed files with 4 additions and 4 deletions
|
@ -65,7 +65,7 @@ exit:
|
|||
}
|
||||
/* END_CASE */
|
||||
|
||||
/* BEGIN_CASE depends_on:MBEDTLS_ECDSA_C:MBEDTLS_ECDSA_DETERMINISTIC:MBEDTLS_ECP_DP_SECP256R1_ENABLED:MBEDTLS_SHA256_C */
|
||||
/* BEGIN_CASE depends_on:PSA_WANT_ALG_ECDSA:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR:PSA_WANT_ECC_SECP_R1_256:PSA_WANT_ALG_SHA_256 */
|
||||
void ecdsa_verify_hash( int force_status_arg,
|
||||
int register_public_key,
|
||||
data_t *key_input,
|
||||
|
@ -77,7 +77,7 @@ void ecdsa_verify_hash( int force_status_arg,
|
|||
psa_status_t expected_status = expected_status_arg;
|
||||
mbedtls_svc_key_id_t key = MBEDTLS_SVC_KEY_ID_INIT;
|
||||
psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT;
|
||||
psa_algorithm_t alg = PSA_ALG_DETERMINISTIC_ECDSA( PSA_ALG_SHA_256 );
|
||||
psa_algorithm_t alg = PSA_ALG_ECDSA( PSA_ALG_SHA_256 );
|
||||
psa_status_t actual_status;
|
||||
mbedtls_test_driver_signature_verify_hooks =
|
||||
mbedtls_test_driver_signature_hooks_init();
|
||||
|
@ -181,7 +181,7 @@ exit:
|
|||
}
|
||||
/* END_CASE */
|
||||
|
||||
/* BEGIN_CASE depends_on:MBEDTLS_ECDSA_C:MBEDTLS_ECDSA_DETERMINISTIC:MBEDTLS_ECP_DP_SECP256R1_ENABLED:MBEDTLS_SHA256_C */
|
||||
/* BEGIN_CASE depends_on:PSA_WANT_ALG_ECDSA:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR:PSA_WANT_ECC_SECP_R1_256:PSA_WANT_ALG_SHA_256 */
|
||||
void ecdsa_verify_message( int force_status_arg,
|
||||
int register_public_key,
|
||||
data_t *key_input,
|
||||
|
@ -193,7 +193,7 @@ void ecdsa_verify_message( int force_status_arg,
|
|||
psa_status_t expected_status = expected_status_arg;
|
||||
mbedtls_svc_key_id_t key = MBEDTLS_SVC_KEY_ID_INIT;
|
||||
psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT;
|
||||
psa_algorithm_t alg = PSA_ALG_DETERMINISTIC_ECDSA( PSA_ALG_SHA_256 );
|
||||
psa_algorithm_t alg = PSA_ALG_ECDSA( PSA_ALG_SHA_256 );
|
||||
psa_status_t actual_status;
|
||||
mbedtls_test_driver_signature_verify_hooks =
|
||||
mbedtls_test_driver_signature_hooks_init();
|
||||
|
|
Loading…
Reference in a new issue