Home
last modified time | relevance | path

Searched defs:dh (Results 1 – 25 of 122) sorted by relevance

12345

/netbsd-src/crypto/external/bsd/openssl/dist/crypto/dh/
H A Ddh_lib.c32 int DH_set_method(DH *dh, const DH_METHOD *meth) in DH_set_method()
52 const DH_METHOD *ossl_dh_get_method(const DH *dh) in ossl_dh_get_method()
192 int DH_bits(const DH *dh) in DH_bits()
199 int DH_size(const DH *dh) in DH_size()
206 int DH_security_bits(const DH *dh) in DH_security_bits()
221 void DH_get0_pqg(const DH *dh, in DH_get0_pqg()
227 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g) in DH_set0_pqg()
243 long DH_get_length(const DH *dh) in DH_get_length()
248 int DH_set_length(DH *dh, long length) in DH_set_length()
255 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key) in DH_get0_key()
[all …]
H A Ddh_check.c28 int DH_check_params_ex(const DH *dh) in DH_check_params_ex()
48 int DH_check_params(const DH *dh, int *ret) in DH_check_params()
69 int DH_check_params(const DH *dh, int *ret) in DH_check_params()
111 int DH_check_ex(const DH *dh) in DH_check_ex()
141 int DH_check(const DH *dh, int *ret) in DH_check()
230 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()
278 int ossl_dh_check_priv_key(const DH *dh, const BIGNUM *priv_key, int *ret) in ossl_dh_check_priv_key()
332 int ossl_dh_check_pairwise(const DH *dh) in ossl_dh_check_pairwise()
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()
189 static int dh_bn_mod_exp(const DH *dh, BIGNUM *r, in dh_bn_mod_exp()
196 static int dh_init(DH *dh) in dh_init()
203 static int dh_finish(DH *dh) in dh_finish()
216 int DH_generate_key(DH *dh) in DH_generate_key()
225 int ossl_dh_generate_public_key(BN_CTX *ctx, const DH *dh, in ossl_dh_generate_public_key()
261 static int generate_key(DH *dh) in generate_key()
384 int ossl_dh_buf2key(DH *dh, const unsigned char *buf, size_t len) in ossl_dh_buf2key()
[all …]
H A Ddh_backend.c31 static int dh_ffc_params_fromdata(DH *dh, const OSSL_PARAM params[]) in dh_ffc_params_fromdata()
48 int ossl_dh_params_fromdata(DH *dh, const OSSL_PARAM params[]) in ossl_dh_params_fromdata()
66 int ossl_dh_key_fromdata(DH *dh, const OSSL_PARAM params[], int include_private) in ossl_dh_key_fromdata()
97 int ossl_dh_params_todata(DH *dh, OSSL_PARAM_BLD *bld, OSSL_PARAM params[]) in ossl_dh_params_todata()
109 int ossl_dh_key_todata(DH *dh, OSSL_PARAM_BLD *bld, OSSL_PARAM params[], in ossl_dh_key_todata()
129 int ossl_dh_is_foreign(const DH *dh) in ossl_dh_is_foreign()
145 DH *ossl_dh_dup(const DH *dh, int selection) in ossl_dh_dup()
198 DH *dh = NULL; in ossl_dh_key_from_pkcs8() local
H A Ddh_group_params.c29 DH *dh = ossl_dh_new_ex(libctx); in dh_param_init() local
56 void ossl_dh_cache_named_group(DH *dh) in ossl_dh_cache_named_group()
82 int ossl_dh_is_named_safe_prime_group(const DH *dh) in ossl_dh_is_named_safe_prime_group()
93 int DH_get_nid(const DH *dh) in DH_get_nid()
H A Ddh_ameth.c37 DH *dh = NULL; in d2i_dhp() local
70 DH *dh = NULL; in dh_pub_decode() local
113 DH *dh; in dh_pub_encode() local
167 DH *dh = ossl_dh_key_from_pkcs8(p8, NULL, NULL); in dh_priv_decode() local
230 DH *dh; in dh_param_decode() local
333 DH *DHparams_dup(const DH *dh) in DHparams_dup()
399 DH *dh; in dh_pkey_ctrl() local
430 DH *dh = pkey->pkey.dh; in dh_pkey_public_check() local
442 DH *dh = pkey->pkey.dh; in dh_pkey_param_check() local
456 DH *dh = from->pkey.dh; in dh_pkey_export_to() local
[all …]
H A Ddh_asn1.c38 DH *dh = (DH *)*pval; in dh_cb() local
97 DH *dh = NULL; in IMPLEMENT_ASN1_ENCODE_FUNCTIONS_fname() local
135 int i2d_DHxparams(const DH *dh, unsigned char **pp) in i2d_DHxparams()
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/dh/
H A Ddh_lib.c17 int DH_set_method(DH *dh, const DH_METHOD *meth) in DH_set_method()
152 int DH_bits(const DH *dh) in DH_bits()
157 int DH_size(const DH *dh) in DH_size()
162 int DH_security_bits(const DH *dh) in DH_security_bits()
175 void DH_get0_pqg(const DH *dh, in DH_get0_pqg()
186 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g) in DH_set0_pqg()
215 long DH_get_length(const DH *dh) in DH_get_length()
220 int DH_set_length(DH *dh, long length) in DH_set_length()
226 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key) in DH_get0_key()
234 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key) in DH_set0_key()
[all …]
H A Ddh_check.c23 int DH_check_params_ex(const DH *dh) in DH_check_params_ex()
38 int DH_check_params(const DH *dh, int *ret) in DH_check_params()
73 int DH_check_ex(const DH *dh) in DH_check_ex()
98 int DH_check(const DH *dh, int *ret) in DH_check()
163 int DH_check_pub_key_ex(const DH *dh, const BIGNUM *pub_key) in DH_check_pub_key_ex()
180 int DH_check_pub_key(const DH *dh, const BIGNUM *pub_key, int *ret) in DH_check_pub_key()
H A Ddh_key.c23 int DH_generate_key(DH *dh) in DH_generate_key()
32 int DH_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh) in DH_compute_key()
57 int DH_compute_key_padded(unsigned char *key, const BIGNUM *pub_key, DH *dh) in DH_compute_key_padded()
103 static int generate_key(DH *dh) in generate_key()
197 static int compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh) in compute_key()
249 static int dh_bn_mod_exp(const DH *dh, BIGNUM *r, in dh_bn_mod_exp()
256 static int dh_init(DH *dh) in dh_init()
262 static int dh_finish(DH *dh) in dh_finish()
H A Ddh_rfc7919.c19 DH *dh = DH_new(); in dh_param_init() local
47 int DH_get_nid(const DH *dh) in DH_get_nid()
H A Ddh_ameth.c55 DH *dh = NULL; in dh_pub_decode() local
99 DH *dh; in dh_pub_encode() local
160 DH *dh = NULL; in dh_priv_decode() local
252 DH *dh; in dh_param_decode() local
421 DH *DHparams_dup(DH *dh) in DHparams_dup()
514 DH *dh = pkey->pkey.dh; in dh_pkey_public_check() local
526 DH *dh = pkey->pkey.dh; in dh_pkey_param_check() local
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/hcrypto/
H A Ddh.c85 DH *dh; in DH_new_method() local
127 DH_free(DH *dh) in DH_free()
167 DH_up_ref(DH *dh) in DH_up_ref()
183 DH_size(const DH *dh) in DH_size()
201 DH_set_ex_data(DH *dh, int idx, void *data) in DH_set_ex_data()
219 DH_get_ex_data(DH *dh, int idx) in DH_get_ex_data()
238 DH_generate_parameters_ex(DH *dh, int prime_len, int generator, BN_GENCB *cb) in DH_generate_parameters_ex()
259 DH_check_pubkey(const DH *dh, const BIGNUM *pub_key, int *codes) in DH_check_pubkey()
342 DH_generate_key(DH *dh) in DH_generate_key()
362 const BIGNUM *peer_pub_key, DH *dh) in DH_compute_key()
[all …]
H A Ddh-ltm.c84 ltm_dh_generate_key(DH *dh) in ltm_dh_generate_key()
154 ltm_dh_compute_key(unsigned char *shared, const BIGNUM * pub, DH *dh) in ltm_dh_compute_key()
194 ltm_dh_generate_params(DH *dh, int a, int b, BN_GENCB *callback) in ltm_dh_generate_params()
201 ltm_dh_init(DH *dh) in ltm_dh_init()
207 ltm_dh_finish(DH *dh) in ltm_dh_finish()
H A Ddh-tfm.c84 tfm_dh_generate_key(DH *dh) in tfm_dh_generate_key()
154 tfm_dh_compute_key(unsigned char *shared, const BIGNUM * pub, DH *dh) in tfm_dh_compute_key()
201 tfm_dh_generate_params(DH *dh, int a, int b, BN_GENCB *callback) in tfm_dh_generate_params()
208 tfm_dh_init(DH *dh) in tfm_dh_init()
214 tfm_dh_finish(DH *dh) in tfm_dh_finish()
/netbsd-src/sys/ufs/ufs/
H A Dufs_dirhash.c96 #define DIRHASH_LOCK(dh) mutex_enter(&(dh)->dh_lock) argument
97 #define DIRHASH_UNLOCK(dh) mutex_exit(&(dh)->dh_lock) argument
126 struct dirhash *dh; in ufsdirhash_build() local
291 struct dirhash *dh; in ufsdirhash_free() local
336 struct dirhash *dh, *dh_next; in ufsdirhash_lookup() local
511 struct dirhash *dh; in ufsdirhash_findfree() local
599 struct dirhash *dh; in ufsdirhash_enduseful() local
633 struct dirhash *dh; in ufsdirhash_add() local
680 struct dirhash *dh; in ufsdirhash_remove() local
715 struct dirhash *dh; in ufsdirhash_move() local
[all …]
/netbsd-src/sys/ufs/lfs/
H A Dulfs_dirhash.c97 #define DIRHASH_LOCK(dh) mutex_enter(&(dh)->dh_lock) argument
98 #define DIRHASH_UNLOCK(dh) mutex_exit(&(dh)->dh_lock) argument
130 struct dirhash *dh; in ulfsdirhash_build() local
295 struct dirhash *dh; in ulfsdirhash_free() local
343 struct dirhash *dh, *dh_next; in ulfsdirhash_lookup() local
518 struct dirhash *dh; in ulfsdirhash_findfree() local
605 struct dirhash *dh; in ulfsdirhash_enduseful() local
640 struct dirhash *dh; in ulfsdirhash_add() local
688 struct dirhash *dh; in ulfsdirhash_remove() local
724 struct dirhash *dh; in ulfsdirhash_move() local
[all …]
/netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/
H A Dopenssldh_link.c85 DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key) { in DH_get0_key()
95 DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key) { in DH_set0_key()
110 DH_get0_pqg(const DH *dh, const BIGNUM **p, const BIGNUM **q, in DH_get0_pqg()
124 DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g) { in DH_set0_pqg()
266 DH *dh = NULL; in openssldh_generate() local
354 DH *dh = key->keydata.dh; in openssldh_isprivate() local
363 DH *dh = key->keydata.dh; in openssldh_destroy() local
396 DH *dh; in openssldh_todns() local
456 DH *dh; in openssldh_fromdns() local
600 DH *dh; in openssldh_tofile() local
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/providers/implementations/keymgmt/
H A Ddh_kmgmt.c100 DH *dh = NULL; in dh_newdata() local
114 DH *dh = NULL; in dhx_newdata() local
131 const DH *dh = keydata; in dh_has() local
192 DH *dh = keydata; in dh_import() local
217 DH *dh = keydata; in dh_export() local
316 DH *dh = key; in dh_get_params() local
369 DH *dh = key; in dh_set_params() local
381 static int dh_validate_public(const DH *dh, int checktype) in dh_validate_public()
398 static int dh_validate_private(const DH *dh) in dh_validate_private()
411 const DH *dh = keydata; in dh_validate() local
[all …]
/netbsd-src/external/mpl/bind/dist/lib/dns/
H A Dopenssl_shim.c175 DH_get0_key(const DH * dh,const BIGNUM ** pub_key,const BIGNUM ** priv_key) DH_get0_key() argument
185 DH_set0_key(DH * dh,BIGNUM * pub_key,BIGNUM * priv_key) DH_set0_key() argument
200 DH_get0_pqg(const DH * dh,const BIGNUM ** p,const BIGNUM ** q,const BIGNUM ** g) DH_get0_pqg() argument
214 DH_set0_pqg(DH * dh,BIGNUM * p,BIGNUM * q,BIGNUM * g) DH_set0_pqg() argument
H A Dopenssldh_link.c
/netbsd-src/crypto/external/bsd/openssh/dist/
H A Ddh.c236 dh_pub_is_valid(const DH *dh, const BIGNUM *dh_pub) in dh_pub_is_valid()
284 dh_gen_key(DH *dh, int need) in dh_gen_key()
315 DH *dh; in dh_new_group_asc() local
340 DH *dh; in dh_new_group() local
/netbsd-src/crypto/external/bsd/openssl/dist/test/
H A Dffc_internal_test.c446 DH *dh = NULL; in ffc_public_validate_test() local
544 DH *dh = NULL; in ffc_private_validate_test() local
611 DH *dh = NULL; in ffc_private_gen_test() local
666 DH *dh = NULL; in ffc_params_copy_test() local
/netbsd-src/sys/arch/mac68k/dev/
H A Dsbc.c427 struct sbc_pdma_handle *dh = sr->sr_dma_hand; in sbc_drq_intr() local
609 struct sbc_pdma_handle *dh; sbc_dma_alloc() local
654 struct sbc_pdma_handle *dh = sr->sr_dma_hand; sbc_dma_free() local
702 struct sbc_pdma_handle *dh = sr->sr_dma_hand; sbc_dma_start() local
745 struct sbc_pdma_handle *dh = sr->sr_dma_hand; sbc_dma_stop() local
[all...]
/netbsd-src/sys/arch/sun3/dev/
H A Dsi_vme.c321 struct si_dma_handle *dh = sr->sr_dma_hand; in si_vme_dma_setup() local
384 struct si_dma_handle *dh = sr->sr_dma_hand; in si_vme_dma_start() local
446 struct si_dma_handle *dh = sr->sr_dma_hand; in si_vme_dma_stop() local
[all...]

12345