Skip to content

Commit 78bb6ea

Browse files
committed
Rename PSA_ECC_CURVE_SECP_R1 macro
In mbedtls 3.0.0, the ECC Family Macros are renamed according to PSA Spec. This commit updates the ECC macro used. Signed-off-by: Gowtham Suresh Kumar <[email protected]>
1 parent 58c12b6 commit 78bb6ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/c-tests/main.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ int main()
5353
PSA_KEY_LIFETIME_FROM_PERSISTENCE_AND_LOCATION(PSA_KEY_PERSISTENCE_DEFAULT, (psa_key_location_t)0x000001));
5454
psa_set_key_usage_flags(&key_pair_attributes, PSA_KEY_USAGE_SIGN_HASH | PSA_KEY_USAGE_VERIFY_HASH);
5555
psa_set_key_algorithm(&key_pair_attributes, alg);
56-
psa_set_key_type(&key_pair_attributes, PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_CURVE_SECP_R1));
56+
psa_set_key_type(&key_pair_attributes, PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_SECP_R1));
5757
psa_set_key_bits(&key_pair_attributes, 256U);
5858

5959
status = psa_generate_key(&key_pair_attributes, &key_pair_handle);

0 commit comments

Comments
 (0)