Home
last modified time | relevance | path

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

123

/external/openssl/include/openssl/
Ddsa.h71 #error DSA is disabled.
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);
133 int (*dsa_paramgen)(DSA *dsa, int bits,
138 int (*dsa_keygen)(DSA *dsa);
[all …]
Dx509.h680 #define d2i_DSAPrivateKey_fp(fp,dsa) (DSA *)ASN1_d2i_fp((char *(*)())\
685 #define d2i_DSAPrivateKey_bio(bp,dsa) (DSA *)ASN1_d2i_bio((char *(*)())\
800 DSA *d2i_DSA_PUBKEY_fp(FILE *fp, DSA **dsa);
801 int i2d_DSA_PUBKEY_fp(FILE *fp, DSA *dsa);
802 DSA *d2i_DSAPrivateKey_fp(FILE *fp, DSA **dsa);
803 int i2d_DSAPrivateKey_fp(FILE *fp, DSA *dsa);
839 DSA *d2i_DSA_PUBKEY_bio(BIO *bp, DSA **dsa);
840 int i2d_DSA_PUBKEY_bio(BIO *bp, DSA *dsa);
841 DSA *d2i_DSAPrivateKey_bio(BIO *bp, DSA **dsa);
842 int i2d_DSAPrivateKey_bio(BIO *bp, DSA *dsa);
[all …]
/external/openssl/crypto/dsa/
Ddsa.h71 #error DSA is disabled.
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);
133 int (*dsa_paramgen)(DSA *dsa, int bits,
138 int (*dsa_keygen)(DSA *dsa);
[all …]
Ddsa_asn1.c96 DSA_free((DSA *)*pval);
104 ASN1_SIMPLE(DSA, version, LONG),
105 ASN1_SIMPLE(DSA, p, BIGNUM),
106 ASN1_SIMPLE(DSA, q, BIGNUM),
107 ASN1_SIMPLE(DSA, g, BIGNUM),
108 ASN1_SIMPLE(DSA, pub_key, BIGNUM),
109 ASN1_SIMPLE(DSA, priv_key, BIGNUM)
110 } ASN1_SEQUENCE_END_cb(DSA, DSAPrivateKey)
112 IMPLEMENT_ASN1_ENCODE_FUNCTIONS_const_fname(DSA, DSAPrivateKey, DSAPrivateKey)
115 ASN1_SIMPLE(DSA, p, BIGNUM),
[all …]
Ddsa_lib.c89 DSA *DSA_new(void) in DSA_new()
94 int DSA_set_method(DSA *dsa, const DSA_METHOD *meth) in DSA_set_method()
113 DSA *DSA_new_method(ENGINE *engine) in DSA_new_method()
115 DSA *ret; in DSA_new_method()
117 ret=(DSA *)OPENSSL_malloc(sizeof(DSA)); in DSA_new_method()
182 void DSA_free(DSA *r) in DSA_free()
220 int DSA_up_ref(DSA *r) in DSA_up_ref()
236 int DSA_size(const DSA *r) in DSA_size()
265 int DSA_set_ex_data(DSA *d, int idx, void *arg) in DSA_set_ex_data()
270 void *DSA_get_ex_data(DSA *d, int idx) in DSA_get_ex_data()
[all …]
Ddsa_ossl.c68 static DSA_SIG *dsa_do_sign(const unsigned char *dgst, int dlen, DSA *dsa);
69 static int dsa_sign_setup(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp);
71 DSA *dsa);
72 static int dsa_init(DSA *dsa);
73 static int dsa_finish(DSA *dsa);
130 static DSA_SIG *dsa_do_sign(const unsigned char *dgst, int dlen, DSA *dsa) in dsa_do_sign()
202 static int dsa_sign_setup(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp) in dsa_sign_setup()
295 DSA *dsa) in dsa_do_verify()
381 static int dsa_init(DSA *dsa) in dsa_init()
387 static int dsa_finish(DSA *dsa) in dsa_finish()
Ddsa_sign.c68 DSA_SIG * DSA_do_sign(const unsigned char *dgst, int dlen, DSA *dsa) in DSA_do_sign()
74 unsigned int *siglen, DSA *dsa) in DSA_sign()
88 int DSA_sign_setup(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp) in DSA_sign_setup()
Ddsa_key.c67 static int dsa_builtin_keygen(DSA *dsa);
69 int DSA_generate_key(DSA *dsa) in DSA_generate_key()
76 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_vrf.c70 DSA *dsa) in DSA_do_verify()
82 const unsigned char *sigbuf, int siglen, DSA *dsa) in DSA_verify()
Ddsa_gen.c85 static int dsa_builtin_paramgen(DSA *ret, int bits,
89 int DSA_generate_parameters_ex(DSA *ret, int bits, in DSA_generate_parameters_ex()
100 static int dsa_builtin_paramgen(DSA *ret, int bits, in dsa_builtin_paramgen()
Ddsagen.c98 DSA *dsa; in main()
/external/openssl/crypto/pem/
Dpem_all.c134 static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa);
205 static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa) in IMPLEMENT_PEM_write_cb_const()
207 DSA *dtmp; in IMPLEMENT_PEM_write_cb_const()
219 DSA *PEM_read_bio_DSAPrivateKey(BIO *bp, DSA **dsa, pem_password_cb *cb, in PEM_read_bio_DSAPrivateKey()
227 IMPLEMENT_PEM_write_cb_const(DSAPrivateKey, DSA, PEM_STRING_DSA, DSAPrivateKey) in IMPLEMENT_PEM_write_cb_const() argument
228 IMPLEMENT_PEM_rw(DSA_PUBKEY, DSA, PEM_STRING_PUBLIC, DSA_PUBKEY) in IMPLEMENT_PEM_write_cb_const()
232 DSA *PEM_read_DSAPrivateKey(FILE *fp, DSA **dsa, pem_password_cb *cb, in IMPLEMENT_PEM_write_cb_const()
242 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.c282 DSA *d2i_DSAPrivateKey_fp(FILE *fp, DSA **dsa) in d2i_DSAPrivateKey_fp()
284 return ASN1_d2i_fp_of(DSA,DSA_new,d2i_DSAPrivateKey,fp,dsa); in d2i_DSAPrivateKey_fp()
287 int i2d_DSAPrivateKey_fp(FILE *fp, DSA *dsa) in i2d_DSAPrivateKey_fp()
289 return ASN1_i2d_fp_of_const(DSA,i2d_DSAPrivateKey,fp,dsa); in i2d_DSAPrivateKey_fp()
292 DSA *d2i_DSA_PUBKEY_fp(FILE *fp, DSA **dsa) in d2i_DSA_PUBKEY_fp()
294 return ASN1_d2i_fp_of(DSA,DSA_new,d2i_DSA_PUBKEY,fp,dsa); in d2i_DSA_PUBKEY_fp()
297 int i2d_DSA_PUBKEY_fp(FILE *fp, DSA *dsa) in i2d_DSA_PUBKEY_fp()
299 return ASN1_i2d_fp_of(DSA,i2d_DSA_PUBKEY,fp,dsa); in i2d_DSA_PUBKEY_fp()
303 DSA *d2i_DSAPrivateKey_bio(BIO *bp, DSA **dsa) in d2i_DSAPrivateKey_bio()
305 return ASN1_d2i_bio_of(DSA,DSA_new,d2i_DSAPrivateKey,bp,dsa in d2i_DSAPrivateKey_bio()
[all …]
Dx509.h680 #define d2i_DSAPrivateKey_fp(fp,dsa) (DSA *)ASN1_d2i_fp((char *(*)())\
685 #define d2i_DSAPrivateKey_bio(bp,dsa) (DSA *)ASN1_d2i_bio((char *(*)())\
800 DSA *d2i_DSA_PUBKEY_fp(FILE *fp, DSA **dsa);
801 int i2d_DSA_PUBKEY_fp(FILE *fp, DSA *dsa);
802 DSA *d2i_DSAPrivateKey_fp(FILE *fp, DSA **dsa);
803 int i2d_DSAPrivateKey_fp(FILE *fp, DSA *dsa);
839 DSA *d2i_DSA_PUBKEY_bio(BIO *bp, DSA **dsa);
840 int i2d_DSA_PUBKEY_bio(BIO *bp, DSA *dsa);
841 DSA *d2i_DSAPrivateKey_bio(BIO *bp, DSA **dsa);
842 int i2d_DSAPrivateKey_bio(BIO *bp, DSA *dsa);
[all …]
/external/openssl/crypto/asn1/
Dx_pubkey.c125 DSA *dsa;
456 DSA *d2i_DSA_PUBKEY(DSA **a, const unsigned char **pp, in d2i_DSA_PUBKEY()
460 DSA *key; in d2i_DSA_PUBKEY()
477 int i2d_DSA_PUBKEY(DSA *a, unsigned char **pp) in i2d_DSA_PUBKEY()
/external/openssl/crypto/engine/
Deng_cryptodev.c105 static int cryptodev_dsa_bn_mod_exp(DSA *dsa, BIGNUM *r, BIGNUM *a,
107 static int cryptodev_dsa_dsa_mod_exp(DSA *dsa, BIGNUM *t1, BIGNUM *g,
111 int dlen, DSA *dsa);
113 DSA_SIG *sig, DSA *dsa);
824 cryptodev_dsa_bn_mod_exp(DSA *dsa, BIGNUM *r, BIGNUM *a, const BIGNUM *p, in cryptodev_dsa_bn_mod_exp()
831 cryptodev_dsa_dsa_mod_exp(DSA *dsa, BIGNUM *t1, BIGNUM *g, in cryptodev_dsa_dsa_mod_exp()
863 cryptodev_dsa_do_sign(const unsigned char *dgst, int dlen, DSA *dsa) in cryptodev_dsa_do_sign()
911 DSA_SIG *sig, DSA *dsa) in cryptodev_dsa_verify()
DREADME60 Already there is a problem with the way ENGINE supports RSA, DSA, etc whereby
66 ENGINE code being linked in *and* because of that DSA, DH, and RAND also. If we
72 hooking to ENGINE works from RSA, DSA, DH, RAND, as well as adding new hooking
86 A look at the EVP_CIPHER hooking is most explanatory, the RSA, DSA (etc) cases
128 other APIs, such as the RSA/DSA/etc library code.
158 RSA, DSA, DH, and RAND all have their own ENGINE_TABLE code as well, and the
199 mechanism now used by RSA/DSA/..., because there's no such thing as a BIGNUM
205 RSA, DSA, DH, and RAND functions that were fiddled during the original ENGINE
/external/openssl/crypto/evp/
Dp_lib.c216 DSA *dsa; in EVP_PKEY_missing_parameters()
363 int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, DSA *key) in EVP_PKEY_set1_DSA()
371 DSA *EVP_PKEY_get1_DSA(EVP_PKEY *pkey) in EVP_PKEY_get1_DSA()

123