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);
84 OPENSSL_EXPORT DSA *DSA_new_method(const ENGINE *engine);
88 OPENSSL_EXPORT void DSA_free(DSA *dsa);
91 OPENSSL_EXPORT int DSA_up_ref(DSA *dsa);
113 OPENSSL_EXPORT int DSA_generate_parameters_ex(DSA *dsa, unsigned bits,
121 OPENSSL_EXPORT DSA *DSAparams_dup(const DSA *dsa);
129 OPENSSL_EXPORT int DSA_generate_key(DSA *dsa);
149 DSA *dsa);
162 DSA_SIG *sig, const DSA *dsa);
172 const DSA *dsa);
[all …]
Dx509.h656 OPENSSL_EXPORT DSA *d2i_DSA_PUBKEY_fp(FILE *fp, DSA **dsa);
657 OPENSSL_EXPORT int i2d_DSA_PUBKEY_fp(FILE *fp, DSA *dsa);
658 OPENSSL_EXPORT DSA *d2i_DSAPrivateKey_fp(FILE *fp, DSA **dsa);
659 OPENSSL_EXPORT int i2d_DSAPrivateKey_fp(FILE *fp, DSA *dsa);
690 OPENSSL_EXPORT DSA *d2i_DSA_PUBKEY_bio(BIO *bp, DSA **dsa);
691 OPENSSL_EXPORT int i2d_DSA_PUBKEY_bio(BIO *bp, DSA *dsa);
692 OPENSSL_EXPORT DSA *d2i_DSAPrivateKey_bio(BIO *bp, DSA **dsa);
693 OPENSSL_EXPORT int i2d_DSAPrivateKey_bio(BIO *bp, DSA *dsa);
756 OPENSSL_EXPORT int i2d_DSA_PUBKEY(const DSA *a,unsigned char **pp);
757 OPENSSL_EXPORT DSA * d2i_DSA_PUBKEY(DSA **a,const unsigned char **pp,
Dbase.h191 typedef struct dsa_st DSA; typedef
Dpem.h449 DECLARE_PEM_rw_cb(DSAPrivateKey, DSA)
451 DECLARE_PEM_rw(DSA_PUBKEY, DSA)
453 DECLARE_PEM_rw_const(DSAparams, DSA)
/external/boringssl/src/crypto/dsa/
Ddsa_asn1.c76 OPENSSL_PUT_ERROR(DSA, dsa_sig_cb, ERR_R_MALLOC_FAILURE); in dsa_sig_cb()
103 DSA_free((DSA *)*pval); in dsa_cb()
113 ASN1_SIMPLE(DSA, version, LONG),
114 ASN1_SIMPLE(DSA, p, BIGNUM),
115 ASN1_SIMPLE(DSA, q, BIGNUM),
116 ASN1_SIMPLE(DSA, g, BIGNUM),
117 ASN1_SIMPLE(DSA, pub_key, BIGNUM),
118 ASN1_SIMPLE(DSA, priv_key, BIGNUM)} ASN1_SEQUENCE_END_cb(DSA,
121 IMPLEMENT_ASN1_ENCODE_FUNCTIONS_const_fname(DSA, DSAPrivateKey, DSAPrivateKey);
124 ASN1_SIMPLE(DSA, p, BIGNUM), ASN1_SIMPLE(DSA, q, BIGNUM),
[all …]
Ddsa.c80 DSA *DSA_new(void) { return DSA_new_method(NULL); } in DSA_new()
82 DSA *DSA_new_method(const ENGINE *engine) { in DSA_new_method()
83 DSA *dsa = (DSA *)OPENSSL_malloc(sizeof(DSA)); in DSA_new_method()
85 OPENSSL_PUT_ERROR(DSA, DSA_new_method, ERR_R_MALLOC_FAILURE); in DSA_new_method()
89 memset(dsa, 0, sizeof(DSA)); in DSA_new_method()
121 void DSA_free(DSA *dsa) { in DSA_free()
148 int DSA_up_ref(DSA *dsa) { in DSA_up_ref()
153 int DSA_generate_parameters_ex(DSA *dsa, unsigned bits, const uint8_t *seed_in, in DSA_generate_parameters_ex()
164 int DSA_generate_key(DSA *dsa) { in DSA_generate_key()
192 DSA_SIG *DSA_do_sign(const uint8_t *digest, size_t digest_len, DSA *dsa) { in DSA_do_sign()
[all …]
Ddsa_impl.c79 static int sign_setup(const DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, in sign_setup()
86 OPENSSL_PUT_ERROR(DSA, sign_setup, DSA_R_MISSING_PARAMETERS); in sign_setup()
174 OPENSSL_PUT_ERROR(DSA, sign_setup, ERR_R_BN_LIB); in sign_setup()
188 static DSA_SIG *sign(const uint8_t *digest, size_t digest_len, DSA *dsa) { in sign()
272 OPENSSL_PUT_ERROR(DSA, sign, reason); in sign()
285 DSA_SIG *sig, const DSA *dsa) { in verify()
295 OPENSSL_PUT_ERROR(DSA, verify, DSA_R_MISSING_PARAMETERS); in verify()
302 OPENSSL_PUT_ERROR(DSA, verify, DSA_R_BAD_Q_VALUE); in verify()
307 OPENSSL_PUT_ERROR(DSA, verify, DSA_R_MODULUS_TOO_LARGE); in verify()
384 OPENSSL_PUT_ERROR(DSA, verify, ERR_R_BN_LIB); in verify()
[all …]
Ddsa_test.c168 static DSA *get_fips_dsa(void) { in get_fips_dsa()
169 DSA *dsa = DSA_new(); in get_fips_dsa()
188 DSA *dsa = NULL; in test_generate()
259 DSA *dsa = get_fips_dsa(); in test_verify()
/external/boringssl/src/crypto/err/
Ddsa.errordata1 DSA,function,100,DSA_new_method
2 DSA,function,101,dsa_sig_cb
3 DSA,function,102,sign
4 DSA,function,103,sign_setup
5 DSA,function,104,verify
6 DSA,reason,100,BAD_Q_VALUE
7 DSA,reason,101,MISSING_PARAMETERS
8 DSA,reason,102,MODULUS_TOO_LARGE
9 DSA,reason,103,NEED_NEW_SETUP_VALUES
/external/boringssl/src/crypto/pem/
Dpem_all.c122 static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa);
183 static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa) in IMPLEMENT_PEM_write_cb_const()
185 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()
206 IMPLEMENT_PEM_write_cb_const(DSAPrivateKey, DSA, PEM_STRING_DSA, DSAPrivateKey) 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()
212 DSA *PEM_read_DSAPrivateKey(FILE *fp, DSA **dsa, pem_password_cb *cb, in IMPLEMENT_PEM_write_cb_const()
222 IMPLEMENT_PEM_rw_const(DSAparams, DSA, PEM_STRING_DSAPARAMS, DSAparams) in IMPLEMENT_PEM_rw_const() argument
/external/boringssl/src/crypto/x509/
Dx_all.c306 DSA *d2i_DSAPrivateKey_fp(FILE *fp, DSA **dsa) in d2i_DSAPrivateKey_fp()
308 return ASN1_d2i_fp_of(DSA,DSA_new,d2i_DSAPrivateKey,fp,dsa); in d2i_DSAPrivateKey_fp()
311 int i2d_DSAPrivateKey_fp(FILE *fp, DSA *dsa) in i2d_DSAPrivateKey_fp()
313 return ASN1_i2d_fp_of_const(DSA,i2d_DSAPrivateKey,fp,dsa); in i2d_DSAPrivateKey_fp()
316 DSA *d2i_DSA_PUBKEY_fp(FILE *fp, DSA **dsa) in d2i_DSA_PUBKEY_fp()
318 return ASN1_d2i_fp_of(DSA,DSA_new,d2i_DSA_PUBKEY,fp,dsa); in d2i_DSA_PUBKEY_fp()
321 int i2d_DSA_PUBKEY_fp(FILE *fp, DSA *dsa) in i2d_DSA_PUBKEY_fp()
323 return ASN1_i2d_fp_of_const(DSA,i2d_DSA_PUBKEY,fp,dsa); in i2d_DSA_PUBKEY_fp()
327 DSA *d2i_DSAPrivateKey_bio(BIO *bp, DSA **dsa) in d2i_DSAPrivateKey_bio()
329 return ASN1_d2i_bio_of(DSA,DSA_new,d2i_DSAPrivateKey,bp,dsa in d2i_DSAPrivateKey_bio()
[all …]
Dx_pubkey.c275 DSA *d2i_DSA_PUBKEY(DSA **a, const unsigned char **pp, in d2i_DSA_PUBKEY()
279 DSA *key; in d2i_DSA_PUBKEY()
296 int i2d_DSA_PUBKEY(const DSA *a, unsigned char **pp) in i2d_DSA_PUBKEY()
307 EVP_PKEY_set1_DSA(pktmp, (DSA*) a); in i2d_DSA_PUBKEY()
/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/crypto/evp/
Dp_dsa_asn1.c80 DSA *dsa = NULL; in dsa_pub_decode()
131 DSA *dsa; in dsa_pub_encode()
172 DSA *dsa = NULL; in dsa_priv_decode()
336 DSA *dsa; in dsa_missing_parameters()
391 static int do_dsa_print(BIO *bp, const DSA *x, int off, int ptype) { in do_dsa_print()
450 DSA *dsa; in dsa_param_decode()
481 DSA *dsa; in old_dsa_priv_decode()
Devp.c276 int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, DSA *key) { in EVP_PKEY_set1_DSA()
284 int EVP_PKEY_assign_DSA(EVP_PKEY *pkey, DSA *key) { in EVP_PKEY_assign_DSA()
288 DSA *EVP_PKEY_get1_DSA(EVP_PKEY *pkey) { in EVP_PKEY_get1_DSA()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
DDSASigner.java23 import org.bouncycastle.crypto.DSA;
46 private DSA signer;
51 DSA signer) in DSASigner()
/external/openssh/
Dsshkey.h43 # define DSA void macro
105 DSA *dsa;
221 # undef DSA
DPROTOCOL.agent162 The OpenSSH agent supports DSA, ECDSA and RSA keys for protocol 2. DSA
176 DSA certificates may be added with:
241 For DSA, ECDSA and RSA key add requests, "key_constraints" may only be
469 the DSA signature blob is encoded as:
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
DSignatureSpi.java16 import org.bouncycastle.crypto.DSA;
43 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;
23 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/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/
DDSA.java10 public class DSA class
/external/bouncycastle/patches/
Dbcpkix.patch334 addEntries(NISTObjectIdentifiers.dsa_with_sha384, "SHA384", "DSA");
335 addEntries(NISTObjectIdentifiers.dsa_with_sha512, "SHA512", "DSA");
336 addEntries(OIWObjectIdentifiers.dsaWithSHA1, "SHA1", "DSA");
594 addEntries(NISTObjectIdentifiers.dsa_with_sha384, "SHA384", "DSA");
595 addEntries(NISTObjectIdentifiers.dsa_with_sha512, "SHA512", "DSA");
596 addEntries(OIWObjectIdentifiers.dsaWithSHA1, "SHA1", "DSA");
633 encryptionAlgs.put(X9ObjectIdentifiers.id_dsa, "DSA");

12