/freebsd/crypto/openssl/include/openssl/ |
H A D | dsa.h | 102 (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 …]
|
/freebsd/crypto/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) 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 …]
|
H A D | dsa_lib.c | 26 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 …]
|
H A D | dsa_meth.c | 108 (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 …]
|
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_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_check.c | 11 * DSA low level APIs are deprecated for public use, but still ok for 22 static int dsa_precheck_params(const DSA *dsa, int *ret) in ossl_dsa_check_params() 45 int ossl_dsa_check_params(const DSA *dsa, int checktype, int *ret) 66 int ossl_dsa_check_pub_key(const DSA *dsa, const BIGNUM *pub_key, int *ret) 80 int ossl_dsa_check_pub_key_partial(const DSA *dsa, const BIGNUM *pub_key, int *ret) in ossl_dsa_check_pairwise() 89 int ossl_dsa_check_priv_key(const DSA *dsa, const BIGNUM *priv_key, int *ret) in ossl_dsa_check_pairwise() 103 int ossl_dsa_check_pairwise(const DSA *dsa)
|
H A D | dsa_ossl.c | 11 * DSA low level APIs are deprecated for public use, but still ok for 27 static DSA_SIG *dsa_do_sign(const unsigned char *dgst, int dlen, DSA *dsa); 28 static int dsa_sign_setup_no_digest(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, 30 static int dsa_sign_setup(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, 33 DSA_SIG *sig, DSA *dsa); 34 static int dsa_init(DSA *dsa); 35 static int dsa_finish(DSA *dsa); 40 "OpenSSL DSA method", 73 DSA_SIG *ossl_dsa_do_sign_int(const unsigned char *dgst, int dlen, DSA *dsa) in ossl_dsa_do_sign_int() 198 static DSA_SIG *dsa_do_sign(const unsigned char *dgst, int dlen, DSA *ds [all...] |
H A D | dsa_key.c | 31 static int dsa_keygen(DSA *dsa, int pairwise_test); 32 static int dsa_keygen_pairwise_test(DSA *dsa, OSSL_CALLBACK *cb, void *cbarg); 34 int DSA_generate_key(DSA *dsa) in DSA_generate_key() 43 int ossl_dsa_generate_public_key(BN_CTX *ctx, const DSA *dsa, in ossl_dsa_generate_public_key() 62 static int dsa_keygen(DSA *dsa, int pairwise_test) in dsa_keygen() 143 static int dsa_keygen_pairwise_test(DSA *dsa, OSSL_CALLBACK *cb, void *cbarg) in dsa_keygen_pairwise_test()
|
/freebsd/crypto/openssl/include/crypto/ |
H A D | dsa.h | 22 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 …]
|
/freebsd/crypto/openssl/test/recipes/30-test_evp_data/ |
H A D | evppkey_dsa.txt | 17 # 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 …]
|
/freebsd/crypto/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, 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 …]
|
H A D | DSA_meth_new.pod | 13 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 …]
|
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 …]
|
/freebsd/crypto/openssl/doc/man7/ |
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 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 …]
|
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. 11 See L<EVP_PKEY-DSA(7)> for information related to DSA keys.
|
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 16 The implementations support the basic DSA, DH and DHX keys, containing the public 20 For B<DSA> (and B<DH> that is not a named group) the FIPS186-4 standard 26 (but the I<gindex> is not). For B<DSA> however, these fields are not stored in 36 L<provider-keymgmt(7)/Common parameters>), the B<DSA>, B<DH> and B<DHX> keytype 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. [all …]
|
/freebsd/crypto/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
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/ |
H A D | ConstructCompositionT.h | 290 enum DSA : int { in mergeDSA() enum 308 return objectDsa.emplace_back(object, DSA::None); in mergeDSA() 319 getDsa(object).second |= DSA::Shared; in mergeDSA() 324 getDsa(object).second |= DSA::Private; in mergeDSA() 329 getDsa(object).second |= DSA::FirstPrivate; in mergeDSA() 339 getDsa(object).second |= DSA::LastPrivateConditional; in mergeDSA() 341 getDsa(object).second |= DSA::LastPrivate; in mergeDSA() 351 getDsa(object).second &= ~DSA::Shared; in mergeDSA() 357 getDsa(object).second &= ~DSA::Shared; in mergeDSA() 363 getDsa(object).second &= ~DSA::Shared; in mergeDSA() [all …]
|
/freebsd/crypto/openssl/providers/implementations/keymgmt/ |
H A D | dsa_kmgmt.c | 98 static int dsa_key_todata(DSA *dsa, OSSL_PARAM_BLD *bld, OSSL_PARAM params[], in dsa_key_todata() 132 const DSA *dsa = keydata; in dsa_has() 151 const DSA *dsa1 = keydata1; in dsa_match() 152 const DSA *dsa2 = keydata2; in dsa_match() 183 FFC_PARAMS *dsaparams1 = ossl_dsa_get0_params((DSA *)dsa1); in dsa_match() 184 FFC_PARAMS *dsaparams2 = ossl_dsa_get0_params((DSA *)dsa2); in dsa_match() 193 DSA *dsa = keydata; in dsa_import() 218 DSA *dsa = keydata; in dsa_export() 314 DSA *dsa = key; in dsa_get_params() 349 static int dsa_validate_domparams(const DSA *dsa, int checktype) in dsa_validate_domparams() [all …]
|
/freebsd/crypto/openssh/regress/unittests/hostkeys/testdata/ |
H A D | known_hosts | 2 …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
|
/freebsd/contrib/ntp/include/ |
H A D | libssl_compat.h | 57 extern DSA* sslshim_EVP_PKEY_get0_DSA(EVP_PKEY * pkey); 72 extern void sslshim_DSA_get0_pqg(const DSA *pdsa, const BIGNUM **pp, 74 extern int sslshim_DSA_set0_pqg(DSA *pdsa, BIGNUM *p, BIGNUM *q, BIGNUM *g); 75 extern void sslshim_DSA_get0_key(const DSA *pdsa, const BIGNUM **ppub_key, 77 extern int sslshim_DSA_set0_key(DSA *pdsa, BIGNUM *pub_key,
|
/freebsd/crypto/openssl/crypto/x509/ |
H A D | x_all.c | 359 DSA *d2i_DSAPrivateKey_fp(FILE *fp, DSA **dsa) in d2i_DSAPrivateKey_fp() 361 return ASN1_d2i_fp_of(DSA, DSA_new, d2i_DSAPrivateKey, fp, dsa); in d2i_DSAPrivateKey_fp() 364 int i2d_DSAPrivateKey_fp(FILE *fp, const DSA *dsa) in i2d_DSAPrivateKey_fp() 366 return ASN1_i2d_fp_of(DSA, i2d_DSAPrivateKey, fp, dsa); in i2d_DSAPrivateKey_fp() 369 DSA *d2i_DSA_PUBKEY_fp(FILE *fp, DSA **dsa) in d2i_DSA_PUBKEY_fp() 371 return ASN1_d2i_fp_of(DSA, DSA_new, d2i_DSA_PUBKEY, fp, dsa); in d2i_DSA_PUBKEY_fp() 374 int i2d_DSA_PUBKEY_fp(FILE *fp, const DSA *dsa) in i2d_DSA_PUBKEY_fp() 376 return ASN1_i2d_fp_of(DSA, i2d_DSA_PUBKEY, fp, dsa); in i2d_DSA_PUBKEY_fp() 380 DSA *d2i_DSAPrivateKey_bio(BIO *bp, DSA **dsa) in d2i_DSAPrivateKey_bio() 382 return ASN1_d2i_bio_of(DSA, DSA_new, d2i_DSAPrivateKey, bp, dsa); in d2i_DSAPrivateKey_bio() [all …]
|
/freebsd/crypto/openssl/doc/man1/ |
H A D | openssl-dsaparam.pod.in | 6 openssl-dsaparam - DSA parameter manipulation and generation 26 This command is used to manipulate or generate DSA parameter files. 28 DSA parameter generation can be a slow process and as a result the same set of 29 DSA parameters is often used to generate several distinct keys. 41 The DSA parameters input format; unspecified by default. 46 The DSA parameters output format; the default is B<PEM>. 70 This option prints out the DSA parameters in human readable form. 74 This option will generate a DSA either using the specified or generated
|