Home
last modified time | relevance | path

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

/freebsd-11-stable/crypto/openssl/crypto/ec/
HDec_ameth.c76 static int eckey_param2type(int *pptype, void **ppval, EC_KEY *ec_key) in eckey_param2type() argument
80 if (ec_key == NULL || (group = EC_KEY_get0_group(ec_key)) == NULL) { in eckey_param2type()
96 pstr->length = i2d_ECParameters(ec_key, &pstr->data); in eckey_param2type()
110 EC_KEY *ec_key = pkey->pkey.ec; in eckey_pub_encode() local
116 if (!eckey_param2type(&ptype, &pval, ec_key)) { in eckey_pub_encode()
120 penclen = i2o_ECPublicKey(ec_key, NULL); in eckey_pub_encode()
127 penclen = i2o_ECPublicKey(ec_key, &p); in eckey_pub_encode()
307 EC_KEY ec_key = *(pkey->pkey.ec); in eckey_priv_encode() local
313 if (!eckey_param2type(&ptype, &pval, &ec_key)) { in eckey_priv_encode()
324 old_flags = EC_KEY_get_enc_flags(&ec_key); in eckey_priv_encode()
[all …]
HDec_pmeth.c311 EC_KEY *ec_key = ctx->pkey->pkey.ec; in pkey_ec_ctrl() local
312 return EC_KEY_get_flags(ec_key) & EC_FLAG_COFACTOR_ECDH ? 1 : in pkey_ec_ctrl()
319 EC_KEY *ec_key = ctx->pkey->pkey.ec; in pkey_ec_ctrl() local
320 if (!ec_key->group) in pkey_ec_ctrl()
323 if (BN_is_one(&ec_key->group->cofactor)) in pkey_ec_ctrl()
326 dctx->co_key = EC_KEY_dup(ec_key); in pkey_ec_ctrl()
HDMakefile23 ec_err.c ec_curve.c ec_check.c ec_print.c ec_asn1.c ec_key.c\
29 ec_err.o ec_curve.o ec_check.o ec_print.o ec_asn1.o ec_key.o\
175 ec_key.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
176 ec_key.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
177 ec_key.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
178 ec_key.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
179 ec_key.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
180 ec_key.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
181 ec_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
182 ec_key.o: ../../include/openssl/symhacks.h ec_key.c ec_lcl.h
HDec_key.c203 EC_KEY *EC_KEY_dup(const EC_KEY *ec_key) in EC_KEY_dup() argument
208 if (EC_KEY_copy(ret, ec_key) == NULL) { in EC_KEY_dup()
/freebsd-11-stable/crypto/openssl/doc/apps/
HDecparam.pod158 openssl ecparam -out ec_key.pem -name prime192v1 -genkey
/freebsd-11-stable/crypto/openssl/doc/crypto/
HDEC_KEY_new.pod53 EC_KEY_dup creates a new EC_KEY object and copies B<ec_key> into it.
/freebsd-11-stable/secure/lib/libcrypto/
HDMakefile173 ec_curve.c ec_cvt.c ec_err.c ec_key.c ec_lib.c ec_mult.c ec_oct.c \