Home
last modified time | relevance | path

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

12

/external/boringssl/src/include/openssl/
Ddsa.h81 OPENSSL_EXPORT DSA *DSA_new(void);
85 OPENSSL_EXPORT void DSA_free(DSA *dsa);
88 OPENSSL_EXPORT int DSA_up_ref(DSA *dsa);
96 OPENSSL_EXPORT void DSA_get0_key(const DSA *dsa, const BIGNUM **out_pub_key,
101 OPENSSL_EXPORT void DSA_get0_pqg(const DSA *dsa, const BIGNUM **out_p,
110 OPENSSL_EXPORT int DSA_set0_key(DSA *dsa, BIGNUM *pub_key, BIGNUM *priv_key);
117 OPENSSL_EXPORT int DSA_set0_pqg(DSA *dsa, BIGNUM *p, BIGNUM *q, BIGNUM *g);
139 OPENSSL_EXPORT int DSA_generate_parameters_ex(DSA *dsa, unsigned bits,
147 OPENSSL_EXPORT DSA *DSAparams_dup(const DSA *dsa);
155 OPENSSL_EXPORT int DSA_generate_key(DSA *dsa);
[all …]
Dx509.h621 OPENSSL_EXPORT DSA *d2i_DSA_PUBKEY_fp(FILE *fp, DSA **dsa);
622 OPENSSL_EXPORT int i2d_DSA_PUBKEY_fp(FILE *fp, DSA *dsa);
623 OPENSSL_EXPORT DSA *d2i_DSAPrivateKey_fp(FILE *fp, DSA **dsa);
624 OPENSSL_EXPORT int i2d_DSAPrivateKey_fp(FILE *fp, DSA *dsa);
655 OPENSSL_EXPORT DSA *d2i_DSA_PUBKEY_bio(BIO *bp, DSA **dsa);
656 OPENSSL_EXPORT int i2d_DSA_PUBKEY_bio(BIO *bp, DSA *dsa);
657 OPENSSL_EXPORT DSA *d2i_DSAPrivateKey_bio(BIO *bp, DSA **dsa);
658 OPENSSL_EXPORT int i2d_DSAPrivateKey_bio(BIO *bp, DSA *dsa);
726 OPENSSL_EXPORT int i2d_DSA_PUBKEY(const DSA *a,unsigned char **pp);
727 OPENSSL_EXPORT DSA * d2i_DSA_PUBKEY(DSA **a,const unsigned char **pp,
Devp.h150 OPENSSL_EXPORT int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, DSA *key);
151 OPENSSL_EXPORT int EVP_PKEY_assign_DSA(EVP_PKEY *pkey, DSA *key);
152 OPENSSL_EXPORT DSA *EVP_PKEY_get0_DSA(EVP_PKEY *pkey);
153 OPENSSL_EXPORT DSA *EVP_PKEY_get1_DSA(EVP_PKEY *pkey);
812 DSA *dsa;
Dpem.h343 DECLARE_PEM_rw_cb(DSAPrivateKey, DSA)
345 DECLARE_PEM_rw(DSA_PUBKEY, DSA)
347 DECLARE_PEM_rw_const(DSAparams, DSA)
/external/boringssl/src/crypto/dsa/
Ddsa_asn1.c79 OPENSSL_PUT_ERROR(DSA, ERR_R_PASSED_NULL_PARAMETER); in marshal_integer()
95 OPENSSL_PUT_ERROR(DSA, DSA_R_DECODE_ERROR); in DSA_SIG_parse()
108 OPENSSL_PUT_ERROR(DSA, DSA_R_ENCODE_ERROR); in DSA_SIG_marshal()
114 DSA *DSA_parse_public_key(CBS *cbs) { in DSA_parse_public_key()
115 DSA *ret = DSA_new(); in DSA_parse_public_key()
126 OPENSSL_PUT_ERROR(DSA, DSA_R_DECODE_ERROR); in DSA_parse_public_key()
133 int DSA_marshal_public_key(CBB *cbb, const DSA *dsa) { in DSA_marshal_public_key()
141 OPENSSL_PUT_ERROR(DSA, DSA_R_ENCODE_ERROR); in DSA_marshal_public_key()
147 DSA *DSA_parse_parameters(CBS *cbs) { in DSA_parse_parameters()
148 DSA *ret = DSA_new(); in DSA_parse_parameters()
[all …]
Ddsa.c85 static int dsa_sign_setup(const DSA *dsa, BN_CTX *ctx_in, BIGNUM **out_kinv,
90 DSA *DSA_new(void) { in DSA_new()
91 DSA *dsa = OPENSSL_malloc(sizeof(DSA)); in DSA_new()
93 OPENSSL_PUT_ERROR(DSA, ERR_R_MALLOC_FAILURE); in DSA_new()
97 OPENSSL_memset(dsa, 0, sizeof(DSA)); in DSA_new()
107 void DSA_free(DSA *dsa) { in DSA_free()
129 int DSA_up_ref(DSA *dsa) { in DSA_up_ref()
134 void DSA_get0_key(const DSA *dsa, const BIGNUM **out_pub_key, in DSA_get0_key()
144 void DSA_get0_pqg(const DSA *dsa, const BIGNUM **out_p, const BIGNUM **out_q, in DSA_get0_pqg()
157 int DSA_set0_key(DSA *dsa, BIGNUM *pub_key, BIGNUM *priv_key) { in DSA_set0_key()
[all …]
Ddsa_test.cc169 static bssl::UniquePtr<DSA> GetFIPSDSA(void) { in GetFIPSDSA()
170 bssl::UniquePtr<DSA> dsa(DSA_new()); in GetFIPSDSA()
232 bssl::UniquePtr<DSA> dsa(DSA_new()); in TestGenerate()
290 bssl::UniquePtr<DSA> dsa = GetFIPSDSA(); in TestVerify()
/external/boringssl/src/crypto/err/
Ddsa.errordata1 DSA,100,BAD_Q_VALUE
2 DSA,104,BAD_VERSION
3 DSA,105,DECODE_ERROR
4 DSA,106,ENCODE_ERROR
5 DSA,101,MISSING_PARAMETERS
6 DSA,102,MODULUS_TOO_LARGE
7 DSA,103,NEED_NEW_SETUP_VALUES
/external/boringssl/src/crypto/pem/
Dpem_all.c123 static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa);
181 static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa) in IMPLEMENT_PEM_write_cb_const()
183 DSA *dtmp; in IMPLEMENT_PEM_write_cb_const()
197 DSA *PEM_read_bio_DSAPrivateKey(BIO *bp, DSA **dsa, pem_password_cb *cb, in PEM_read_bio_DSAPrivateKey()
205 IMPLEMENT_PEM_write_cb_const(DSAPrivateKey, DSA, PEM_STRING_DSA, in IMPLEMENT_PEM_write_cb_const() argument
208 IMPLEMENT_PEM_rw(DSA_PUBKEY, DSA, PEM_STRING_PUBLIC, DSA_PUBKEY) in IMPLEMENT_PEM_write_cb_const()
210 DSA *PEM_read_DSAPrivateKey(FILE *fp, DSA **dsa, pem_password_cb *cb, void *u) in IMPLEMENT_PEM_write_cb_const()
219 IMPLEMENT_PEM_rw_const(DSAparams, DSA, PEM_STRING_DSAPARAMS, DSAparams) in IMPLEMENT_PEM_rw_const() argument
/external/boringssl/src/crypto/x509/
Dx_all.c267 DSA *d2i_DSAPrivateKey_fp(FILE *fp, DSA **dsa) in d2i_DSAPrivateKey_fp()
269 return ASN1_d2i_fp_of(DSA, DSA_new, d2i_DSAPrivateKey, fp, dsa); in d2i_DSAPrivateKey_fp()
272 int i2d_DSAPrivateKey_fp(FILE *fp, DSA *dsa) in i2d_DSAPrivateKey_fp()
274 return ASN1_i2d_fp_of_const(DSA, i2d_DSAPrivateKey, fp, dsa); in i2d_DSAPrivateKey_fp()
277 DSA *d2i_DSA_PUBKEY_fp(FILE *fp, DSA **dsa) in d2i_DSA_PUBKEY_fp()
279 return ASN1_d2i_fp_of(DSA, DSA_new, d2i_DSA_PUBKEY, fp, dsa); in d2i_DSA_PUBKEY_fp()
282 int i2d_DSA_PUBKEY_fp(FILE *fp, DSA *dsa) in i2d_DSA_PUBKEY_fp()
284 return ASN1_i2d_fp_of_const(DSA, i2d_DSA_PUBKEY, fp, dsa); in i2d_DSA_PUBKEY_fp()
288 DSA *d2i_DSAPrivateKey_bio(BIO *bp, DSA **dsa) in d2i_DSAPrivateKey_bio()
290 return ASN1_d2i_bio_of(DSA, DSA_new, d2i_DSAPrivateKey, bp, dsa); in d2i_DSAPrivateKey_bio()
[all …]
Dx_pubkey.c261 DSA *d2i_DSA_PUBKEY(DSA **a, const unsigned char **pp, long length) in d2i_DSA_PUBKEY()
264 DSA *key; in d2i_DSA_PUBKEY()
282 int i2d_DSA_PUBKEY(const DSA *a, unsigned char **pp) in i2d_DSA_PUBKEY()
293 EVP_PKEY_set1_DSA(pktmp, (DSA *)a); in i2d_DSA_PUBKEY()
/external/wycheproof/doc/
Ddsa.md1 # DSA chapter
5 The digital signature algorithm (DSA) is one of three signature schemes
10 4.2 Selection of Parameter Sizes and Hash Functions for DSA
31 The DSA signature algorithm requires that each signature is computed with a new
33 If that is not the case then DSA signatures can leak the private key that was
41 A DSA signature is a DER encoded tuple of two integers (r,s). To verify a
91 However, Oracle released a patch that removed the length verification in DSA in
96 ….java.net/jdk9/dev/jdk/file/edd7a67585a5/src/java.base/share/classes/sun/security/provider/DSA.java
102 While generating 2048 bit DSA keys in jdk7 was not yet supported, doing so in
111 KeyPairGenerator keygen = KeyPairGenerator.getInstance("DSA");
[all …]
Dbugs.md3 * [DSA](dsa.md)
/external/boringssl/src/crypto/evp/
Dp_dsa_asn1.c71 DSA *dsa; in dsa_pub_decode()
105 const DSA *dsa = key->pkey.dsa; in dsa_pub_encode()
132 DSA *dsa = DSA_parse_parameters(params); in dsa_priv_decode()
170 const DSA *dsa = key->pkey.dsa; in dsa_priv_encode()
203 DSA *dsa; in dsa_missing_parameters()
Devp.c244 int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, DSA *key) { in EVP_PKEY_set1_DSA()
252 int EVP_PKEY_assign_DSA(EVP_PKEY *pkey, DSA *key) { in EVP_PKEY_assign_DSA()
256 DSA *EVP_PKEY_get0_DSA(EVP_PKEY *pkey) { in EVP_PKEY_get0_DSA()
264 DSA *EVP_PKEY_get1_DSA(EVP_PKEY *pkey) { in EVP_PKEY_get1_DSA()
265 DSA *dsa = EVP_PKEY_get0_DSA(pkey); in EVP_PKEY_get1_DSA()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
DDSABase.java10 import org.bouncycastle.crypto.DSA;
18 protected DSA signer;
23 DSA signer, in DSABase()
/external/boringssl/src/decrepit/dsa/
Ddsa_decrepit.c70 DSA *DSA_generate_parameters(int bits, uint8_t *seed_in, int seed_len, in DSA_generate_parameters()
77 DSA *ret = DSA_new(); in DSA_generate_parameters()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
DDSASigner.java21 import org.bouncycastle.crypto.DSA;
40 private DSA signer;
45 DSA signer) in DSASigner()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
DSignatureSpi.java16 import org.bouncycastle.crypto.DSA;
39 SignatureSpi(Digest digest, DSA signer, DSAEncoder encoder) in SignatureSpi()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/signers/
DDSASigner.java7 import org.bouncycastle.crypto.DSA;
19 implements DSA
DECDSASigner.java7 import org.bouncycastle.crypto.DSA;
25 implements ECConstants, DSA
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
DDSA.java8 public interface DSA interface
/external/libxml2/result/c14n/without-comments/
Dtest-17 CN=Test DSA CA,O=Baltimore Technologies\, Ltd.,ST=Dublin,C=IE
/external/wycheproof/
DBUILD34 # This test takes a long time, because key generation for DSA and DH generate new parameters.
64 # This test takes a long time, because key generation for DSA and DH generate new parameters.
/external/conscrypt/platform/src/main/java/org/conscrypt/ct/
DDigitallySigned.java52 DSA, enumConstant

12