• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/dh/

Lines Matching refs:DH

65 #error DH is disabled.
81 #define DH_FLAG_NO_EXP_CONSTTIME 0x02 /* new with 0.9.7h; the built-in DH
94 /* typedef struct dh_st DH; */
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);
118 * a DH is passed instead of a EVP_PKEY */
129 /* Place holders if we want to do X9.42 DH */
160 #define DHparams_dup(x) ASN1_dup_of_const(DH,i2d_DHparams,d2i_DHparams,x)
161 #define d2i_DHparams_fp(fp,x) (DH *)ASN1_d2i_fp((char *(*)())DH_new, \
165 #define d2i_DHparams_bio(bp,x) ASN1_d2i_bio_of(DH,DH_new,d2i_DHparams,bp,x)
166 #define i2d_DHparams_bio(bp,x) ASN1_i2d_bio_of_const(DH,i2d_DHparams,bp,x)
172 int DH_set_method(DH *dh, const DH_METHOD *meth);
173 DH *DH_new_method(ENGINE *engine);
175 DH * DH_new(void);
176 void DH_free(DH *dh);
177 int DH_up_ref(DH *dh);
178 int DH_size(const DH *dh);
181 int DH_set_ex_data(DH *d, int idx, void *arg);
182 void *DH_get_ex_data(DH *d, int idx);
186 DH * DH_generate_parameters(int prime_len,int generator,
191 int DH_generate_parameters_ex(DH *dh, int prime_len,int generator, BN_GENCB *cb);
193 int DH_check(const DH *dh,int *codes);
194 int DH_check_pub_key(const DH *dh,const BIGNUM *pub_key, int *codes);
195 int DH_generate_key(DH *dh);
196 int DH_compute_key(unsigned char *key,const BIGNUM *pub_key,DH *dh);
197 DH * d2i_DHparams(DH **a,const unsigned char **pp, long length);
198 int i2d_DHparams(const DH *a,unsigned char **pp);
200 int DHparams_print_fp(FILE *fp, const DH *x);
203 int DHparams_print(BIO *bp, const DH *x);
205 int DHparams_print(char *bp, const DH *x);
214 /* Error codes for the DH functions. */