Searched refs:curve_nid (Results 1 - 6 of 6) sorted by relevance

/freebsd-current/crypto/openssl/crypto/ec/
H A Dec_backend.c293 int ret = 0, curve_nid, encoding_flag; local
326 curve_nid = EC_GROUP_get_curve_name(group);
333 if (tmpl == NULL || curve_nid == NID_undef)
337 if (curve_nid != NID_undef) {
339 const char *curve_name = OSSL_EC_curve_nid2name(curve_nid);
/freebsd-current/crypto/openssl/crypto/x509/
H A Dx509_cmp.c433 int curve_nid; local
442 curve_nid = OBJ_txt2nid(curve_name);
444 if (curve_nid == NID_secp384r1) { /* P-384 */
454 } else if (curve_nid == NID_X9_62_prime256v1) { /* P-256 */
/freebsd-current/crypto/openssl/providers/implementations/encode_decode/
H A Dencode_key2text.c474 int curve_nid = EC_GROUP_get_curve_name(group); local
477 if (curve_nid == NID_undef)
480 if (BIO_printf(out, "%s: %s\n", "ASN1 OID", OBJ_nid2sn(curve_nid)) <= 0)
483 curve_name = EC_curve_nid2nist(curve_nid);
H A Dencode_key2any.c671 int curve_nid; local
677 curve_nid = EC_GROUP_get_curve_name(group);
678 if (curve_nid != NID_undef) {
679 params = OBJ_nid2obj(curve_nid);
684 if (curve_nid != NID_undef
/freebsd-current/crypto/openssl/ssl/
H A Dt1_lib.c921 int curve_nid = ssl_get_EC_curve_nid(pkey); local
923 if (curve_nid == NID_undef)
925 return tls1_nid2group_id(curve_nid);
/freebsd-current/crypto/openssh/
H A Dsshkey.c1180 int r, type, curve_nid = -1; local
1193 if ((type = peek_type_nid(cp, space, &curve_nid)) == KEY_UNSPEC)
1233 if (key_type_is_ecdsa_variant(type) && curve_nid != k->ecdsa_nid) {

Completed in 240 milliseconds