Home
last modified time | relevance | path

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

/mbedtls-3.6.0/library/
Dpk_wrap.c719 psa_ecc_family_t curve, size_t curve_bits, in ecdsa_verify_psa() argument
727 size_t signature_len = PSA_ECDSA_SIGNATURE_SIZE(curve_bits); in ecdsa_verify_psa()
792 size_t curve_bits; in ecdsa_opaque_verify_wrap() local
800 curve_bits = psa_get_key_bits(&key_attr); in ecdsa_opaque_verify_wrap()
808 return ecdsa_verify_psa(key, key_len, curve, curve_bits, in ecdsa_opaque_verify_wrap()
820 size_t curve_bits = pk->ec_bits; in ecdsa_verify_wrap() local
822 return ecdsa_verify_psa(pk->pub_raw, pk->pub_raw_len, curve, curve_bits, in ecdsa_verify_wrap()
836 size_t curve_bits; in ecdsa_verify_wrap() local
837 psa_ecc_family_t curve = mbedtls_ecc_group_to_psa(ctx->grp.id, &curve_bits); in ecdsa_verify_wrap()
846 return ecdsa_verify_psa(key, key_len, curve, curve_bits, in ecdsa_verify_wrap()
[all …]
Dpsa_crypto_ecp.c36 psa_key_type_t type, size_t curve_bits, in mbedtls_psa_ecp_load_representation() argument
44 int explicit_bits = (curve_bits != 0); in mbedtls_psa_ecp_load_representation()
68 if (curve_bytes != PSA_BITS_TO_BYTES(curve_bits)) { in mbedtls_psa_ecp_load_representation()
75 curve_bits = PSA_BYTES_TO_BITS(curve_bytes); in mbedtls_psa_ecp_load_representation()
87 curve_bits, !explicit_bits); in mbedtls_psa_ecp_load_representation()
Dpsa_crypto_ecp.h34 size_t curve_bits,
Dpkparse.c542 size_t curve_bits; in pk_derive_public_key() local
543 psa_ecc_family_t curve = mbedtls_ecc_group_to_psa(eck->grp.id, &curve_bits); in pk_derive_public_key()
/mbedtls-3.6.0/tests/suites/
Dtest_suite_ecp.function1285 size_t curve_bits;
1300 curve_bits = 192;
1307 curve_bits = 224;
1314 curve_bits = 256;
1321 curve_bits = 384;
1328 curve_bits = 521;
1335 curve_bits = 192;
1342 curve_bits = 224;
1349 curve_bits = 256;
1356 curve_bits = 255;
[all …]
Dtest_suite_pk.function32 size_t curve_bits;
33 psa_ecc_family_t curve = mbedtls_ecc_group_to_psa(grp_id, &curve_bits);
41 psa_set_key_bits(&key_attr, curve_bits);
64 pk->ec_bits = curve_bits;
/mbedtls-3.6.0/include/psa/
Dcrypto_sizes.h608 #define PSA_ECDSA_SIGNATURE_SIZE(curve_bits) \ argument
609 (PSA_BITS_TO_BYTES(curve_bits) * 2u)