Home
last modified time | relevance | path

Searched refs:DSA (Results 1 – 25 of 85) sorted by relevance

1234

/external/openssl/include/openssl/
Ddsa.h71 #error DSA is disabled.
132 DSA_SIG * (*dsa_do_sign)(const unsigned char *dgst, int dlen, DSA *dsa);
133 int (*dsa_sign_setup)(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp,
136 DSA_SIG *sig, DSA *dsa);
137 int (*dsa_mod_exp)(DSA *dsa, BIGNUM *rr, BIGNUM *a1, BIGNUM *p1,
140 int (*bn_mod_exp)(DSA *dsa, BIGNUM *r, BIGNUM *a, const BIGNUM *p,
143 int (*init)(DSA *dsa);
144 int (*finish)(DSA *dsa);
148 int (*dsa_paramgen)(DSA *dsa, int bits,
153 int (*dsa_keygen)(DSA *dsa);
[all …]
Dx509.h699 DSA *d2i_DSA_PUBKEY_fp(FILE *fp, DSA **dsa);
700 int i2d_DSA_PUBKEY_fp(FILE *fp, DSA *dsa);
701 DSA *d2i_DSAPrivateKey_fp(FILE *fp, DSA **dsa);
702 int i2d_DSAPrivateKey_fp(FILE *fp, DSA *dsa);
738 DSA *d2i_DSA_PUBKEY_bio(BIO *bp, DSA **dsa);
739 int i2d_DSA_PUBKEY_bio(BIO *bp, DSA *dsa);
740 DSA *d2i_DSAPrivateKey_bio(BIO *bp, DSA **dsa);
741 int i2d_DSAPrivateKey_bio(BIO *bp, DSA *dsa);
811 int i2d_DSA_PUBKEY(DSA *a,unsigned char **pp);
812 DSA * d2i_DSA_PUBKEY(DSA **a,const unsigned char **pp,
/external/openssl/crypto/dsa/
Ddsa.h71 #error DSA is disabled.
132 DSA_SIG * (*dsa_do_sign)(const unsigned char *dgst, int dlen, DSA *dsa);
133 int (*dsa_sign_setup)(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp,
136 DSA_SIG *sig, DSA *dsa);
137 int (*dsa_mod_exp)(DSA *dsa, BIGNUM *rr, BIGNUM *a1, BIGNUM *p1,
140 int (*bn_mod_exp)(DSA *dsa, BIGNUM *r, BIGNUM *a, const BIGNUM *p,
143 int (*init)(DSA *dsa);
144 int (*finish)(DSA *dsa);
148 int (*dsa_paramgen)(DSA *dsa, int bits,
153 int (*dsa_keygen)(DSA *dsa);
[all …]
Ddsa_asn1.c102 DSA_free((DSA *)*pval);
110 ASN1_SIMPLE(DSA, version, LONG),
111 ASN1_SIMPLE(DSA, p, BIGNUM),
112 ASN1_SIMPLE(DSA, q, BIGNUM),
113 ASN1_SIMPLE(DSA, g, BIGNUM),
114 ASN1_SIMPLE(DSA, pub_key, BIGNUM),
115 ASN1_SIMPLE(DSA, priv_key, BIGNUM)
116 } ASN1_SEQUENCE_END_cb(DSA, DSAPrivateKey)
118 IMPLEMENT_ASN1_ENCODE_FUNCTIONS_const_fname(DSA, DSAPrivateKey, DSAPrivateKey)
121 ASN1_SIMPLE(DSA, p, BIGNUM),
[all …]
Ddsa_lib.c102 DSA *DSA_new(void) in DSA_new()
107 int DSA_set_method(DSA *dsa, const DSA_METHOD *meth) in DSA_set_method()
126 DSA *DSA_new_method(ENGINE *engine) in DSA_new_method()
128 DSA *ret; in DSA_new_method()
130 ret=(DSA *)OPENSSL_malloc(sizeof(DSA)); in DSA_new_method()
195 void DSA_free(DSA *r) in DSA_free()
233 int DSA_up_ref(DSA *r) in DSA_up_ref()
249 int DSA_size(const DSA *r) in DSA_size()
278 int DSA_set_ex_data(DSA *d, int idx, void *arg) in DSA_set_ex_data()
283 void *DSA_get_ex_data(DSA *d, int idx) in DSA_get_ex_data()
[all …]
Ddsa_prn.c65 int DSA_print_fp(FILE *fp, const DSA *x, int off) in DSA_print_fp()
81 int DSAparams_print_fp(FILE *fp, const DSA *x) in DSAparams_print_fp()
98 int DSA_print(BIO *bp, const DSA *x, int off) in DSA_print()
103 if (!pk || !EVP_PKEY_set1_DSA(pk, (DSA *)x)) in DSA_print()
110 int DSAparams_print(BIO *bp, const DSA *x) in DSAparams_print()
115 if (!pk || !EVP_PKEY_set1_DSA(pk, (DSA *)x)) in DSAparams_print()
Ddsa_ossl.c69 static DSA_SIG *dsa_do_sign(const unsigned char *dgst, int dlen, DSA *dsa);
70 static int dsa_sign_setup(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp);
72 DSA *dsa);
73 static int dsa_init(DSA *dsa);
74 static int dsa_finish(DSA *dsa);
131 static DSA_SIG *dsa_do_sign(const unsigned char *dgst, int dlen, DSA *dsa) in dsa_do_sign()
216 static int dsa_sign_setup(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp) in dsa_sign_setup()
308 DSA *dsa) in dsa_do_verify()
400 static int dsa_init(DSA *dsa) in dsa_init()
406 static int dsa_finish(DSA *dsa) in dsa_finish()
Ddsa_key.c71 static int dsa_builtin_keygen(DSA *dsa);
73 int DSA_generate_key(DSA *dsa) in DSA_generate_key()
92 static int dsa_builtin_keygen(DSA *dsa) in dsa_builtin_keygen()
Ddsa_depr.c86 DSA *DSA_generate_parameters(int bits, in DSA_generate_parameters()
93 DSA *ret; in DSA_generate_parameters()
Ddsa_pmeth.c126 DSA *dsa = ctx->pkey->pkey.dsa; in pkey_dsa_sign()
147 DSA *dsa = ctx->pkey->pkey.dsa; in pkey_dsa_verify()
243 DSA *dsa = NULL; in pkey_dsa_paramgen()
268 DSA *dsa = NULL; in pkey_dsa_keygen()
Ddsa_sign.c66 DSA_SIG * DSA_do_sign(const unsigned char *dgst, int dlen, DSA *dsa) in DSA_do_sign()
79 int DSA_sign_setup(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp) in DSA_sign_setup()
Ddsa_ameth.c79 DSA *dsa = NULL; in dsa_pub_decode()
140 DSA *dsa; in dsa_pub_encode()
202 DSA *dsa = NULL; in dsa_priv_decode()
367 DSA *dsa; in dsa_missing_parameters()
430 static int do_dsa_print(BIO *bp, const DSA *x, int off, int ptype) in do_dsa_print()
493 DSA *dsa; in dsa_param_decode()
530 DSA *dsa; in old_dsa_priv_decode()
/external/openssl/crypto/pem/
Dpem_all.c133 static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa);
204 static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa) in IMPLEMENT_PEM_write_cb_const()
206 DSA *dtmp; in IMPLEMENT_PEM_write_cb_const()
218 DSA *PEM_read_bio_DSAPrivateKey(BIO *bp, DSA **dsa, pem_password_cb *cb, in PEM_read_bio_DSAPrivateKey()
226 IMPLEMENT_PEM_write_cb_const(DSAPrivateKey, DSA, PEM_STRING_DSA, DSAPrivateKey) in IMPLEMENT_PEM_write_cb_const() argument
227 IMPLEMENT_PEM_rw(DSA_PUBKEY, DSA, PEM_STRING_PUBLIC, DSA_PUBKEY) in IMPLEMENT_PEM_write_cb_const()
231 DSA *PEM_read_DSAPrivateKey(FILE *fp, DSA **dsa, pem_password_cb *cb, in IMPLEMENT_PEM_write_cb_const()
241 IMPLEMENT_PEM_rw_const(DSAparams, DSA, PEM_STRING_DSAPARAMS, DSAparams) in IMPLEMENT_PEM_rw_const() argument
/external/openssl/apps/
Dtestdsa.h3 DSA *get_dsa512(void );
4 DSA *get_dsa1024(void );
5 DSA *get_dsa2048(void );
39 DSA *get_dsa512() in get_dsa512()
41 DSA *dsa; in get_dsa512()
103 DSA *get_dsa1024() in get_dsa1024()
105 DSA *dsa; in get_dsa1024()
200 DSA *get_dsa2048() in get_dsa2048()
202 DSA *dsa; in get_dsa2048()
Ddsa512.pem1 -----BEGIN DSA PARAMETERS-----
6 -----END DSA PARAMETERS-----
Ddsap.pem1 -----BEGIN DSA PARAMETERS-----
6 -----END DSA PARAMETERS-----
Ddsa1024.pem1 -----BEGIN DSA PARAMETERS-----
9 -----END DSA PARAMETERS-----
Ddsa-ca.pem1 -----BEGIN DSA PRIVATE KEY-----
12 -----END DSA PRIVATE KEY-----
Ddsa-pca.pem1 -----BEGIN DSA PRIVATE KEY-----
12 -----END DSA PRIVATE KEY-----
/external/openssl/crypto/x509/
Dx_all.c295 DSA *d2i_DSAPrivateKey_fp(FILE *fp, DSA **dsa) in d2i_DSAPrivateKey_fp()
297 return ASN1_d2i_fp_of(DSA,DSA_new,d2i_DSAPrivateKey,fp,dsa); in d2i_DSAPrivateKey_fp()
300 int i2d_DSAPrivateKey_fp(FILE *fp, DSA *dsa) in i2d_DSAPrivateKey_fp()
302 return ASN1_i2d_fp_of_const(DSA,i2d_DSAPrivateKey,fp,dsa); in i2d_DSAPrivateKey_fp()
305 DSA *d2i_DSA_PUBKEY_fp(FILE *fp, DSA **dsa) in d2i_DSA_PUBKEY_fp()
307 return ASN1_d2i_fp_of(DSA,DSA_new,d2i_DSA_PUBKEY,fp,dsa); in d2i_DSA_PUBKEY_fp()
310 int i2d_DSA_PUBKEY_fp(FILE *fp, DSA *dsa) in i2d_DSA_PUBKEY_fp()
312 return ASN1_i2d_fp_of(DSA,i2d_DSA_PUBKEY,fp,dsa); in i2d_DSA_PUBKEY_fp()
316 DSA *d2i_DSAPrivateKey_bio(BIO *bp, DSA **dsa) in d2i_DSAPrivateKey_bio()
318 return ASN1_d2i_bio_of(DSA,DSA_new,d2i_DSAPrivateKey,bp,dsa in d2i_DSAPrivateKey_bio()
[all …]
Dx509.h699 DSA *d2i_DSA_PUBKEY_fp(FILE *fp, DSA **dsa);
700 int i2d_DSA_PUBKEY_fp(FILE *fp, DSA *dsa);
701 DSA *d2i_DSAPrivateKey_fp(FILE *fp, DSA **dsa);
702 int i2d_DSAPrivateKey_fp(FILE *fp, DSA *dsa);
738 DSA *d2i_DSA_PUBKEY_bio(BIO *bp, DSA **dsa);
739 int i2d_DSA_PUBKEY_bio(BIO *bp, DSA *dsa);
740 DSA *d2i_DSAPrivateKey_bio(BIO *bp, DSA **dsa);
741 int i2d_DSAPrivateKey_bio(BIO *bp, DSA *dsa);
811 int i2d_DSA_PUBKEY(DSA *a,unsigned char **pp);
812 DSA * d2i_DSA_PUBKEY(DSA **a,const unsigned char **pp,
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/
DDSABase.java12 import org.bouncycastle.crypto.DSA;
20 protected DSA signer;
25 DSA signer, in DSABase()
DJDKDSASigner.java22 import org.bouncycastle.crypto.DSA;
43 private DSA signer;
48 DSA signer) in JDKDSASigner()
/external/openssl/crypto/asn1/
Dx_pubkey.c271 DSA *d2i_DSA_PUBKEY(DSA **a, const unsigned char **pp, in d2i_DSA_PUBKEY()
275 DSA *key; in d2i_DSA_PUBKEY()
292 int i2d_DSA_PUBKEY(DSA *a, unsigned char **pp) in i2d_DSA_PUBKEY()
/external/openssh/openbsd-compat/
Dopenssl-compat.c107 DSA_generate_parameters_ex(DSA *dsa, int bits, const unsigned char *seed, in DSA_generate_parameters_ex()
110 DSA *new_dsa, tmp_dsa; in DSA_generate_parameters_ex()

1234