Home
last modified time | relevance | path

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

123456

/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Ddsa.h85 OPENSSL_EXPORT DSA *DSA_new(void);
89 OPENSSL_EXPORT void DSA_free(DSA *dsa);
92 OPENSSL_EXPORT int DSA_up_ref(DSA *dsa);
98 OPENSSL_EXPORT const BIGNUM *DSA_get0_pub_key(const DSA *dsa);
102 OPENSSL_EXPORT const BIGNUM *DSA_get0_priv_key(const DSA *dsa);
105 OPENSSL_EXPORT const BIGNUM *DSA_get0_p(const DSA *dsa);
108 OPENSSL_EXPORT const BIGNUM *DSA_get0_q(const DSA *dsa);
111 OPENSSL_EXPORT const BIGNUM *DSA_get0_g(const DSA *dsa);
116 OPENSSL_EXPORT void DSA_get0_key(const DSA *dsa, const BIGNUM **out_pub_key,
121 OPENSSL_EXPORT void DSA_get0_pqg(const DSA *dsa, const BIGNUM **out_p,
[all …]
/external/boringssl/src/include/openssl/
Ddsa.h85 OPENSSL_EXPORT DSA *DSA_new(void);
89 OPENSSL_EXPORT void DSA_free(DSA *dsa);
92 OPENSSL_EXPORT int DSA_up_ref(DSA *dsa);
98 OPENSSL_EXPORT const BIGNUM *DSA_get0_pub_key(const DSA *dsa);
102 OPENSSL_EXPORT const BIGNUM *DSA_get0_priv_key(const DSA *dsa);
105 OPENSSL_EXPORT const BIGNUM *DSA_get0_p(const DSA *dsa);
108 OPENSSL_EXPORT const BIGNUM *DSA_get0_q(const DSA *dsa);
111 OPENSSL_EXPORT const BIGNUM *DSA_get0_g(const DSA *dsa);
116 OPENSSL_EXPORT void DSA_get0_key(const DSA *dsa, const BIGNUM **out_pub_key,
121 OPENSSL_EXPORT void DSA_get0_pqg(const DSA *dsa, const BIGNUM **out_p,
[all …]
/external/boringssl/src/crypto/dsa/
Ddsa_asn1.c73 int dsa_check_parameters(const DSA *dsa) { in dsa_check_parameters()
75 OPENSSL_PUT_ERROR(DSA, DSA_R_MISSING_PARAMETERS); in dsa_check_parameters()
82 OPENSSL_PUT_ERROR(DSA, DSA_R_INVALID_PARAMETERS); in dsa_check_parameters()
89 OPENSSL_PUT_ERROR(DSA, DSA_R_BAD_Q_VALUE); in dsa_check_parameters()
96 OPENSSL_PUT_ERROR(DSA, DSA_R_MODULUS_TOO_LARGE); in dsa_check_parameters()
115 OPENSSL_PUT_ERROR(DSA, ERR_R_PASSED_NULL_PARAMETER); in marshal_integer()
131 OPENSSL_PUT_ERROR(DSA, DSA_R_DECODE_ERROR); in DSA_SIG_parse()
144 OPENSSL_PUT_ERROR(DSA, DSA_R_ENCODE_ERROR); in DSA_SIG_marshal()
150 DSA *DSA_parse_public_key(CBS *cbs) { in DSA_parse_public_key()
151 DSA *ret = DSA_new(); in DSA_parse_public_key()
[all …]
Ddsa.c84 static int dsa_sign_setup(const DSA *dsa, BN_CTX *ctx_in, BIGNUM **out_kinv,
89 DSA *DSA_new(void) { in DSA_new()
90 DSA *dsa = OPENSSL_malloc(sizeof(DSA)); in DSA_new()
92 OPENSSL_PUT_ERROR(DSA, ERR_R_MALLOC_FAILURE); in DSA_new()
96 OPENSSL_memset(dsa, 0, sizeof(DSA)); in DSA_new()
106 void DSA_free(DSA *dsa) { in DSA_free()
128 int DSA_up_ref(DSA *dsa) { in DSA_up_ref()
133 const BIGNUM *DSA_get0_pub_key(const DSA *dsa) { return dsa->pub_key; } in DSA_get0_pub_key()
135 const BIGNUM *DSA_get0_priv_key(const DSA *dsa) { return dsa->priv_key; } in DSA_get0_priv_key()
137 const BIGNUM *DSA_get0_p(const DSA *dsa) { return dsa->p; } in DSA_get0_p()
[all …]
Ddsa_test.cc171 static bssl::UniquePtr<DSA> GetFIPSDSA(void) { in GetFIPSDSA()
172 bssl::UniquePtr<DSA> dsa(DSA_new()); in GetFIPSDSA()
234 bssl::UniquePtr<DSA> dsa(DSA_new()); in TestGenerate()
292 bssl::UniquePtr<DSA> dsa = GetFIPSDSA(); in TestVerify()
322 bssl::UniquePtr<DSA> dsa = GetFIPSDSA(); in TEST()
/external/rust/crates/quiche/deps/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 const BIGNUM *DSA_get0_pub_key(const DSA *dsa) { return dsa->pub_key; } in DSA_get0_pub_key()
136 const BIGNUM *DSA_get0_priv_key(const DSA *dsa) { return dsa->priv_key; } in DSA_get0_priv_key()
138 const BIGNUM *DSA_get0_p(const DSA *dsa) { return dsa->p; } in DSA_get0_p()
[all …]
Ddsa_test.cc171 static bssl::UniquePtr<DSA> GetFIPSDSA(void) { in GetFIPSDSA()
172 bssl::UniquePtr<DSA> dsa(DSA_new()); in GetFIPSDSA()
234 bssl::UniquePtr<DSA> dsa(DSA_new()); in TestGenerate()
292 bssl::UniquePtr<DSA> dsa = GetFIPSDSA(); in TestVerify()
322 bssl::UniquePtr<DSA> dsa = GetFIPSDSA(); in TEST()
/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,107,INVALID_PARAMETERS
6 DSA,101,MISSING_PARAMETERS
7 DSA,102,MODULUS_TOO_LARGE
8 DSA,103,NEED_NEW_SETUP_VALUES
/external/rust/crates/quiche/deps/boringssl/src/crypto/pem/
Dpem_all.c121 static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa);
180 static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa) in IMPLEMENT_PEM_write_cb_const()
182 DSA *dtmp; in IMPLEMENT_PEM_write_cb_const()
196 DSA *PEM_read_bio_DSAPrivateKey(BIO *bp, DSA **dsa, pem_password_cb *cb, in PEM_read_bio_DSAPrivateKey()
204 IMPLEMENT_PEM_write_cb_const(DSAPrivateKey, DSA, PEM_STRING_DSA, in IMPLEMENT_PEM_write_cb_const() argument
207 IMPLEMENT_PEM_rw(DSA_PUBKEY, DSA, PEM_STRING_PUBLIC, DSA_PUBKEY) in IMPLEMENT_PEM_write_cb_const()
209 DSA *PEM_read_DSAPrivateKey(FILE *fp, DSA **dsa, pem_password_cb *cb, void *u) in IMPLEMENT_PEM_write_cb_const()
218 IMPLEMENT_PEM_rw_const(DSAparams, DSA, PEM_STRING_DSAPARAMS, DSAparams) in IMPLEMENT_PEM_rw_const() argument
/external/boringssl/src/crypto/pem/
Dpem_all.c121 static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa);
180 static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa) in IMPLEMENT_PEM_write_cb_const()
182 DSA *dtmp; in IMPLEMENT_PEM_write_cb_const()
196 DSA *PEM_read_bio_DSAPrivateKey(BIO *bp, DSA **dsa, pem_password_cb *cb, in PEM_read_bio_DSAPrivateKey()
204 IMPLEMENT_PEM_write_cb_const(DSAPrivateKey, DSA, PEM_STRING_DSA, in IMPLEMENT_PEM_write_cb_const() argument
207 IMPLEMENT_PEM_rw(DSA_PUBKEY, DSA, PEM_STRING_PUBLIC, DSA_PUBKEY) in IMPLEMENT_PEM_write_cb_const()
209 DSA *PEM_read_DSAPrivateKey(FILE *fp, DSA **dsa, pem_password_cb *cb, void *u) in IMPLEMENT_PEM_write_cb_const()
218 IMPLEMENT_PEM_rw_const(DSAparams, DSA, PEM_STRING_DSAPARAMS, DSAparams) in IMPLEMENT_PEM_rw_const() argument
/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 …]
/external/openssh/regress/unittests/hostkeys/testdata/
Dknown_hosts2 …n2pB3VTXhPPEBjYzE5qANanAT4e6tzAVc5f3DUhHaDknwRYfDz86GFvuLtDjeE/UZ9t6OofYoEsCBpYozLAprBvNIQY= DSA #1
8 …c8xCob0ilyQbt9O0GbONeF2Ge7D2UJyULA/hxql+tCYFIC6yUrmo35fF9XiNisXLoaflk9fjp7ROWWVwnki/jstaQw== DSA #2
14 …TRiqIbQauivp3bHHKYsG6wiJNqwdbVwIjfvv8nn1qFoZQLXG3sdONr9NwN8KzrX89OV0BlR2dVM5qqp+YxOXymP9yg== DSA #3
20 …eCf0S2Ytx93+eADwVVpJbFJo6zSwfeey2Gm6L2oA+rCz9zTdmtZoekpD3/RAOQjnJIAPwbs7mXwabZTw4xRtiYIRrw== DSA #5
25 …FMOiw/zSqK2OfVwPZ9U+TTKdc992ChSup6vJEKM/ZVIyDWDbJr7igQ4ahy7jo9mFvm8ljN926EnspQzCvs0Dxk6tHA== DSA #6
26 …FMOiw/zSqK2OfVwPZ9U+TTKdc992ChSup6vJEKM/ZVIyDWDbJr7igQ4ahy7jo9mFvm8ljN926EnspQzCvs0Dxk6tHA== DSA #6
27 …FMOiw/zSqK2OfVwPZ9U+TTKdc992ChSup6vJEKM/ZVIyDWDbJr7igQ4ahy7jo9mFvm8ljN926EnspQzCvs0Dxk6tHA== DSA #6
42 …m7fKxLWVxA+lEsA4WeC885CiZn8xhdaJOCN+NyJ2bqkz+4VPI7oDGBm0aFwUqJn+M1PiSgvI50XdF2dBsFRTRNY0wzA= DSA #4
45 …n2pB3VTXhPPEBjYzE5qANanAT4e6tzAVc5f3DUhHaDknwRYfDz86GFvuLtDjeE/UZ9t6OofYoEsCBpYozLAprBvNIQY= DSA #1
/external/python/cryptography/vectors/cryptography_vectors/asymmetric/DSA/FIPS_186-2/
DReadme.txt1 Example test files for FIPS 186-2 DSA
5 2. The file PQGGen.txt contains values for DSA domain parameter generation with intermediate result…
8 3. The file SigGen.txt contains values for DSA signature generation with the
/external/python/cryptography/docs/hazmat/primitives/asymmetric/
Ddsa.rst3 DSA title
8 `DSA`_ is a `public-key`_ algorithm for signing messages.
17 Generate a DSA private key from the given key size. This function will
41 Generate DSA parameters using the provided ``backend``.
153 The collection of integers that make up a set of DSA parameters.
185 The collection of integers that make up a DSA public key.
212 The collection of integers that make up a DSA private key.
247 `DSA`_ parameters.
253 Generate a DSA private key. This method can be used to generate many
281 A `DSA`_ private key. A DSA private key that is not an
[all …]
/external/python/cryptography/vectors/cryptography_vectors/asymmetric/PEM_Serialization/
DREADME.txt12 6. dsaparam.pem - Contains 2048-bit DSA parameters generated using OpenSSL; contains no keys.
13 7. dsa_private_key.pem - Contains a DSA 2048 bit key generated using OpenSSL from the parameters in
15 8. dsa_public_key.pem - Contains a DSA 2048 bit key generated using OpenSSL from dsa_private_key.pe…
/external/rust/crates/quiche/deps/boringssl/src/crypto/x509/
Dx_all.c276 IMPLEMENT_D2I_FP(DSA, d2i_DSAPrivateKey_fp, d2i_DSAPrivateKey_bio)
277 IMPLEMENT_I2D_FP(DSA, i2d_DSAPrivateKey_fp, i2d_DSAPrivateKey_bio)
279 IMPLEMENT_D2I_FP(DSA, d2i_DSA_PUBKEY_fp, d2i_DSA_PUBKEY_bio)
280 IMPLEMENT_I2D_FP(DSA, i2d_DSA_PUBKEY_fp, i2d_DSA_PUBKEY_bio)
283 IMPLEMENT_D2I_BIO(DSA, d2i_DSAPrivateKey_bio, d2i_DSAPrivateKey)
284 IMPLEMENT_I2D_BIO(DSA, i2d_DSAPrivateKey_bio, i2d_DSAPrivateKey)
286 IMPLEMENT_D2I_BIO(DSA, d2i_DSA_PUBKEY_bio, d2i_DSA_PUBKEY)
287 IMPLEMENT_I2D_BIO(DSA, i2d_DSA_PUBKEY_bio, i2d_DSA_PUBKEY)
/external/boringssl/src/crypto/x509/
Dx_all.c276 IMPLEMENT_D2I_FP(DSA, d2i_DSAPrivateKey_fp, d2i_DSAPrivateKey_bio)
277 IMPLEMENT_I2D_FP(DSA, i2d_DSAPrivateKey_fp, i2d_DSAPrivateKey_bio)
279 IMPLEMENT_D2I_FP(DSA, d2i_DSA_PUBKEY_fp, d2i_DSA_PUBKEY_bio)
280 IMPLEMENT_I2D_FP(DSA, i2d_DSA_PUBKEY_fp, i2d_DSA_PUBKEY_bio)
283 IMPLEMENT_D2I_BIO(DSA, d2i_DSAPrivateKey_bio, d2i_DSAPrivateKey)
284 IMPLEMENT_I2D_BIO(DSA, i2d_DSAPrivateKey_bio, i2d_DSAPrivateKey)
286 IMPLEMENT_D2I_BIO(DSA, d2i_DSA_PUBKEY_bio, d2i_DSA_PUBKEY)
287 IMPLEMENT_I2D_BIO(DSA, i2d_DSA_PUBKEY_bio, i2d_DSA_PUBKEY)
/external/rust/crates/quiche/deps/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()
/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()
174 const DSA *dsa = key->pkey.dsa; in dsa_priv_encode()
207 DSA *dsa; in dsa_missing_parameters()
/external/openssh/openbsd-compat/
Dopenssl-compat.h98 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, const BIGNUM **q,
103 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g);
107 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key,
112 int DSA_set0_key(DSA *d, BIGNUM *pub_key, BIGNUM *priv_key);
/external/openssh/regress/unittests/sshkey/testdata/
Ddsa_21 -----BEGIN DSA PRIVATE KEY-----
12 -----END DSA PRIVATE KEY-----
Ddsa_11 -----BEGIN DSA PRIVATE KEY-----
12 -----END DSA PRIVATE KEY-----
/external/python/cryptography/vectors/cryptography_vectors/asymmetric/Traditional_OpenSSL_Serialization/
Ddsa.1024.pem1 -----BEGIN DSA PRIVATE KEY-----
12 -----END DSA PRIVATE KEY-----
/external/python/cryptography/vectors/cryptography_vectors/asymmetric/public/PKCS1/
Ddsa.pub.pem1 -----BEGIN DSA PUBLIC KEY-----
7 -----END DSA PUBLIC KEY-----

123456