/openssl/include/openssl/ |
H A D | dsa.h | 107 (DSA *)ASN1_d2i_fp((char *(*)())DSA_new, \ 115 ASN1_i2d_bio_of(DSA, i2d_DSAparams, bp, x) 130 OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); 132 OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); 134 OSSL_DEPRECATEDIN_3_0 int DSA_up_ref(DSA *r); 135 OSSL_DEPRECATEDIN_3_0 int DSA_size(const DSA *); 136 OSSL_DEPRECATEDIN_3_0 int DSA_bits(const DSA *d); 179 OSSL_DEPRECATEDIN_3_0 int DSA_generate_key(DSA *a); 203 OSSL_DEPRECATEDIN_3_0 DH *DSA_dup_DH(const DSA *r); 235 (const unsigned char *, int, DSA *); [all …]
|
/openssl/crypto/dsa/ |
H A D | dsa_asn1.c | 34 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) 53 ASN1_SIMPLE(DSA, params.p, BIGNUM), 61 ASN1_SIMPLE(DSA, pub_key, BIGNUM), 64 ASN1_SIMPLE(DSA, params.g, BIGNUM) [all …]
|
H A D | dsa_lib.c | 41 DH *DSA_dup_DH(const DSA *r) in DSA_dup_DH() 96 void DSA_set_flags(DSA *d, int flags) in DSA_set_flags() 101 ENGINE *DSA_get0_engine(DSA *d) in DSA_get0_engine() 196 DSA *DSA_new_method(ENGINE *engine) in DSA_new_method() 207 DSA *DSA_new(void) in DSA_new() 213 void DSA_free(DSA *r) in DSA_free() 245 int DSA_up_ref(DSA *r) in DSA_up_ref() 262 void DSA_get0_pqg(const DSA *d, in DSA_get0_pqg() 309 void DSA_get0_key(const DSA *d, in DSA_get0_key() 333 int DSA_security_bits(const DSA *d) in DSA_security_bits() [all …]
|
H A D | dsa_meth.c | 104 (const unsigned char *, int, DSA *) in DSA_meth_get_sign() 117 (DSA *, BN_CTX *, BIGNUM **, BIGNUM **) in DSA_meth_get_sign_setup() 123 int (*sign_setup) (DSA *, BN_CTX *, BIGNUM **, BIGNUM **)) in DSA_meth_set_sign_setup() 130 (const unsigned char *, int, DSA_SIG *, DSA *) in DSA_meth_get_verify() 136 int (*verify) (const unsigned char *, int, DSA_SIG *, DSA *)) in DSA_meth_set_verify() argument 173 int (*DSA_meth_get_init(const DSA_METHOD *dsam))(DSA *) in DSA_meth_get_init() 178 int DSA_meth_set_init(DSA_METHOD *dsam, int (*init)(DSA *)) in DSA_meth_set_init() argument 184 int (*DSA_meth_get_finish(const DSA_METHOD *dsam)) (DSA *) in DSA_meth_get_finish() 189 int DSA_meth_set_finish(DSA_METHOD *dsam, int (*finish) (DSA *)) in DSA_meth_set_finish() argument 210 int (*DSA_meth_get_keygen(const DSA_METHOD *dsam)) (DSA *) in DSA_meth_get_keygen() [all …]
|
H A D | dsa_local.h | 48 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,
|
H A D | dsa_prn.c | 22 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()
|
H A D | dsa_check.c | 22 static int dsa_precheck_params(const DSA *dsa, int *ret) in dsa_precheck_params() 45 int ossl_dsa_check_params(const DSA *dsa, int checktype, int *ret) in ossl_dsa_check_params() 66 int ossl_dsa_check_pub_key(const DSA *dsa, const BIGNUM *pub_key, int *ret) in ossl_dsa_check_pub_key() 80 int ossl_dsa_check_pub_key_partial(const DSA *dsa, const BIGNUM *pub_key, int *ret) in ossl_dsa_check_pub_key_partial() 89 int ossl_dsa_check_priv_key(const DSA *dsa, const BIGNUM *priv_key, int *ret) in ossl_dsa_check_priv_key() 103 int ossl_dsa_check_pairwise(const DSA *dsa) in ossl_dsa_check_pairwise()
|
H A D | dsa_backend.c | 30 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()
|
H A D | dsa_key.c | 31 static int dsa_keygen(DSA *dsa); 33 int DSA_generate_key(DSA *dsa) in DSA_generate_key() 42 int ossl_dsa_generate_public_key(BN_CTX *ctx, const DSA *dsa, in ossl_dsa_generate_public_key() 75 static int dsa_keygen_knownanswer_test(DSA *dsa, BN_CTX *ctx, in dsa_keygen_knownanswer_test() 114 static int dsa_keygen_pairwise_test(DSA *dsa, OSSL_CALLBACK *cb, void *cbarg) in dsa_keygen_pairwise_test() 147 static int dsa_keygen(DSA *dsa) in dsa_keygen()
|
H A D | dsa_ossl.c | 28 static DSA_SIG *dsa_do_sign(const unsigned char *dgst, int dlen, DSA *dsa); 29 static int dsa_sign_setup_no_digest(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, 31 static int dsa_sign_setup(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, 36 DSA_SIG *sig, DSA *dsa); 37 static int dsa_init(DSA *dsa); 38 static int dsa_finish(DSA *dsa); 210 static int dsa_sign_setup_no_digest(DSA *dsa, BN_CTX *ctx_in, in dsa_sign_setup_no_digest() 217 static int dsa_sign_setup(DSA *dsa, BN_CTX *ctx_in, in dsa_sign_setup() 356 DSA_SIG *sig, DSA *dsa) in dsa_do_verify() 463 static int dsa_init(DSA *dsa) in dsa_init() [all …]
|
H A D | dsa_pmeth.c | 89 DSA *dsa = (DSA *)EVP_PKEY_get0_DSA(ctx->pkey); in pkey_dsa_sign() 118 DSA *dsa = (DSA *)EVP_PKEY_get0_DSA(ctx->pkey); in pkey_dsa_verify() 222 DSA *dsa = NULL; in pkey_dsa_paramgen() 255 DSA *dsa = NULL; in pkey_dsa_keygen() 268 return DSA_generate_key((DSA *)EVP_PKEY_get0_DSA(pkey)); in pkey_dsa_keygen()
|
/openssl/include/crypto/ |
H A D | dsa.h | 27 DSA *ossl_dsa_new(OSSL_LIB_CTX *libctx); 28 void ossl_dsa_set0_libctx(DSA *d, OSSL_LIB_CTX *libctx); 38 FFC_PARAMS *ossl_dsa_get0_params(DSA *dsa); 39 int ossl_dsa_ffc_params_fromdata(DSA *dsa, const OSSL_PARAM params[]); 40 int ossl_dsa_key_fromdata(DSA *dsa, const OSSL_PARAM params[], 42 DSA *ossl_dsa_key_from_pkcs8(const PKCS8_PRIV_KEY_INFO *p8inf, 45 int ossl_dsa_generate_public_key(BN_CTX *ctx, const DSA *dsa, 47 int ossl_dsa_check_params(const DSA *dsa, int checktype, int *ret); 52 int ossl_dsa_check_pairwise(const DSA *dsa); 53 int ossl_dsa_is_foreign(const DSA *dsa); [all …]
|
/openssl/test/recipes/30-test_evp_data/ |
H A D | evppkey_dsa_sigalg.txt | 43 PrivPubKeyPair = DSA-1024:DSA-1024-PUBLIC 48 Verify = DSA-SHA1:DSA-1024 53 Verify = DSA-SHA1:DSA-1024-PUBLIC 59 Verify = DSA-SHA1:DSA-1024-PUBLIC 66 Verify = DSA-SHA1:DSA-1024-PUBLIC 73 Verify = DSA-SHA1:DSA-1024-PUBLIC 87 Verify = DSA-SHA1:DSA-1024-PUBLIC 94 Verify = DSA-SHA1:DSA-1024-PUBLIC 311 Verify-Message = DSA-SHA256:DSA-1024 317 Verify-Message = DSA-SHA1:DSA-1024 [all …]
|
H A D | evppkey_dsa.txt | 17 # DSA key 18 PrivateKey=DSA-1024 43 PrivPubKeyPair = DSA-1024:DSA-1024-PUBLIC 45 Title = DSA tests 47 Verify = DSA-1024 124 PrivPubKeyPair = DSA-1024-BIS:DSA-1024-BIS-PUBLIC 126 PrivPubKeyPair = DSA-1024:DSA-1024-BIS-PUBLIC 129 PrivPubKeyPair = DSA-1024-BIS:DSA-1024-PUBLIC 443 # Load DSA Params to use in the DSA keygen tests 465 KeyGen = DSA [all …]
|
/openssl/doc/man7/ |
H A D | EVP_SIGNATURE-DSA.pod | 5 EVP_SIGNATURE-DSA 6 - The B<EVP_PKEY> DSA signature implementation 10 Support for computing DSA signatures. The signature produced with 13 See L<EVP_PKEY-DSA(7)> for information related to DSA keys. 15 As part of FIPS 140-3 DSA is not longer FIPS approved for key generation and 27 =item "DSA", "dsaEncryption", "1.2.840.10040.4.1" 36 =item "DSA-SHA1", "DSA-SHA-1", "dsaWithSHA1", "1.2.840.10040.4.3" 38 =item "DSA-SHA2-224", "DSA-SHA224", "dsa_with_SHA224", "2.16.840.1.101.3.4.3.1" 40 =item "DSA-SHA2-256", "DSA-SHA256", "dsa_with_SHA256", "2.16.840.1.101.3.4.3.2" 42 =item "DSA-SHA2-384", "DSA-SHA384", "dsa_with_SHA384", "id-dsa-with-sha384", "1.2.840.1.101.3.4.3.3" [all …]
|
H A D | EVP_PKEY-DSA.pod | 5 EVP_PKEY-DSA, EVP_KEYMGMT-DSA - EVP_PKEY DSA keytype and algorithm support 9 For B<DSA> the FIPS 186-4 standard specifies that the values used for FFC 19 =head2 DSA parameters 21 The B<DSA> key type supports the FFC parameters (see 36 =head2 DSA key generation parameters 38 The B<DSA> key type supports the FFC key generation parameters (see 47 =head2 DSA key validation 69 The B<DSA> domain parameters can be generated by calling: 78 pctx = EVP_PKEY_CTX_new_from_name(NULL, "DSA", NULL); 93 A B<DSA> key can be generated using domain parameters by calling: [all …]
|
H A D | EVP_PKEY-FFC.pod | 5 EVP_PKEY-FFC - EVP_PKEY DSA and DH/DHX shared FFC parameters. 10 cryptography using finite field mathematics. DSA is an example of FFC and 14 The B<DSA>, B<DH> and B<DHX> keytypes are implemented in OpenSSL's default and 20 For B<DSA> (and B<DH> that is not a named group) the FIPS186-4 standard 51 =head2 FFC DSA, DH and DHX domain parameters 57 A DSA or Diffie-Hellman prime "p" value. 61 A DSA or Diffie-Hellman generator "g" value. 65 =head2 FFC DSA and DHX domain parameters 71 A DSA or Diffie-Hellman prime "q" value. 213 L<EVP_PKEY-DSA(7)>, [all …]
|
/openssl/doc/man3/ |
H A D | DSA_get0_pqg.pod | 10 setting data in a DSA object 20 void DSA_get0_pqg(const DSA *d, 23 void DSA_get0_key(const DSA *d, 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); 31 void DSA_clear_flags(DSA *d, int flags); 32 int DSA_test_flags(const DSA *d, int flags); 33 void DSA_set_flags(DSA *d, int flags); 34 ENGINE *DSA_get0_engine(DSA *d); [all …]
|
H A D | DSA_meth_new.pod | 13 DSA_meth_set_keygen - Routines to build up DSA methods 39 int, DSA *); 74 int (*DSA_meth_get_init(const DSA_METHOD *dsam))(DSA *); 75 int DSA_meth_set_init(DSA_METHOD *dsam, int (*init)(DSA *)); 77 int (*DSA_meth_get_finish(const DSA_METHOD *dsam))(DSA *); 78 int DSA_meth_set_finish(DSA_METHOD *dsam, int (*finish)(DSA *)); 88 int (*DSA_meth_get_keygen(const DSA_METHOD *dsam))(DSA *); 99 implementation of the various DSA capabilities. 106 new B<DSA> object will have those flags set by default. 130 creating a DSA signature respectively. This function will be [all …]
|
H A D | DSA_set_method.pod | 6 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 …]
|
H A D | DSA_size.pod | 5 DSA_size, DSA_bits, DSA_security_bits - get DSA signature size, key bits or security bits 15 int DSA_bits(const DSA *dsa); 17 int DSA_size(const DSA *dsa); 19 int DSA_security_bits(const DSA *dsa); 30 DSA_size() returns the maximum size of an ASN.1 encoded DSA signature 32 be allocated for a DSA signature.
|
H A D | DSA_new.pod | 5 DSA_new, DSA_free - allocate and free DSA objects 15 DSA* DSA_new(void); 17 void DSA_free(DSA *dsa); 24 DSA_new() allocates and initializes a B<DSA> structure. It is equivalent to 27 DSA_free() frees the B<DSA> structure and its components. The values are
|
/openssl/crypto/pem/ |
H A D | pem_all.c | 30 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
|
/openssl/providers/implementations/keymgmt/ |
H A D | dsa_kmgmt.c | 135 const DSA *dsa = keydata; in dsa_has() 154 const DSA *dsa1 = keydata1; in dsa_match() 155 const DSA *dsa2 = keydata2; in dsa_match() 196 DSA *dsa = keydata; in dsa_import() 221 DSA *dsa = keydata; in dsa_export() 317 DSA *dsa = key; in dsa_get_params() 383 const DSA *dsa = keydata; in dsa_validate() 442 DSA *dsa = templ; in dsa_gen_set_template() 597 DSA *dsa = NULL; in dsa_gen() 704 DSA *dsa = NULL; in dsa_load() [all …]
|
/openssl/doc/man1/ |
H A D | openssl-dsaparam.pod.in | 6 openssl-dsaparam - DSA parameter manipulation and generation 28 This command is used to manipulate or generate DSA parameter files. 30 DSA parameter generation can be a slow process and as a result the same set of 31 DSA parameters is often used to generate several distinct keys. 43 The DSA parameters input format; unspecified by default. 48 The DSA parameters output format; the default is B<PEM>. 74 This option prints out the DSA parameters in human readable form. 78 This option will generate a DSA either using the specified or generated
|