Lines Matching refs:curve
202 …EAD with AES-GCM, signature with deterministic ECDSA using SHA-256 on the curve secp256r1 using a …
657 …ion](#rsa-mechanism-selection)”), elliptic curve cryptography (see “[ECC mechanism selection](#ell…
668 …nism selection](#rsa-mechanism-selection)”, “[Elliptic curve mechanism selection](#elliptic-curve-…
670 …nism selection](#rsa-mechanism-selection)”, “[Elliptic curve mechanism selection](#elliptic-curve-…
697 …nism selection](#rsa-mechanism-selection)”, “[Elliptic curve mechanism selection](#elliptic-curve-…
723 #### Elliptic curve mechanism selection
725 …KEY`, `MBEDTLS_PK_ECKEY_DH` and `MBEDTLS_PK_ECDSA` correspond to elliptic-curve key types in the P…
727 …curve)`](https://mbed-tls.readthedocs.io/projects/api/en/development/api/group/group__crypto__type…
729 …curve)`](https://mbed-tls.readthedocs.io/projects/api/en/development/api/group/group__crypto__type…
732 …curve is fully determined by a curve family identifier and the private key size in bits. You can u…
733 …9c83c095adfec7da99401cf81e164f99) converts from the legacy curve type identifier to PSA curve fami…
734 …_psa__tls__helpers_1ga6243eb619d5b2f5fe4667811adeb8a12) converts from PSA curve family and bit-siz…
736 The following table gives the correspondence between legacy and PSA elliptic curve designations.
738 | Mbed TLS legacy curve identifier | PSA curve family | Curve bit-size |
791 | ECC public key (Weierstrass curve) | Fixed-length uncompressed point |
792 | ECC public key (Montgomery curve) | Fixed-length public value |
839 #### Importing an elliptic curve key from ECP
841 This section explains how to use the `ecp.h` API to create an elliptic curve key in a format suitab…
845 …y. A future version of Mbed TLS [will provide a function to calculate the curve family](https://gi…
855 psa_ecc_curve_t curve = ...; // need to determine the curve family manually
857 psa_set_key_attributes(&attributes, PSA_KEY_TYPE_ECC_KEY_PAIR(curve));
876 psa_ecc_curve_t curve = ...; // need to determine the curve family manually
878 psa_set_key_attributes(&attributes, PSA_KEY_TYPE_ECC_PUBLIC_KEY(curve));
1091 …curve)`](https://mbed-tls.readthedocs.io/projects/api/en/development/api/group/group__crypto__type…
1121 * `mbedtls_ecp_group grp` for the curve;
1126 2. Call `mbedtls_ecp_group_load` on `grp` to select the curve.
1140 …ement](#diffie-hellman-key-pair-management)”, in particular selecting the curve with `psa_set_key_…
1151 …o be used with other protocols, on the side of the party that selects the curve or group and sends…
1155 2. Call `mbedtls_ecdh_setup` or `mbedtls_dhm_set_group` to select the curve or group.
1156 …key pair and obtain a TLS ServerKeyExchange message encoding the selected curve/group and our publ…
1167 3. Format a ServerKeyExchange message containing the curve/group selection and our public key.
1176 …e side of the party that receives a message indicating both the choice of curve or group, and the …
1178 …verKeyExchange message received from the peer, which encodes the selected curve/group and the peer…
1188 …verKeyExchange message received from the peer, which encodes the selected curve/group and the peer…
1189 …1. Decode the selected curve/group and use this to determine a PSA key type (`PSA_KEY_TYPE_ECC_KEY…
1221 ### Additional information about Elliptic-curve cryptography
1223 #### Information about a curve
1225 …curve by an `MBEDTLS_ECP_DP_xxx` value of type `mbedtls_ecp_group_id`. The PSA API identifies a cu…
1227 …_from_grp_id`) because they are not needed. All API elements identify the curve directly by its fa…
1237 …`mbedtls_ecp_curve_type` and the function `mbedtls_ecp_get_type`, but the curve family encodes the…
1241 …here is no equivalent of Mbed TLS's lookup based on the name used for the curve in TLS specificati…
1243 * Retrieving the parameters of a curve from the fields of an `mbedtls_ecp_group` structure.
1261 There is no PSA API for elliptic curve arithmetic as such, and therefore no equivalent of `mbedtls_…
1267 …dtls_ecdh_can_do` to query the capabilities of a curve at runtime. Check the documentation of each…
1271 #### No curve arithmetic
1277 * Elliptic curve arithmetic (`mbedtls_ecp_mul`, `mbedtls_ecp_muladd` and their restartable variants…
1321 …ormat of several functions. In particular, one of the messages embeds the curve identifier in the …