Home
last modified time | relevance | path

Searched refs:dsa (Results 26 – 50 of 98) sorted by relevance

1234

/openssl/doc/man3/
H A DDSA_do_sign.pod9 #include <openssl/dsa.h>
15 DSA_SIG *DSA_do_sign(const unsigned char *dgst, int dlen, DSA *dsa);
18 DSA_SIG *sig, DSA *dsa);
27 digest B<dgst> using the private key B<dsa> and returns it in a
35 message digest B<dgst> of size B<len>. B<dsa> is the signer's public
H A DDSA_new.pod9 #include <openssl/dsa.h>
17 void DSA_free(DSA *dsa);
29 If B<dsa> is NULL nothing is done.
H A DDSA_set_method.pod10 #include <openssl/dsa.h>
20 int DSA_set_method(DSA *dsa, const DSA_METHOD *meth);
75 the method for B<dsa> (including unloading the ENGINE handle if the previous
H A DDSA_generate_parameters.pod9 #include <openssl/dsa.h>
15 int DSA_generate_parameters_ex(DSA *dsa, int bits,
35 for use in the DSA and stores the result in B<dsa>.
H A DDSA_meth_new.pod17 #include <openssl/dsa.h>
53 int (*DSA_meth_get_mod_exp(const DSA_METHOD *dsam))(DSA *dsa, BIGNUM *rr, BIGNUM *a1,
57 int DSA_meth_set_mod_exp(DSA_METHOD *dsam, int (*mod_exp)(DSA *dsa, BIGNUM *rr,
63 int (*DSA_meth_get_bn_mod_exp(const DSA_METHOD *dsam))(DSA *dsa, BIGNUM *r, BIGNUM *a,
66 int DSA_meth_set_bn_mod_exp(DSA_METHOD *dsam, int (*bn_mod_exp)(DSA *dsa,
/openssl/providers/
H A Dencoders.inc23 #define ENCODER_STRUCTURE_DSA "dsa"
56 ENCODER_TEXT("DSA", dsa, yes),
106 ENCODER_w_structure("DSA", dsa, yes, der, type_specific),
107 ENCODER_w_structure("DSA", dsa, yes, pem, type_specific),
128 ENCODER("DSA", dsa, yes, msblob),
129 ENCODER("DSA", dsa, yes, pvk),
172 ENCODER_w_structure("DSA", dsa, yes, der, PrivateKeyInfo),
173 ENCODER_w_structure("DSA", dsa, yes, pem, PrivateKeyInfo),
174 ENCODER_w_structure("DSA", dsa, yes, der, SubjectPublicKeyInfo),
244 ENCODER_w_structure("DSA", dsa, yes, der, DSA),
[all …]
H A Dfips.module.sources139 crypto/dsa/dsa_backend.c
140 crypto/dsa/dsa_check.c
141 crypto/dsa/dsa_gen.c
142 crypto/dsa/dsa_key.c
143 crypto/dsa/dsa_lib.c
144 crypto/dsa/dsa_local.h
145 crypto/dsa/dsa_ossl.c
146 crypto/dsa/dsa_sign.c
147 crypto/dsa/dsa_vrf.c
390 include/crypto/dsa.h
[all …]
/openssl/providers/common/
H A Dsecuritycheck.c150 int ossl_dsa_check_key(OSSL_LIB_CTX *ctx, const DSA *dsa, int sign) in ossl_dsa_check_key() argument
157 if (dsa == NULL) in ossl_dsa_check_key()
160 p = DSA_get0_p(dsa); in ossl_dsa_check_key()
161 q = DSA_get0_q(dsa); in ossl_dsa_check_key()
/openssl/crypto/objects/
H A Dobj_xref.txt33 dsaWithSHA sha dsa
34 dsaWithSHA1 sha1 dsa
50 dsa_with_SHA224 sha224 dsa
51 dsa_with_SHA256 sha256 dsa
/openssl/include/openssl/
H A Ddsa.h119 DSA *dsa);
121 DSA_SIG *sig, DSA *dsa);
127 OSSL_DEPRECATEDIN_3_0 int DSA_set_method(DSA *dsa, const DSA_METHOD *);
139 OSSL_DEPRECATEDIN_3_0 int DSA_sign_setup(DSA *dsa, BN_CTX *ctx_in,
143 unsigned int *siglen, DSA *dsa);
146 int siglen, DSA *dsa);
172 OSSL_DEPRECATEDIN_3_0 int DSA_generate_parameters_ex(DSA *dsa, int bits,
/openssl/test/recipes/04-test_pem_reading_data/
H A DNOTES.txt1 The cert-*.pem and dsa-*.pem files are generated as manipulation of the
2 ASCII text of cert.pem and dsa.pem, respectively -- they should decode to the
/openssl/crypto/x509/
H A Dx_all.c402 DSA *d2i_DSAPrivateKey_fp(FILE *fp, DSA **dsa) in d2i_DSAPrivateKey_fp() argument
407 int i2d_DSAPrivateKey_fp(FILE *fp, const DSA *dsa) in i2d_DSAPrivateKey_fp() argument
409 return ASN1_i2d_fp_of(DSA, i2d_DSAPrivateKey, fp, dsa); in i2d_DSAPrivateKey_fp()
412 DSA *d2i_DSA_PUBKEY_fp(FILE *fp, DSA **dsa) in d2i_DSA_PUBKEY_fp() argument
417 int i2d_DSA_PUBKEY_fp(FILE *fp, const DSA *dsa) in i2d_DSA_PUBKEY_fp() argument
419 return ASN1_i2d_fp_of(DSA, i2d_DSA_PUBKEY, fp, dsa); in i2d_DSA_PUBKEY_fp()
423 DSA *d2i_DSAPrivateKey_bio(BIO *bp, DSA **dsa) in d2i_DSAPrivateKey_bio() argument
428 int i2d_DSAPrivateKey_bio(BIO *bp, const DSA *dsa) in i2d_DSAPrivateKey_bio() argument
433 DSA *d2i_DSA_PUBKEY_bio(BIO *bp, DSA **dsa) in d2i_DSA_PUBKEY_bio() argument
438 int i2d_DSA_PUBKEY_bio(BIO *bp, const DSA *dsa) in i2d_DSA_PUBKEY_bio() argument
[all …]
/openssl/crypto/pem/
H A Dpvkfmt.c379 DSA *dsa = NULL; in ossl_b2i_DSA_after_header() local
385 dsa = DSA_new(); in ossl_b2i_DSA_after_header()
386 if (dsa == NULL) in ossl_b2i_DSA_after_header()
420 if (!DSA_set0_pqg(dsa, pbn, qbn, gbn)) in ossl_b2i_DSA_after_header()
423 if (!DSA_set0_key(dsa, pub_key, priv_key)) in ossl_b2i_DSA_after_header()
428 return dsa; in ossl_b2i_DSA_after_header()
437 DSA_free(dsa); in ossl_b2i_DSA_after_header()
705 DSA_get0_pqg(dsa, &p, &q, &g); in check_bitlen_dsa()
706 DSA_get0_key(dsa, &pub_key, &priv_key); in check_bitlen_dsa()
733 DSA_get0_pqg(dsa, &p, &q, &g); in write_dsa()
[all …]
/openssl/providers/implementations/encode_decode/
H A Dencode_key2ms.c229 MAKE_MS_ENCODER(dsa, pvk, dsa);
230 MAKE_MS_ENCODER(dsa, msblob, dsa);
H A Ddecode_der2key.c801 MAKE_DECODER("DSA", dsa, dsa, PrivateKeyInfo);
802 MAKE_DECODER("DSA", dsa, dsa, SubjectPublicKeyInfo);
803 MAKE_DECODER("DSA", dsa, dsa, type_specific);
804 MAKE_DECODER("DSA", dsa, dsa, DSA);
H A Dencode_key2text.c294 const DSA *dsa = key; in dsa_to_text() local
300 if (out == NULL || dsa == NULL) { in dsa_to_text()
313 priv_key = DSA_get0_priv_key(dsa); in dsa_to_text()
320 pub_key = DSA_get0_pub_key(dsa); in dsa_to_text()
327 params = ossl_dsa_get0_params((DSA *)dsa); in dsa_to_text()
334 p = DSA_get0_p(dsa); in dsa_to_text()
865 MAKE_TEXT_ENCODER(dsa, dsa);
/openssl/test/smime-certs/
H A Dmksmime-certs.sh38 cp ../certs/server-dsa-key.pem smdsa1.pem
40 cp ../certs/server-dsa-key.pem smdsa2.pem
42 cp ../certs/server-dsa-key.pem smdsa3.pem
/openssl/doc/man1/
H A Dopenssl-dsa.pod.in10 openssl-dsa - DSA key processing
14 B<openssl> B<dsa>
156 openssl dsa -in key.pem -out keyout.pem
160 openssl dsa -in key.pem -des3 -out keyout.pem
164 openssl dsa -in key.pem -outform DER -out keyout.der
168 openssl dsa -in key.pem -text -noout
172 openssl dsa -in key.pem -pubout -out pubkey.pem
/openssl/providers/common/include/prov/
H A Dder_dsa.h.in22 int ossl_DER_w_algorithmIdentifier_DSA(WPACKET *pkt, int tag, DSA *dsa);
25 DSA *dsa, int mdnid);
H A Dsecuritycheck.h15 int ossl_dsa_check_key(OSSL_LIB_CTX *ctx, const DSA *dsa, int sign);
/openssl/crypto/dsa/
H A Ddsa_asn1.c69 DSA *DSAparams_dup(const DSA *dsa)
71 return ASN1_item_dup(ASN1_ITEM_rptr(DSAparams), dsa);
/openssl/providers/common/der/
H A Dder_dsa_key.c20 int ossl_DER_w_algorithmIdentifier_DSA(WPACKET *pkt, int tag, DSA *dsa) in ossl_DER_w_algorithmIdentifier_DSA() argument
H A Dder_dsa_sig.c27 DSA *dsa, int mdnid) in ossl_DER_w_algorithmIdentifier_DSA_with_MD() argument
H A Dbuild.info30 IF[{- !$disabled{dsa} -}]
104 IF[{- !$disabled{dsa} -}]
/openssl/test/
H A Devp_libctx_test.c118 DSA *dsa = NULL; in test_dsa_param_keygen() local
145 || !TEST_ptr(dsa = DSA_new()) in test_dsa_param_keygen()
149 || !TEST_true(DSA_set0_pqg(dsa, p, q, g))) in test_dsa_param_keygen()
153 if (!TEST_true(EVP_PKEY_assign_DSA(pkey_parm, dsa))) in test_dsa_param_keygen()
155 dsa = NULL; in test_dsa_param_keygen()
174 DSA_free(dsa); in test_dsa_param_keygen()

Completed in 67 milliseconds

1234