Home
last modified time | relevance | path

Searched refs:curve_type (Results 1 – 6 of 6) sorted by relevance

/freebsd/crypto/libecc/src/curves/
H A Dec_params.c30 ec_curve_type curve_type; in import_params() local
169 &curve_type); EG(ret, err); in import_params()
170 MUST_HAVE(curve_type != UNKNOWN_CURVE, ret, err); in import_params()
171 out_params->curve_type = curve_type; in import_params()
/freebsd/crypto/libecc/src/sig/
H A Dec_key.c366 ec_curve_type curve_type; in ec_structured_priv_key_export_to_buf() local
394 ret = ec_get_curve_type_by_name(curve_name, curve_name_len, &curve_type); EG(ret, err); in ec_structured_priv_key_export_to_buf()
395 priv_key_buf[2] = (u8)curve_type; in ec_structured_priv_key_export_to_buf()
464 ec_curve_type curve_type; in ec_structured_pub_key_export_to_buf() local
493 ret = ec_get_curve_type_by_name(curve_name, curve_name_len, &curve_type); EG(ret, err); in ec_structured_pub_key_export_to_buf()
494 pub_key_buf[2] = (u8)curve_type; in ec_structured_pub_key_export_to_buf()
H A Dsig_algs.c750 ec_curve_type curve_type; in ec_structured_sig_export_to_buf() local
771 ret = ec_get_curve_type_by_name(curve_name, curve_name_len, &curve_type); EG(ret, err); in ec_structured_sig_export_to_buf()
772 out_buf[2] = (u8)curve_type; in ec_structured_sig_export_to_buf()
H A Deddsa.c160 ec_curve_type curve_type) in eddsa_key_type_check_curve() argument
170 ret = (curve_type == WEI25519) ? 0 : -1; in eddsa_key_type_check_curve()
178 ret = (curve_type == WEI448) ? 0 : -1; in eddsa_key_type_check_curve()
197 in_priv->params->curve_type); in eddsa_priv_key_sanity_check()
210 in_pub->params->curve_type); in eddsa_pub_key_sanity_check()
/freebsd/crypto/libecc/include/libecc/curves/
H A Dec_params.h86 ec_curve_type curve_type; member
/freebsd/crypto/openssl/ssl/statem/
H A Dstatem_clnt.c2384 unsigned int curve_type, curve_id; in tls_process_ske_ecdhe() local
2391 if (!PACKET_get_1(pkt, &curve_type) || !PACKET_get_net_2(pkt, &curve_id)) { in tls_process_ske_ecdhe()
2399 if (curve_type != NAMED_CURVE_TYPE in tls_process_ske_ecdhe()