Home
last modified time | relevance | path

Searched refs:DH (Results 1 – 25 of 94) sorted by relevance

1234

/external/openssl/include/openssl/
Ddh.h65 #error DH is disabled.
101 int (*generate_key)(DH *dh);
102 int (*compute_key)(unsigned char *key,const BIGNUM *pub_key,DH *dh);
103 int (*bn_mod_exp)(const DH *dh, BIGNUM *r, const BIGNUM *a,
107 int (*init)(DH *dh);
108 int (*finish)(DH *dh);
112 int (*generate_params)(DH *dh, int prime_len, int generator, BN_GENCB *cb);
160 #define d2i_DHparams_fp(fp,x) (DH *)ASN1_d2i_fp((char *(*)())DH_new, \
164 #define d2i_DHparams_bio(bp,x) ASN1_d2i_bio_of(DH,DH_new,d2i_DHparams,bp,x)
165 #define i2d_DHparams_bio(bp,x) ASN1_i2d_bio_of_const(DH,i2d_DHparams,bp,x)
[all …]
/external/openssl/crypto/dh/
Ddh.h65 #error DH is disabled.
101 int (*generate_key)(DH *dh);
102 int (*compute_key)(unsigned char *key,const BIGNUM *pub_key,DH *dh);
103 int (*bn_mod_exp)(const DH *dh, BIGNUM *r, const BIGNUM *a,
107 int (*init)(DH *dh);
108 int (*finish)(DH *dh);
112 int (*generate_params)(DH *dh, int prime_len, int generator, BN_GENCB *cb);
160 #define d2i_DHparams_fp(fp,x) (DH *)ASN1_d2i_fp((char *(*)())DH_new, \
164 #define d2i_DHparams_bio(bp,x) ASN1_d2i_bio_of(DH,DH_new,d2i_DHparams,bp,x)
165 #define i2d_DHparams_bio(bp,x) ASN1_i2d_bio_of_const(DH,i2d_DHparams,bp,x)
[all …]
Ddh_asn1.c75 DH_free((DH *)*pval); in dh_cb()
83 ASN1_SIMPLE(DH, p, BIGNUM),
84 ASN1_SIMPLE(DH, g, BIGNUM),
85 ASN1_OPT(DH, length, ZLONG),
86 } ASN1_SEQUENCE_END_cb(DH, DHparams)
88 IMPLEMENT_ASN1_ENCODE_FUNCTIONS_const_fname(DH, DHparams, DHparams)
90 DH *DHparams_dup(DH *dh)
Ddh_key.c65 static int generate_key(DH *dh);
66 static int compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh);
67 static int dh_bn_mod_exp(const DH *dh, BIGNUM *r,
71 static int dh_init(DH *dh);
72 static int dh_finish(DH *dh);
74 int DH_generate_key(DH *dh) in DH_generate_key()
79 int DH_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh) in DH_compute_key()
101 static int generate_key(DH *dh) in generate_key()
174 static int compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh) in compute_key()
234 static int dh_bn_mod_exp(const DH *dh, BIGNUM *r, in dh_bn_mod_exp()
[all …]
Ddh_lib.c83 int DH_set_method(DH *dh, const DH_METHOD *meth) in DH_set_method()
102 DH *DH_new(void) in DH_new()
107 DH *DH_new_method(ENGINE *engine) in DH_new_method()
109 DH *ret; in DH_new_method()
111 ret=(DH *)OPENSSL_malloc(sizeof(DH)); in DH_new_method()
174 void DH_free(DH *r) in DH_free()
211 int DH_up_ref(DH *r) in DH_up_ref()
234 int DH_set_ex_data(DH *d, int idx, void *arg) in DH_set_ex_data()
239 void *DH_get_ex_data(DH *d, int idx) in DH_get_ex_data()
244 int DH_size(const DH *dh) in DH_size()
Ddh2048.pem1 -----BEGIN DH PARAMETERS-----
8 -----END DH PARAMETERS-----
9 -----BEGIN DH PARAMETERS-----
16 -----END DH PARAMETERS-----
Ddh_gen.c69 static int dh_builtin_genparams(DH *ret, int prime_len, int generator, BN_GENCB *cb);
71 int DH_generate_parameters_ex(DH *ret, int prime_len, int generator, BN_GENCB *cb) in DH_generate_parameters_ex()
103 static int dh_builtin_genparams(DH *ret, int prime_len, int generator, BN_GENCB *cb) in dh_builtin_genparams()
Ddh192.pem1 -----BEGIN DH PARAMETERS-----
3 -----END DH PARAMETERS-----
Ddh512.pem1 -----BEGIN DH PARAMETERS-----
4 -----END DH PARAMETERS-----
Ddh_ameth.c81 DH *dh = NULL; in dh_pub_decode()
131 DH *dh; in dh_pub_encode()
194 DH *dh = NULL; in dh_priv_decode()
301 DH *dh; in dh_param_decode()
316 static int do_dh_print(BIO *bp, const DH *x, int indent, in do_dh_print()
464 int DHparams_print(BIO *bp, const DH *x) in DHparams_print()
Ddh1024.pem1 -----BEGIN DH PARAMETERS-----
5 -----END DH PARAMETERS-----
Ddh_depr.c67 DH *DH_generate_parameters(int prime_len, int generator, in DH_generate_parameters()
71 DH *ret=NULL; in DH_generate_parameters()
Ddh4096.pem1 -----BEGIN DH PARAMETERS-----
13 -----END DH PARAMETERS-----
Ddh_check.c73 int DH_check(const DH *dh, int *ret) in DH_check()
122 int DH_check_pub_key(const DH *dh, const BIGNUM *pub_key, int *ret) in DH_check_pub_key()
Ddh_pmeth.c163 DH *dh = NULL; in pkey_dh_paramgen()
188 DH *dh = NULL; in pkey_dh_keygen()
Ddhtest.c99 DH *a; in main()
100 DH *b=NULL; in main()
Dp1024.c85 DH *dh; in main()
Dp512.c78 DH *dh; in main()
Dp192.c73 DH *dh; in main()
/external/openssl/apps/
Ddh2048.pem1 -----BEGIN DH PARAMETERS-----
8 -----END DH PARAMETERS-----
10 These are the 2048 bit DH parameters from "Assigned Number for SKIP Protocols"
Ddh512.pem1 -----BEGIN DH PARAMETERS-----
4 -----END DH PARAMETERS-----
6 These are the 512 bit DH parameters from "Assigned Number for SKIP Protocols"
Ddh1024.pem1 -----BEGIN DH PARAMETERS-----
5 -----END DH PARAMETERS-----
7 These are the 1024 bit DH parameters from "Assigned Number for SKIP Protocols"
Ddh4096.pem1 -----BEGIN DH PARAMETERS-----
13 -----END DH PARAMETERS-----
15 These are the 4096 bit DH parameters from "Assigned Number for SKIP Protocols"
/external/openssl/ssl/
Dssltest.c234 static DH *get_dh512(void);
235 static DH *get_dh1024(void);
236 static DH *get_dh1024dsa(void);
480 DH *dh; in main()
2297 static DH *get_dh512() in get_dh512()
2310 DH *dh; in get_dh512()
2320 static DH *get_dh1024() in get_dh1024()
2338 DH *dh; in get_dh1024()
2348 static DH *get_dh1024dsa() in get_dh1024dsa()
2376 DH *dh; in get_dh1024dsa()
/external/openssl/crypto/dsa/
Ddsa_lib.c276 DH *DSA_dup_DH(const DSA *r) in DSA_dup_DH()
282 DH *ret = NULL; in DSA_dup_DH()

1234