Home
last modified time | relevance | path

Searched defs:pub_key (Results 1 – 25 of 66) sorted by relevance

123

/freebsd/crypto/openssl/crypto/dsa/
H A Ddsa_check.c66 int ossl_dsa_check_pub_key(const DSA *dsa, const BIGNUM *pub_key, int *ret) in ossl_dsa_check_pub_key()
80 int ossl_dsa_check_pub_key_partial(const DSA *dsa, const BIGNUM *pub_key, int *ret) in ossl_dsa_check_pub_key_partial()
107 BIGNUM *pub_key = NULL; in ossl_dsa_check_pairwise() local
H A Ddsa_key.c43 const BIGNUM *priv_key, BIGNUM *pub_key) in ossl_dsa_generate_public_key()
151 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
310 const BIGNUM **pub_key, const BIGNUM **priv_key) in DSA_get0_key()
318 int DSA_set0_key(DSA *d, BIGNUM *pub_key, BIGNUM *priv_key) in DSA_set0_key()
H A Ddsa_backend.c34 BIGNUM *priv_key = NULL, *pub_key = NULL; in ossl_dsa_key_fromdata() local
/freebsd/crypto/openssl/crypto/dh/
H A Ddh_check.c230 int DH_check_pub_key_ex(const DH *dh, const BIGNUM *pub_key) in DH_check_pub_key_ex()
250 int DH_check_pub_key(const DH *dh, const BIGNUM *pub_key, int *ret) in DH_check_pub_key()
272 int ossl_dh_check_pub_key_partial(const DH *dh, const BIGNUM *pub_key, int *ret) in ossl_dh_check_pub_key_partial()
336 BIGNUM *pub_key = NULL; in ossl_dh_check_pairwise() local
H A Ddh_key.c40 int ossl_dh_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh) in ossl_dh_compute_key()
114 int DH_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh) in DH_compute_key()
144 int DH_compute_key_padded(unsigned char *key, const BIGNUM *pub_key, DH *dh) in DH_compute_key_padded()
230 const BIGNUM *priv_key, BIGNUM *pub_key) in ossl_dh_generate_public_key()
273 BIGNUM *pub_key = NULL, *priv_key = NULL; in generate_key() local
H A Ddh_lib.c259 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key) in DH_get0_key()
267 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key) in DH_set0_key()
H A Ddh_ameth.c118 ASN1_INTEGER *pub_key = NULL; in dh_pub_encode() local
248 BIGNUM *priv_key, *pub_key; in do_dh_print() local
460 const BIGNUM *pub_key = DH_get0_pub_key(dh); in dh_pkey_export_to() local
/freebsd/crypto/openssl/crypto/ffc/
H A Dffc_key_validate.c20 const BIGNUM *pub_key, int *ret) in ossl_ffc_validate_public_key_partial()
63 const BIGNUM *pub_key, int *ret) in ossl_ffc_validate_public_key()
/freebsd/crypto/openssl/crypto/ec/
H A Decdh_ossl.c29 const EC_POINT *pub_key, const EC_KEY *ecdh) in ossl_ecdh_compute_key()
50 const EC_POINT *pub_key, const EC_KEY *ecdh) in ossl_ecdh_simple_compute_key()
H A Dec_kmeth.c149 int ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, in ECDH_compute_key()
203 const EC_POINT *pub_key)) in EC_KEY_METHOD_set_init()
222 const EC_POINT *pub_key, in EC_KEY_METHOD_set_compute_key()
270 const EC_POINT *pub_key)) in EC_KEY_METHOD_get_init()
296 const EC_POINT *pub_key, in EC_KEY_METHOD_get_compute_key()
/freebsd/crypto/libecc/src/sig/
H A Dec_key.c139 int ec_pub_key_import_from_buf(ec_pub_key *pub_key, const ec_params *params, in ec_pub_key_import_from_buf()
181 int ec_pub_key_import_from_aff_buf(ec_pub_key *pub_key, const ec_params *params, in ec_pub_key_import_from_aff_buf()
220 int ec_pub_key_export_to_buf(const ec_pub_key *pub_key, u8 *pub_key_buf, in ec_pub_key_export_to_buf()
236 int ec_pub_key_export_to_aff_buf(const ec_pub_key *pub_key, u8 *pub_key_buf, in ec_pub_key_export_to_aff_buf()
409 int ec_structured_pub_key_import_from_buf(ec_pub_key *pub_key, in ec_structured_pub_key_import_from_buf()
457 int ec_structured_pub_key_export_to_buf(const ec_pub_key *pub_key, in ec_structured_pub_key_export_to_buf()
H A Deckcdsa.c205 const ec_pub_key *pub_key; in _eckcdsa_sign_init() local
552 const ec_pub_key *pub_key; in _eckcdsa_verify_init() local
701 const ec_pub_key *pub_key; in _eckcdsa_verify_finalize() local
H A Deddsa.c865 int eddsa_import_pub_key(ec_pub_key *pub_key, const u8 *buf, u16 buflen,
1227 const ec_pub_key *pub_key; local
1578 const ec_pub_key *pub_key; local
1927 const ec_pub_key *pub_key; local
2294 const ec_pub_key *pub_key, *pub_key0; local
2596 const ec_pub_key *pub_key, *pub_key0; local
H A Dsig_algs.c72 int init_pubkey_from_privkey(ec_pub_key *pub_key, ec_priv_key *priv_key) in init_pubkey_from_privkey()
511 int ec_verify_init(struct ec_verify_context *ctx, const ec_pub_key *pub_key, in ec_verify_init()
638 int generic_ec_verify(const u8 *sig, u8 siglen, const ec_pub_key *pub_key, in generic_ec_verify()
655 int ec_verify(const u8 *sig, u8 siglen, const ec_pub_key *pub_key, in ec_verify()
/freebsd/crypto/libecc/include/libecc/sig/
H A Dec_key.h135 #define EC_PUB_KEY_EXPORT_SIZE(pub_key) \ argument
142 #define EC_STRUCTURED_PUB_KEY_EXPORT_SIZE(pub_key) \ argument
176 ec_pub_key pub_key; member
/freebsd/crypto/openssh/
H A Dkexdh.c117 const BIGNUM *pub_key; in kex_dh_keypair() local
146 const BIGNUM *pub_key; in kex_dh_enc() local
H A Dkexgexc.c99 const BIGNUM *pub_key; in input_kex_dh_gex_group() local
149 const BIGNUM *pub_key, *dh_p, *dh_g; in input_kex_dh_gex_reply() local
H A Dkexgexs.c131 const BIGNUM *pub_key, *dh_p, *dh_g; in input_kex_dh_gex_init() local
/freebsd/crypto/openssl/util/perl/TLSProxy/
H A DServerKeyExchange.pm141 sub pub_key subroutine
/freebsd/crypto/libecc/src/wycheproof_tests/
H A Dlibecc_wycheproof.c86 ec_pub_key pub_key; in check_wycheproof_ecdsa() local
170 ec_pub_key pub_key; in check_wycheproof_eddsa() local
/freebsd/crypto/openssh/regress/unittests/sshkey/
H A Dcommon.c144 const BIGNUM *pub_key = NULL; in dsa_pub_key() local
/freebsd/crypto/libecc/src/tests/
H A Dec_self_tests_core.c173 …N_UNUSED_RET static int random_split_ec_verify(const u8 *sig, u8 siglen, const ec_pub_key *pub_key, in random_split_ec_verify()
669 ATTRIBUTE_WARN_UNUSED_RET static int ec_test_verify(u8 *sig, u8 siglen, const ec_pub_key *pub_key, in ec_test_verify()
1102 u8 pub_key[X25519_SIZE]; local
1146 u8 pub_key[X448_SIZE]; local
/freebsd/crypto/openssl/demos/signature/
H A DEVP_EC_Signature_demo.c156 EVP_PKEY *pub_key = NULL; in demo_verify() local
/freebsd/crypto/openssl/providers/implementations/encode_decode/
H A Dencode_key2text.c46 const BIGNUM *priv_key = NULL, *pub_key = NULL; in DEFINE_SPECIAL_STACK_OF_CONST() local
119 const BIGNUM *priv_key = NULL, *pub_key = NULL; in dsa_to_text() local

123