Home
last modified time | relevance | path

Searched defs:priv_key (Results 1 – 25 of 63) sorted by relevance

123

/freebsd/crypto/libecc/include/libecc/sig/
H A Dec_key.h75 #define EC_PRIV_KEY_EXPORT_SIZE(priv_key) \ argument
82 #define EC_PRIV_KEY_EXPORT_SIZE(priv_key) \ argument
92 #define EC_STRUCTURED_PRIV_KEY_EXPORT_SIZE(priv_key) \ argument
175 ec_priv_key priv_key; member
/freebsd/crypto/openssl/crypto/dsa/
H A Ddsa_key.c44 const BIGNUM *priv_key, BIGNUM *pub_key) in ossl_dsa_generate_public_key()
66 BIGNUM *pub_key = NULL, *priv_key = NULL; in dsa_keygen() local
H A Ddsa_lib.c49 BIGNUM *pub_key = NULL, *priv_key = NULL; in DSA_dup_DH() local
306 const BIGNUM **pub_key, const BIGNUM **priv_key) in DSA_get0_key()
314 int DSA_set0_key(DSA *d, BIGNUM *pub_key, BIGNUM *priv_key) in DSA_set0_key()
H A Ddsa_check.c57 ossl_dsa_check_priv_key(const DSA * dsa,const BIGNUM * priv_key,int * ret) ossl_dsa_check_priv_key() argument
H A Ddsa_backend.c34 BIGNUM *priv_key = NULL, *pub_key = NULL; in ossl_dsa_key_fromdata() local
H A Ddsa_ameth.c276 const BIGNUM *priv_key, *pub_key; in do_dsa_print() local
437 const BIGNUM *priv_key = DSA_get0_priv_key(dsa); in dsa_pkey_export_to() local
/freebsd/crypto/libecc/src/sig/
H A Dec_key.c56 int ec_priv_key_import_from_buf(ec_priv_key *priv_key, in ec_priv_key_import_from_buf()
80 int ec_priv_key_export_to_buf(const ec_priv_key *priv_key, u8 *priv_key_buf, in ec_priv_key_export_to_buf()
291 const u8 *priv_key, u8 priv_key_len, in ec_key_pair_import_from_priv_key_buf()
312 int ec_structured_priv_key_import_from_buf(ec_priv_key *priv_key, in ec_structured_priv_key_import_from_buf()
358 int ec_structured_priv_key_export_to_buf(const ec_priv_key *priv_key, in ec_structured_priv_key_export_to_buf()
H A Decsdsa_common.c146 const ec_priv_key *priv_key; in __ecsdsa_sign_init() local
275 const ec_priv_key *priv_key; in __ecsdsa_sign_finalize() local
H A Deddsa.c614 int eddsa_derive_priv_key(ec_priv_key *priv_key) in eddsa_derive_priv_key()
697 int eddsa_gen_priv_key(ec_priv_key *priv_key) in eddsa_gen_priv_key()
740 int eddsa_import_priv_key(ec_priv_key *priv_key, const u8 *buf, u16 buflen, in eddsa_import_priv_key()
1226 const ec_priv_key *priv_key; local
1577 const ec_priv_key *priv_key; local
H A Dsm2.c37 int sm2_gen_priv_key(ec_priv_key *priv_key) in sm2_gen_priv_key()
312 const ec_priv_key *priv_key; in _sm2_sign_finalize() local
/freebsd/crypto/libecc/src/ecdh/
H A Dx25519_448.c304 ATTRIBUTE_WARN_UNUSED_RET static int x25519_448_gen_priv_key(u8 *priv_key, u8 len) in x25519_448_gen_priv_key()
319 ATTRIBUTE_WARN_UNUSED_RET static int x25519_448_init_pub_key(const u8 *priv_key, u8 *pub_key, u8 le… in x25519_448_init_pub_key()
359 ATTRIBUTE_WARN_UNUSED_RET static int x25519_448_derive_secret(const u8 *priv_key, const u8 *peer_pu… in x25519_448_derive_secret()
/freebsd/crypto/openssl/crypto/sm2/
H A Dsm2_key.c27 const BIGNUM *priv_key = NULL, *order = NULL; in ossl_sm2_key_private_check() local
/freebsd/crypto/openssl/providers/implementations/include/prov/
H A Dmacsignature.h19 unsigned char *priv_key; member
/freebsd/crypto/openssl/crypto/ec/
H A Decdh_ossl.c55 const BIGNUM *priv_key; in ossl_ecdh_simple_compute_key() local
H A Decdsa_ossl.c99 const BIGNUM *priv_key; in ecdsa_sign_setup() local
224 const BIGNUM *priv_key; in ossl_ecdsa_simple_sign_sig() local
H A Dec_kmeth.c206 const BIGNUM *priv_key), in EC_KEY_METHOD_set_init()
273 const BIGNUM *priv_key), in EC_KEY_METHOD_get_init()
/freebsd/crypto/openssl/crypto/dh/
H A Ddh_key.c226 const BIGNUM *priv_key, BIGNUM *pub_key) in ossl_dh_generate_public_key()
269 BIGNUM *pub_key = NULL, *priv_key = NULL; in generate_key() local
H A Ddh_lib.c255 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key) in DH_get0_key()
263 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key) in DH_set0_key()
H A Ddh_check.c278 int ossl_dh_check_priv_key(const DH *dh, const BIGNUM *priv_key, int *ret) in ossl_dh_check_priv_key()
H A Ddh_local.h27 BIGNUM *priv_key; /* x */ member
/freebsd/crypto/openssl/providers/implementations/encode_decode/
H A Dencode_key2text.c221 const BIGNUM *priv_key = NULL, *pub_key = NULL; in dh_to_text() local
297 const BIGNUM *priv_key = NULL, *pub_key = NULL; in dsa_to_text() local
519 const BIGNUM *priv_key = EC_KEY_get0_private_key(ec); in ec_to_text() local
/freebsd/crypto/libecc/src/wycheproof_tests/
H A Dlibecc_wycheproof.c172 ec_priv_key priv_key; in check_wycheproof_eddsa() local
558 ec_priv_key priv_key; in check_wycheproof_ecdh() local
/freebsd/crypto/openssh/regress/unittests/sshkey/
H A Dcommon.c155 const BIGNUM *priv_key = NULL; in dsa_priv_key() local
/freebsd/crypto/openssl/demos/signature/
H A DEVP_Signature_demo.c78 EVP_PKEY *priv_key = NULL; in demo_sign() local
/freebsd/crypto/openssl/apps/
H A Dtestdsa.h219 BIGNUM *priv_key, *pub_key, *p, *q, *g; in get_dsa() local

123