Home
last modified time | relevance | path

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

12345678910>>...20

/third_party/openssl/ohos_lite/include/openssl/
Ddsa.h67 # define d2i_DSAparams_fp(fp,x) (DSA *)ASN1_d2i_fp((char *(*)())DSA_new, \
71 # define d2i_DSAparams_bio(bp,x) ASN1_d2i_bio_of(DSA,DSA_new,d2i_DSAparams,bp,x)
72 # define i2d_DSAparams_bio(bp,x) ASN1_i2d_bio_of_const(DSA,i2d_DSAparams,bp,x)
74 DSA *DSAparams_dup(DSA *x);
82 DSA_SIG *DSA_do_sign(const unsigned char *dgst, int dlen, DSA *dsa);
84 DSA_SIG *sig, DSA *dsa);
90 int DSA_set_method(DSA *dsa, const DSA_METHOD *);
91 const DSA_METHOD *DSA_get_method(DSA *d);
93 DSA *DSA_new(void);
94 DSA *DSA_new_method(ENGINE *engine);
[all …]
/third_party/node/deps/openssl/openssl/include/openssl/
Ddsa.h102 (DSA *)ASN1_d2i_fp((char *(*)())DSA_new, \
108 ASN1_d2i_bio_of(DSA, DSA_new, d2i_DSAparams, bp, x)
110 ASN1_i2d_bio_of(DSA, i2d_DSAparams, bp, x)
112 DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, DSA, DSAparams)
114 DSA *dsa);
116 DSA_SIG *sig, DSA *dsa);
122 OSSL_DEPRECATEDIN_3_0 int DSA_set_method(DSA *dsa, const DSA_METHOD *);
123 OSSL_DEPRECATEDIN_3_0 const DSA_METHOD *DSA_get_method(DSA *d);
125 OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void);
126 OSSL_DEPRECATEDIN_3_0 DSA *DSA_new_method(ENGINE *engine);
[all …]
/third_party/openssl/include/openssl/
Ddsa.h102 (DSA *)ASN1_d2i_fp((char *(*)())DSA_new, \
108 ASN1_d2i_bio_of(DSA, DSA_new, d2i_DSAparams, bp, x)
110 ASN1_i2d_bio_of(DSA, i2d_DSAparams, bp, x)
112 DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, DSA, DSAparams)
114 DSA *dsa);
116 DSA_SIG *sig, DSA *dsa);
122 OSSL_DEPRECATEDIN_3_0 int DSA_set_method(DSA *dsa, const DSA_METHOD *);
123 OSSL_DEPRECATEDIN_3_0 const DSA_METHOD *DSA_get_method(DSA *d);
125 OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void);
126 OSSL_DEPRECATEDIN_3_0 DSA *DSA_new_method(ENGINE *engine);
[all …]
/third_party/node/deps/openssl/openssl/crypto/dsa/
Ddsa_asn1.c34 DSA_free((DSA *)*pval); in dsa_cb()
42 ASN1_EMBED(DSA, version, INT32),
43 ASN1_SIMPLE(DSA, params.p, BIGNUM),
44 ASN1_SIMPLE(DSA, params.q, BIGNUM),
45 ASN1_SIMPLE(DSA, params.g, BIGNUM),
46 ASN1_SIMPLE(DSA, pub_key, BIGNUM),
47 ASN1_SIMPLE(DSA, priv_key, CBIGNUM)
48 } static_ASN1_SEQUENCE_END_cb(DSA, DSAPrivateKey)
50 IMPLEMENT_ASN1_ENCODE_FUNCTIONS_fname(DSA, DSAPrivateKey, DSAPrivateKey)
53 ASN1_SIMPLE(DSA, params.p, BIGNUM),
[all …]
Ddsa_lib.c26 static DSA *dsa_new_intern(ENGINE *engine, OSSL_LIB_CTX *libctx);
30 int DSA_set_ex_data(DSA *d, int idx, void *arg) in DSA_set_ex_data()
35 void *DSA_get_ex_data(const DSA *d, int idx) in DSA_get_ex_data()
41 DH *DSA_dup_DH(const DSA *r) in DSA_dup_DH()
86 void DSA_clear_flags(DSA *d, int flags) in DSA_clear_flags()
91 int DSA_test_flags(const DSA *d, int flags) in DSA_test_flags()
96 void DSA_set_flags(DSA *d, int flags) in DSA_set_flags()
101 ENGINE *DSA_get0_engine(DSA *d) in DSA_get0_engine()
106 int DSA_set_method(DSA *dsa, const DSA_METHOD *meth) in DSA_set_method()
128 const DSA_METHOD *DSA_get_method(DSA *d) in DSA_get_method()
[all …]
Ddsa_meth.c108 (const unsigned char *, int, DSA *) in DSA_meth_get_sign()
114 DSA_SIG *(*sign) (const unsigned char *, int, DSA *)) in DSA_meth_set_sign() argument
121 (DSA *, BN_CTX *, BIGNUM **, BIGNUM **) in DSA_meth_get_sign_setup()
127 int (*sign_setup) (DSA *, BN_CTX *, BIGNUM **, BIGNUM **)) in DSA_meth_set_sign_setup()
134 (const unsigned char *, int, DSA_SIG *, DSA *) in DSA_meth_get_verify()
140 int (*verify) (const unsigned char *, int, DSA_SIG *, DSA *)) in DSA_meth_set_verify() argument
147 (DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *, const BIGNUM *, in DSA_meth_get_mod_exp()
154 int (*mod_exp) (DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *, in DSA_meth_set_mod_exp()
163 (DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *, const BIGNUM *, BN_CTX *, in DSA_meth_get_bn_mod_exp()
170 int (*bn_mod_exp) (DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *, in DSA_meth_set_bn_mod_exp()
[all …]
Ddsa_local.h48 DSA_SIG *(*dsa_do_sign) (const unsigned char *dgst, int dlen, DSA *dsa);
49 int (*dsa_sign_setup) (DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp,
52 DSA_SIG *sig, DSA *dsa);
53 int (*dsa_mod_exp) (DSA *dsa, BIGNUM *rr, const BIGNUM *a1,
57 int (*bn_mod_exp) (DSA *dsa, BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
59 int (*init) (DSA *dsa);
60 int (*finish) (DSA *dsa);
64 int (*dsa_paramgen) (DSA *dsa, int bits,
69 int (*dsa_keygen) (DSA *dsa);
72 DSA_SIG *ossl_dsa_do_sign_int(const unsigned char *dgst, int dlen, DSA *dsa);
Ddsa_prn.c22 int DSA_print_fp(FILE *fp, const DSA *x, int off) in DSA_print_fp()
37 int DSAparams_print_fp(FILE *fp, const DSA *x) in DSAparams_print_fp()
53 int DSA_print(BIO *bp, const DSA *x, int off) in DSA_print()
60 ret = EVP_PKEY_set1_DSA(pk, (DSA *)x); in DSA_print()
67 int DSAparams_print(BIO *bp, const DSA *x) in DSAparams_print()
74 ret = EVP_PKEY_set1_DSA(pk, (DSA *)x); in DSAparams_print()
Ddsa_backend.c30 int ossl_dsa_key_fromdata(DSA *dsa, const OSSL_PARAM params[], in ossl_dsa_key_fromdata()
66 int ossl_dsa_is_foreign(const DSA *dsa) in ossl_dsa_is_foreign()
69 if (dsa->engine != NULL || DSA_get_method((DSA *)dsa) != DSA_OpenSSL()) in ossl_dsa_is_foreign()
82 DSA *ossl_dsa_dup(const DSA *dsa, int selection) in ossl_dsa_dup()
84 DSA *dupkey = NULL; in ossl_dsa_dup()
123 DSA *ossl_dsa_key_from_pkcs8(const PKCS8_PRIV_KEY_INFO *p8inf, in ossl_dsa_key_from_pkcs8()
137 DSA *dsa = NULL; in ossl_dsa_key_from_pkcs8()
/third_party/openssl/crypto/dsa/
Ddsa_asn1.c34 DSA_free((DSA *)*pval); in dsa_cb()
42 ASN1_EMBED(DSA, version, INT32),
43 ASN1_SIMPLE(DSA, params.p, BIGNUM),
44 ASN1_SIMPLE(DSA, params.q, BIGNUM),
45 ASN1_SIMPLE(DSA, params.g, BIGNUM),
46 ASN1_SIMPLE(DSA, pub_key, BIGNUM),
47 ASN1_SIMPLE(DSA, priv_key, CBIGNUM)
48 } static_ASN1_SEQUENCE_END_cb(DSA, DSAPrivateKey)
50 IMPLEMENT_ASN1_ENCODE_FUNCTIONS_fname(DSA, DSAPrivateKey, DSAPrivateKey)
53 ASN1_SIMPLE(DSA, params.p, BIGNUM),
[all …]
Ddsa_lib.c26 static DSA *dsa_new_intern(ENGINE *engine, OSSL_LIB_CTX *libctx);
30 int DSA_set_ex_data(DSA *d, int idx, void *arg) in DSA_set_ex_data()
35 void *DSA_get_ex_data(const DSA *d, int idx) in DSA_get_ex_data()
41 DH *DSA_dup_DH(const DSA *r) in DSA_dup_DH()
86 void DSA_clear_flags(DSA *d, int flags) in DSA_clear_flags()
91 int DSA_test_flags(const DSA *d, int flags) in DSA_test_flags()
96 void DSA_set_flags(DSA *d, int flags) in DSA_set_flags()
101 ENGINE *DSA_get0_engine(DSA *d) in DSA_get0_engine()
106 int DSA_set_method(DSA *dsa, const DSA_METHOD *meth) in DSA_set_method()
128 const DSA_METHOD *DSA_get_method(DSA *d) in DSA_get_method()
[all …]
Ddsa_meth.c108 (const unsigned char *, int, DSA *) in DSA_meth_get_sign()
114 DSA_SIG *(*sign) (const unsigned char *, int, DSA *)) in DSA_meth_set_sign() argument
121 (DSA *, BN_CTX *, BIGNUM **, BIGNUM **) in DSA_meth_get_sign_setup()
127 int (*sign_setup) (DSA *, BN_CTX *, BIGNUM **, BIGNUM **)) in DSA_meth_set_sign_setup()
134 (const unsigned char *, int, DSA_SIG *, DSA *) in DSA_meth_get_verify()
140 int (*verify) (const unsigned char *, int, DSA_SIG *, DSA *)) in DSA_meth_set_verify() argument
147 (DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *, const BIGNUM *, in DSA_meth_get_mod_exp()
154 int (*mod_exp) (DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *, in DSA_meth_set_mod_exp()
163 (DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *, const BIGNUM *, BN_CTX *, in DSA_meth_get_bn_mod_exp()
170 int (*bn_mod_exp) (DSA *, BIGNUM *, const BIGNUM *, const BIGNUM *, in DSA_meth_set_bn_mod_exp()
[all …]
Ddsa_local.h48 DSA_SIG *(*dsa_do_sign) (const unsigned char *dgst, int dlen, DSA *dsa);
49 int (*dsa_sign_setup) (DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp,
52 DSA_SIG *sig, DSA *dsa);
53 int (*dsa_mod_exp) (DSA *dsa, BIGNUM *rr, const BIGNUM *a1,
57 int (*bn_mod_exp) (DSA *dsa, BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
59 int (*init) (DSA *dsa);
60 int (*finish) (DSA *dsa);
64 int (*dsa_paramgen) (DSA *dsa, int bits,
69 int (*dsa_keygen) (DSA *dsa);
72 DSA_SIG *ossl_dsa_do_sign_int(const unsigned char *dgst, int dlen, DSA *dsa);
Ddsa_prn.c22 int DSA_print_fp(FILE *fp, const DSA *x, int off) in DSA_print_fp()
37 int DSAparams_print_fp(FILE *fp, const DSA *x) in DSAparams_print_fp()
53 int DSA_print(BIO *bp, const DSA *x, int off) in DSA_print()
60 ret = EVP_PKEY_set1_DSA(pk, (DSA *)x); in DSA_print()
67 int DSAparams_print(BIO *bp, const DSA *x) in DSAparams_print()
74 ret = EVP_PKEY_set1_DSA(pk, (DSA *)x); in DSAparams_print()
Ddsa_backend.c30 int ossl_dsa_key_fromdata(DSA *dsa, const OSSL_PARAM params[], in ossl_dsa_key_fromdata()
66 int ossl_dsa_is_foreign(const DSA *dsa) in ossl_dsa_is_foreign()
69 if (dsa->engine != NULL || DSA_get_method((DSA *)dsa) != DSA_OpenSSL()) in ossl_dsa_is_foreign()
82 DSA *ossl_dsa_dup(const DSA *dsa, int selection) in ossl_dsa_dup()
84 DSA *dupkey = NULL; in ossl_dsa_dup()
123 DSA *ossl_dsa_key_from_pkcs8(const PKCS8_PRIV_KEY_INFO *p8inf, in ossl_dsa_key_from_pkcs8()
137 DSA *dsa = NULL; in ossl_dsa_key_from_pkcs8()
/third_party/node/deps/openssl/openssl/include/crypto/
Ddsa.h22 DSA *ossl_dsa_new(OSSL_LIB_CTX *libctx);
23 void ossl_dsa_set0_libctx(DSA *d, OSSL_LIB_CTX *libctx);
25 int ossl_dsa_generate_ffc_parameters(DSA *dsa, int type, int pbits, int qbits,
29 unsigned char *sig, unsigned int *siglen, DSA *dsa);
31 FFC_PARAMS *ossl_dsa_get0_params(DSA *dsa);
32 int ossl_dsa_ffc_params_fromdata(DSA *dsa, const OSSL_PARAM params[]);
33 int ossl_dsa_key_fromdata(DSA *dsa, const OSSL_PARAM params[],
35 DSA *ossl_dsa_key_from_pkcs8(const PKCS8_PRIV_KEY_INFO *p8inf,
38 int ossl_dsa_generate_public_key(BN_CTX *ctx, const DSA *dsa,
40 int ossl_dsa_check_params(const DSA *dsa, int checktype, int *ret);
[all …]
/third_party/openssl/include/crypto/
Ddsa.h22 DSA *ossl_dsa_new(OSSL_LIB_CTX *libctx);
23 void ossl_dsa_set0_libctx(DSA *d, OSSL_LIB_CTX *libctx);
25 int ossl_dsa_generate_ffc_parameters(DSA *dsa, int type, int pbits, int qbits,
29 unsigned char *sig, unsigned int *siglen, DSA *dsa);
31 FFC_PARAMS *ossl_dsa_get0_params(DSA *dsa);
32 int ossl_dsa_ffc_params_fromdata(DSA *dsa, const OSSL_PARAM params[]);
33 int ossl_dsa_key_fromdata(DSA *dsa, const OSSL_PARAM params[],
35 DSA *ossl_dsa_key_from_pkcs8(const PKCS8_PRIV_KEY_INFO *p8inf,
38 int ossl_dsa_generate_public_key(BN_CTX *ctx, const DSA *dsa,
40 int ossl_dsa_check_params(const DSA *dsa, int checktype, int *ret);
[all …]
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/
Ddsa.rs18 pub fn DSA_new() -> *mut DSA; in DSA_new()
19 pub fn DSA_free(dsa: *mut DSA); in DSA_free() argument
20 pub fn DSA_up_ref(dsa: *mut DSA) -> c_int; in DSA_up_ref()
21 pub fn DSA_size(dsa: *const DSA) -> c_int; in DSA_size()
28 dsa: *mut DSA, in DSA_sign() argument
36 dsa: *mut DSA, in DSA_verify() argument
39 pub fn d2i_DSAPublicKey(a: *mut *mut DSA, pp: *mut *const c_uchar, length: c_long) -> *mut DSA; in d2i_DSAPublicKey() argument
40 pub fn d2i_DSAPrivateKey(a: *mut *mut DSA, pp: *mut *const c_uchar, length: c_long) in d2i_DSAPrivateKey() argument
41 -> *mut DSA; in d2i_DSAPrivateKey() argument
44 dsa: *mut DSA, in DSA_generate_parameters_ex() argument
[all …]
/third_party/openssl/test/recipes/30-test_evp_data/
Devppkey_dsa.txt17 # DSA key
18 PrivateKey=DSA-1024
29 PublicKey=DSA-1024-PUBLIC
43 PrivPubKeyPair = DSA-1024:DSA-1024-PUBLIC
45 Title = DSA tests
47 Verify = DSA-1024
52 Verify = DSA-1024-PUBLIC
58 Verify = DSA-1024-PUBLIC
65 Verify = DSA-1024-PUBLIC
72 Verify = DSA-1024-PUBLIC
[all …]
/third_party/openssl/doc/man3/
DDSA_meth_new.pod13 DSA_meth_set_keygen - Routines to build up DSA methods
39 int, DSA *);
41 int, DSA *));
43 int (*DSA_meth_get_sign_setup(const DSA_METHOD *dsam))(DSA *, BN_CTX *,$
45 int DSA_meth_set_sign_setup(DSA_METHOD *dsam, int (*sign_setup)(DSA *, BN_CTX *,
49 int, DSA_SIG *, DSA *);
51 int, DSA_SIG *, DSA *));
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,
[all …]
DDSA_get0_pqg.pod10 setting data in a DSA object
20 void DSA_get0_pqg(const DSA *d,
22 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g);
23 void DSA_get0_key(const DSA *d,
25 int DSA_set0_key(DSA *d, BIGNUM *pub_key, BIGNUM *priv_key);
26 const BIGNUM *DSA_get0_p(const DSA *d);
27 const BIGNUM *DSA_get0_q(const DSA *d);
28 const BIGNUM *DSA_get0_g(const DSA *d);
29 const BIGNUM *DSA_get0_pub_key(const DSA *d);
30 const BIGNUM *DSA_get0_priv_key(const DSA *d);
[all …]
DDSA_set_method.pod6 DSA_set_method, DSA_new_method, DSA_OpenSSL - select DSA method
20 int DSA_set_method(DSA *dsa, const DSA_METHOD *meth);
22 DSA *DSA_new_method(ENGINE *engine);
31 A B<DSA_METHOD> specifies the functions that OpenSSL uses for DSA
34 important information about how these DSA API functions are affected by the use
40 DSA_set_default_method() makes B<meth> the default method for all DSA
43 been set as a default for DSA, so this function is no longer recommended.
53 B<rsa>. This will replace the DSA_METHOD used by the DSA key and if the
55 be released during the change. It is possible to have DSA keys that only
62 DSA_new_method() allocates and initializes a DSA structure so that B<engine>
[all …]
/third_party/openssl/doc/man7/
DEVP_PKEY-DSA.pod5 EVP_PKEY-DSA, EVP_KEYMGMT-DSA - EVP_PKEY DSA keytype and algorithm support
9 For B<DSA> the FIPS186-4 standard specifies that the values used for FFC
12 and I<gindex> may need to be stored for validation purposes. For B<DSA> these
16 =head2 DSA parameters
18 The B<DSA> key type supports the FFC parameters (see
21 =head2 DSA key generation parameters
23 The B<DSA> key type supports the FFC key generation parameters (see
32 =head2 DSA key validation
34 For DSA keys, L<EVP_PKEY_param_check(3)> behaves in the following way:
40 For DSA keys, L<EVP_PKEY_param_check_quick(3)> behaves in the following way:
[all …]
/third_party/openssl/crypto/pem/
Dpem_all.c30 static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa);
93 static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa) in IMPLEMENT_PEM_write_cb()
95 DSA *dtmp; in IMPLEMENT_PEM_write_cb()
109 DSA *PEM_read_bio_DSAPrivateKey(BIO *bp, DSA **dsa, pem_password_cb *cb, in PEM_read_bio_DSAPrivateKey()
117 IMPLEMENT_PEM_write_cb(DSAPrivateKey, DSA, PEM_STRING_DSA, DSAPrivateKey) in IMPLEMENT_PEM_write_cb() argument
118 IMPLEMENT_PEM_rw(DSA_PUBKEY, DSA, PEM_STRING_PUBLIC, DSA_PUBKEY) in IMPLEMENT_PEM_write_cb()
120 DSA *PEM_read_DSAPrivateKey(FILE *fp, DSA **dsa, pem_password_cb *cb, void *u) in IMPLEMENT_PEM_write_cb()
129 IMPLEMENT_PEM_rw(DSAparams, DSA, PEM_STRING_DSAPARAMS, DSAparams) in IMPLEMENT_PEM_rw() argument
/third_party/node/deps/openssl/openssl/crypto/pem/
Dpem_all.c30 static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa);
93 static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa) in IMPLEMENT_PEM_write_cb()
95 DSA *dtmp; in IMPLEMENT_PEM_write_cb()
109 DSA *PEM_read_bio_DSAPrivateKey(BIO *bp, DSA **dsa, pem_password_cb *cb, in PEM_read_bio_DSAPrivateKey()
117 IMPLEMENT_PEM_write_cb(DSAPrivateKey, DSA, PEM_STRING_DSA, DSAPrivateKey) in IMPLEMENT_PEM_write_cb() argument
118 IMPLEMENT_PEM_rw(DSA_PUBKEY, DSA, PEM_STRING_PUBLIC, DSA_PUBKEY) in IMPLEMENT_PEM_write_cb()
120 DSA *PEM_read_DSAPrivateKey(FILE *fp, DSA **dsa, pem_password_cb *cb, void *u) in IMPLEMENT_PEM_write_cb()
129 IMPLEMENT_PEM_rw(DSAparams, DSA, PEM_STRING_DSAPARAMS, DSAparams) in IMPLEMENT_PEM_rw() argument

12345678910>>...20