• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asus-wl-520gu-7.0.1.45/src/router/libbcmcrypto/openssl/

Lines Matching refs:DH

65 #error DH is disabled.
77 #define DH_FLAG_NO_EXP_CONSTTIME 0x02 /* new with 0.9.7h; the built-in DH
90 /* typedef struct dh_st DH; */
97 int (*generate_key)(DH *dh);
98 int (*compute_key)(unsigned char *key,const BIGNUM *pub_key,DH *dh);
99 int (*bn_mod_exp)(const DH *dh, BIGNUM *r, const BIGNUM *a,
103 int (*init)(DH *dh);
104 int (*finish)(DH *dh);
108 int (*generate_params)(DH *dh, int prime_len, int generator, BN_GENCB *cb);
114 * a DH is passed instead of a EVP_PKEY */
125 /* Place holders if we want to do X9.42 DH */
156 #define DHparams_dup(x) ASN1_dup_of_const(DH,i2d_DHparams,d2i_DHparams,x)
157 #define d2i_DHparams_fp(fp,x) (DH *)ASN1_d2i_fp((char *(*)())DH_new, \
161 #define d2i_DHparams_bio(bp,x) ASN1_d2i_bio_of(DH,DH_new,d2i_DHparams,bp,x)
162 #define i2d_DHparams_bio(bp,x) ASN1_i2d_bio_of_const(DH,i2d_DHparams,bp,x)
168 int DH_set_method(DH *dh, const DH_METHOD *meth);
169 DH *DH_new_method(ENGINE *engine);
171 DH * DH_new2(void);
172 void DH_free2(DH *dh);
173 int DH_up_ref(DH *dh);
174 int DH_size(const DH *dh);
177 int DH_set_ex_data(DH *d, int idx, void *arg);
178 void *DH_get_ex_data(DH *d, int idx);
182 DH * DH_generate_parameters(int prime_len,int generator,
187 int DH_generate_parameters_ex(DH *dh, int prime_len,int generator, BN_GENCB *cb);
189 int DH_check(const DH *dh,int *codes);
190 int DH_check_pub_key(const DH *dh,const BIGNUM *pub_key, int *codes);
191 int DH_generate_key2(DH *dh);
192 int DH_compute_key2(unsigned char *key,const BIGNUM *pub_key,DH *dh);
193 DH * d2i_DHparams(DH **a,const unsigned char **pp, long length);
194 int i2d_DHparams(const DH *a,unsigned char **pp);
196 int DHparams_print_fp(FILE *fp, const DH *x);
199 int DHparams_print(BIO *bp, const DH *x);
201 int DHparams_print(char *bp, const DH *x);
210 /* Error codes for the DH functions. */