/freebsd-9.3-release/crypto/openssh/ |
H A D | dh.h | 35 DH *choose_dh(int, int, int); 36 DH *dh_new_group_asc(const char *, const char *); 37 DH *dh_new_group(BIGNUM *, BIGNUM *); 38 DH *dh_new_group1(void); 39 DH *dh_new_group14(void); 41 void dh_gen_key(DH *, int); 42 int dh_pub_is_valid(DH *, BIGNUM *);
|
H A D | dh.c | 144 DH * 213 dh_pub_is_valid(DH *dh, BIGNUM *dh_pub) 221 logit("invalid public DH value: negative"); 225 logit("invalid public DH value: <= 1"); 236 logit("invalid public DH value: >= p-1"); 250 logit("invalid public DH value (%d/%d)", bits_set, BN_num_bits(dh->p)); 255 dh_gen_key(DH *dh, int need) 272 DH * 275 DH *dh; 293 DH * [all...] |
H A D | monitor_wrap.h | 42 DH *mm_choose_dh(int, int, int);
|
H A D | kexdhc.c | 51 DH *dh; 58 /* generate and send 'e', client DH public key */ 97 /* DH parameter f, server public DH key */ 114 packet_disconnect("bad server public DH value");
|
H A D | kexdhs.c | 50 DH *dh; 56 /* generate server DH public key */ 100 packet_disconnect("bad client public DH value"); 145 /* send server hostkey, DH pubkey 'f' and singed H */ 154 /* have keys, free DH */
|
/freebsd-9.3-release/crypto/openssl/crypto/dh/ |
H A D | dh_asn1.c | 76 DH_free((DH *)*pval); 84 ASN1_SIMPLE(DH, p, BIGNUM), 85 ASN1_SIMPLE(DH, g, BIGNUM), 86 ASN1_OPT(DH, length, ZLONG), 87 } ASN1_SEQUENCE_END_cb(DH, DHparams) 89 IMPLEMENT_ASN1_ENCODE_FUNCTIONS_const_fname(DH, DHparams, DHparams)
|
H A D | dh.h | 65 # error DH is disabled. 85 * new with 0.9.7h; the built-in DH 99 /* typedef struct dh_st DH; */ 105 int (*generate_key) (DH *dh); 106 int (*compute_key) (unsigned char *key, const BIGNUM *pub_key, DH *dh); 108 int (*bn_mod_exp) (const DH *dh, BIGNUM *r, const BIGNUM *a, 111 int (*init) (DH *dh); 112 int (*finish) (DH *dh); 116 int (*generate_params) (DH *dh, int prime_len, int generator, 122 * This first argument is used to pick up errors when a DH i [all...] |
H A D | dh_depr.c | 66 DH *DH_generate_parameters(int prime_len, int generator, 70 DH *ret = NULL;
|
H A D | dh_key.c | 67 static int generate_key(DH *dh); 68 static int compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh); 69 static int dh_bn_mod_exp(const DH *dh, BIGNUM *r, 72 static int dh_init(DH *dh); 73 static int dh_finish(DH *dh); 75 int DH_generate_key(DH *dh) 80 int DH_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh) 86 "OpenSSL DH Method", 102 static int generate_key(DH *dh) 175 static int compute_key(unsigned char *key, const BIGNUM *pub_key, DH *d [all...] |
H A D | dh_lib.c | 83 int DH_set_method(DH *dh, const DH_METHOD *meth) 105 DH *DH_new(void) 110 DH *DH_new_method(ENGINE *engine) 112 DH *ret; 114 ret = (DH *)OPENSSL_malloc(sizeof(DH)); 170 void DH_free(DH *r) 177 REF_PRINT("DH", r); 216 int DH_up_ref(DH *r) 220 REF_PRINT("DH", [all...] |
H A D | dh_gen.c | 71 static int dh_builtin_genparams(DH *ret, int prime_len, int generator, 74 int DH_generate_parameters_ex(DH *ret, int prime_len, int generator, 83 * We generate DH parameters as follows 101 * Since DH should be using a safe prime (both p and q are prime), 109 static int dh_builtin_genparams(DH *ret, int prime_len, int generator,
|
H A D | p192.c | 73 DH *dh;
|
H A D | dh_check.c | 76 int DH_check(const DH *dh, int *ret) 127 int DH_check_pub_key(const DH *dh, const BIGNUM *pub_key, int *ret)
|
H A D | p512.c | 78 DH *dh;
|
H A D | dhtest.c | 82 printf("No DH support\n"); 102 DH *a; 103 DH *b = NULL; 198 fprintf(stderr, "Error in DH routines\n");
|
H A D | p1024.c | 85 DH *dh;
|
/freebsd-9.3-release/crypto/openssl/fips/dh/ |
H A D | fips_dh_lib.c | 69 DH *FIPS_dh_new(void) 71 DH *ret; 72 ret = OPENSSL_malloc(sizeof(DH)); 75 memset(ret, 0, sizeof(DH)); 82 void FIPS_dh_free(DH *r)
|
H A D | fips_dh_key.c | 71 static int generate_key(DH *dh); 72 static int compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh); 73 static int dh_bn_mod_exp(const DH *dh, BIGNUM *r, 76 static int dh_init(DH *dh); 77 static int dh_finish(DH *dh); 79 int DH_generate_key(DH *dh) 84 int DH_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh) 90 "OpenSSL DH Method", 105 static int generate_key(DH *dh) 184 static int compute_key(unsigned char *key, const BIGNUM *pub_key, DH *d [all...] |
H A D | dh_gen.c | 71 static int dh_builtin_genparams(DH *ret, int prime_len, int generator, 74 int DH_generate_parameters_ex(DH *ret, int prime_len, int generator, 83 * We generate DH parameters as follows 101 * Since DH should be using a safe prime (both p and q are prime), 109 static int dh_builtin_genparams(DH *ret, int prime_len, int generator,
|
H A D | fips_dh_gen.c | 72 static int dh_builtin_genparams(DH *ret, int prime_len, int generator, 75 int DH_generate_parameters_ex(DH *ret, int prime_len, int generator, 84 * We generate DH parameters as follows 102 * Since DH should be using a safe prime (both p and q are prime), 110 static int dh_builtin_genparams(DH *ret, int prime_len, int generator,
|
H A D | fips_dh_check.c | 77 int DH_check(const DH *dh, int *ret) 128 int DH_check_pub_key(const DH *dh, const BIGNUM *pub_key, int *ret)
|
/freebsd-9.3-release/contrib/bind9/lib/dns/ |
H A D | openssldh_link.c | 80 DH *dhpub, *dhpriv; 106 DH *dh1, *dh2; 135 DH *dh1, *dh2; 173 DH *dh = NULL; 248 DH *dh = key->keydata.dh; 254 DH *dh = key->keydata.dh; 290 DH *dh; 343 DH *dh; 461 DH *dh; 522 DH *d [all...] |
/freebsd-9.3-release/crypto/openssl/test/ |
H A D | testfipsssl | 93 echo skipping anonymous DH tests 95 echo test tls1 with 1024bit anonymous DH, multiple handshakes
|
/freebsd-9.3-release/crypto/openssl/crypto/ |
H A D | ossl_typ.h | 125 typedef struct dh_st DH; typedef in typeref:struct:dh_st
|
/freebsd-9.3-release/contrib/llvm/include/llvm/Support/ |
H A D | SourceMgr.h | 83 void setDiagHandler(DiagHandlerTy DH, void *Ctx = 0) { argument 84 DiagHandler = DH;
|