/freebsd/crypto/openssl/crypto/dh/ |
H A D | dh_lib.c | 32 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 D | dh_check.c | 28 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 D | dh_key.c | 40 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 D | dh_backend.c | 31 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 D | dh_group_params.c | 29 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 D | dh_ameth.c | 37 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 D | dh_asn1.c | 38 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()
|
H A D | dh_gen.c | 38 int ossl_dh_generate_ffc_parameters(DH *dh, int type, int pbits, int qbits, in ossl_dh_generate_ffc_parameters() 96 DH *dh; in dh_gen_named_group() local
|
H A D | dh_pmeth.c | 325 DH *dh = NULL; in pkey_dh_paramgen() local 379 DH *dh = NULL; in pkey_dh_keygen() local 402 DH *dh; in pkey_dh_derive() local
|
/freebsd/sys/ufs/ufs/ |
H A D | ufs_dirhash.c | 110 #define DIRHASH_ASSERT_LOCKED(dh) \ argument 153 ufsdirhash_hold(struct dirhash *dh) in ufsdirhash_hold() 160 ufsdirhash_drop(struct dirhash *dh) in ufsdirhash_drop() 173 ufsdirhash_release(struct dirhash *dh) in ufsdirhash_release() 190 struct dirhash *dh; in ufsdirhash_create() local 279 struct dirhash *dh; in ufsdirhash_acquire() local 300 struct dirhash *dh; in ufsdirhash_free() local 344 struct dirhash *dh; in ufsdirhash_build() local 483 struct dirhash *dh; in ufsdirhash_free_locked() local 552 struct dirhash *dh, *dh_next; in ufsdirhash_lookup() local [all …]
|
/freebsd/contrib/tcpdump/ |
H A D | print-dccp.c | 76 #define DCCPH_CCVAL(dh) ((GET_U_1((dh)->dccph_ccval_cscov) >> 4) & 0xF) argument 77 #define DCCPH_CSCOV(dh) (GET_U_1((dh)->dccph_ccval_cscov) & 0xF) argument 79 #define DCCPH_X(dh) (GET_U_1((dh)->dccph_xtr) & 1) argument 80 #define DCCPH_TYPE(dh) ((GET_U_1((dh)->dccph_xtr) >> 1) & 0xF) argument 190 const struct dccp_hdr *dh, u_int len) in dccp_csum_coverage() 201 const struct dccp_hdr *dh, u_int len) in dccp_cksum() 208 const struct dccp_hdr *dh, u_int len) in dccp6_cksum() 224 const struct dccp_hdr *dh = (const struct dccp_hdr *)bp; in dccp_seqno() local 238 dccp_basic_hdr_len(netdissect_options *ndo, const struct dccp_hdr *dh) in dccp_basic_hdr_len() 245 const struct dccp_hdr *dh = (const struct dccp_hdr *)bp; in dccp_print_ack_no() local [all …]
|
/freebsd/contrib/elftoolchain/libpe/ |
H A D | libpe_dos.c | 42 PE_DosHdr *dh; in libpe_parse_msdos_header() local 193 init_dos_header(PE_DosHdr *dh) in init_dos_header() 210 PE_DosHdr *dh; in libpe_write_msdos_stub() local
|
H A D | pe_dos.c | 74 ps_update_msdos_header(PE *pe, PE_DosHdr *dh) in ps_update_msdos_header()
|
/freebsd/crypto/openssl/providers/implementations/keymgmt/ |
H A D | dh_kmgmt.c | 100 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 …]
|
/freebsd/crypto/openssh/ |
H A D | dh.c | 236 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
|
/freebsd/crypto/openssl/test/ |
H A D | ffc_internal_test.c | 446 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
|
H A D | pem_read_depr_test.c | 45 DH *dh = NULL; in test_read_dh_params() local 66 DH *dh = NULL; in test_read_dh_x942_params() local
|
/freebsd/contrib/wpa/src/crypto/ |
H A D | dh_groups.c | 1193 struct wpabuf * dh_init(const struct dh_group *dh, struct wpabuf **priv) in dh_init() 1239 const struct dh_group *dh) in dh_derive_shared()
|
/freebsd/contrib/bearssl/src/int/ |
H A D | i15_mulacc.c | 32 unsigned dl, dh; in br_i15_mulacc() local
|
H A D | i31_mulacc.c | 32 uint32_t dl, dh; in br_i31_mulacc() local
|
H A D | i31_montmul.c | 44 uint32_t dh; in br_i31_montymul() local
|
H A D | i32_montmul.c | 33 uint64_t dh; in br_i32_montymul() local
|
H A D | i15_montmul.c | 33 uint32_t dh; in br_i15_montymul() local
|
/freebsd/lib/libsecureboot/ |
H A D | veta.c | 74 DIR *dh; in trust_dir_add() local
|
/freebsd/contrib/sendmail/src/ |
H A D | tls.c | 113 DH *dh = NULL; in get_dh512() local
|