• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/openssl-1.0.0q/include/openssl/

Lines Matching refs:DSA

71 #error DSA is disabled.
92 #define DSA_FLAG_NO_EXP_CONSTTIME 0x02 /* new with 0.9.7h; the built-in DSA
105 /* typedef struct dsa_st DSA; */
117 DSA_SIG * (*dsa_do_sign)(const unsigned char *dgst, int dlen, DSA *dsa);
118 int (*dsa_sign_setup)(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp,
121 DSA_SIG *sig, DSA *dsa);
122 int (*dsa_mod_exp)(DSA *dsa, BIGNUM *rr, BIGNUM *a1, BIGNUM *p1,
125 int (*bn_mod_exp)(DSA *dsa, BIGNUM *r, BIGNUM *a, const BIGNUM *p,
128 int (*init)(DSA *dsa);
129 int (*finish)(DSA *dsa);
132 /* If this is non-NULL, it is used to generate DSA parameters */
133 int (*dsa_paramgen)(DSA *dsa, int bits,
137 /* If this is non-NULL, it is used to generate DSA keys */
138 int (*dsa_keygen)(DSA *dsa);
144 * a DSA is passed instead of of a EVP_PKEY */
168 #define d2i_DSAparams_fp(fp,x) (DSA *)ASN1_d2i_fp((char *(*)())DSA_new, \
172 #define d2i_DSAparams_bio(bp,x) ASN1_d2i_bio_of(DSA,DSA_new,d2i_DSAparams,bp,x)
173 #define i2d_DSAparams_bio(bp,x) ASN1_i2d_bio_of_const(DSA,i2d_DSAparams,bp,x)
176 DSA *DSAparams_dup(DSA *x);
182 DSA_SIG * DSA_do_sign(const unsigned char *dgst,int dlen,DSA *dsa);
184 DSA_SIG *sig,DSA *dsa);
190 int DSA_set_method(DSA *dsa, const DSA_METHOD *);
192 DSA * DSA_new(void);
193 DSA * DSA_new_method(ENGINE *engine);
194 void DSA_free (DSA *r);
195 /* "up" the DSA object's reference count */
196 int DSA_up_ref(DSA *r);
197 int DSA_size(const DSA *);
199 int DSA_sign_setup( DSA *dsa,BN_CTX *ctx_in,BIGNUM **kinvp,BIGNUM **rp);
201 unsigned char *sig, unsigned int *siglen, DSA *dsa);
203 const unsigned char *sigbuf, int siglen, DSA *dsa);
206 int DSA_set_ex_data(DSA *d, int idx, void *arg);
207 void *DSA_get_ex_data(DSA *d, int idx);
209 DSA * d2i_DSAPublicKey(DSA **a, const unsigned char **pp, long length);
210 DSA * d2i_DSAPrivateKey(DSA **a, const unsigned char **pp, long length);
211 DSA * d2i_DSAparams(DSA **a, const unsigned char **pp, long length);
215 DSA * DSA_generate_parameters(int bits,
222 int DSA_generate_parameters_ex(DSA *dsa, int bits,
226 int DSA_generate_key(DSA *a);
227 int i2d_DSAPublicKey(const DSA *a, unsigned char **pp);
228 int i2d_DSAPrivateKey(const DSA *a, unsigned char **pp);
229 int i2d_DSAparams(const DSA *a,unsigned char **pp);
232 int DSAparams_print(BIO *bp, const DSA *x);
233 int DSA_print(BIO *bp, const DSA *x, int off);
236 int DSAparams_print_fp(FILE *fp, const DSA *x);
237 int DSA_print_fp(FILE *bp, const DSA *x, int off);
247 /* Convert DSA structure (key or just parameters) into DH structure
249 DH *DSA_dup_DH(const DSA *r);
266 /* Error codes for the DSA functions. */