| /freebsd-12.1/crypto/openssl/include/openssl/ |
| H A D | dsa.h | 74 DSA *DSAparams_dup(DSA *x); 93 DSA *DSA_new(void); 95 void DSA_free(DSA *r); 97 int DSA_up_ref(DSA *r); 98 int DSA_size(const DSA *); 99 int DSA_bits(const DSA *d); 112 DSA *d2i_DSAPublicKey(DSA **a, const unsigned char **pp, long length); 113 DSA *d2i_DSAPrivateKey(DSA **a, const unsigned char **pp, long length); 114 DSA *d2i_DSAparams(DSA **a, const unsigned char **pp, long length); 132 int DSA_generate_key(DSA *a); [all …]
|
| /freebsd-12.1/crypto/openssl/crypto/dsa/ |
| H A D | dsa_asn1.c | 70 DSA_free((DSA *)*pval); in dsa_cb() 79 ASN1_SIMPLE(DSA, p, BIGNUM), 80 ASN1_SIMPLE(DSA, q, BIGNUM), 81 ASN1_SIMPLE(DSA, g, BIGNUM), 89 ASN1_SIMPLE(DSA, p, BIGNUM), 90 ASN1_SIMPLE(DSA, q, BIGNUM), 91 ASN1_SIMPLE(DSA, g, BIGNUM), 98 ASN1_SIMPLE(DSA, p, BIGNUM), 99 ASN1_SIMPLE(DSA, q, BIGNUM), 100 ASN1_SIMPLE(DSA, g, BIGNUM) [all …]
|
| H A D | dsa_meth.c | 109 (const unsigned char *, int, DSA *) in DSA_meth_get_sign() 122 (DSA *, BN_CTX *, BIGNUM **, BIGNUM **) in DSA_meth_get_sign_setup() 128 int (*sign_setup) (DSA *, BN_CTX *, BIGNUM **, BIGNUM **)) in DSA_meth_set_sign_setup() 135 (const unsigned char *, int, DSA_SIG *, DSA *) in DSA_meth_get_verify() 141 int (*verify) (const unsigned char *, int, DSA_SIG *, DSA *)) in DSA_meth_set_verify() argument 178 int (*DSA_meth_get_init(const DSA_METHOD *dsam))(DSA *) in DSA_meth_get_init() 183 int DSA_meth_set_init(DSA_METHOD *dsam, int (*init)(DSA *)) in DSA_meth_set_init() argument 189 int (*DSA_meth_get_finish(const DSA_METHOD *dsam)) (DSA *) in DSA_meth_get_finish() 194 int DSA_meth_set_finish(DSA_METHOD *dsam, int (*finish) (DSA *)) in DSA_meth_set_finish() argument 215 int (*DSA_meth_get_keygen(const DSA_METHOD *dsam)) (DSA *) in DSA_meth_get_keygen() [all …]
|
| H A D | dsa_lib.c | 19 DSA *DSA_new(void) in DSA_new() 49 DSA *DSA_new_method(ENGINE *engine) in DSA_new_method() 103 void DSA_free(DSA *r) in DSA_free() 134 int DSA_up_ref(DSA *r) in DSA_up_ref() 146 int DSA_size(const DSA *r) in DSA_size() 178 int DSA_security_bits(const DSA *d) in DSA_security_bits() 186 DH *DSA_dup_DH(const DSA *r) in DSA_dup_DH() 243 void DSA_get0_pqg(const DSA *d, in DSA_get0_pqg() 280 void DSA_get0_key(const DSA *d, in DSA_get0_key() 350 ENGINE *DSA_get0_engine(DSA *d) in DSA_get0_engine() [all …]
|
| H A D | dsa_locl.h | 43 DSA_SIG *(*dsa_do_sign) (const unsigned char *dgst, int dlen, DSA *dsa); 44 int (*dsa_sign_setup) (DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, 47 DSA_SIG *sig, DSA *dsa); 48 int (*dsa_mod_exp) (DSA *dsa, BIGNUM *rr, const BIGNUM *a1, 52 int (*bn_mod_exp) (DSA *dsa, BIGNUM *r, const BIGNUM *a, const BIGNUM *p, 54 int (*init) (DSA *dsa); 55 int (*finish) (DSA *dsa); 59 int (*dsa_paramgen) (DSA *dsa, int bits, 64 int (*dsa_keygen) (DSA *dsa); 67 int dsa_builtin_paramgen(DSA *ret, size_t bits, size_t qbits, [all …]
|
| H A D | dsa_prn.c | 16 int DSA_print_fp(FILE *fp, const DSA *x, int off) in DSA_print_fp() 31 int DSAparams_print_fp(FILE *fp, const DSA *x) in DSAparams_print_fp() 47 int DSA_print(BIO *bp, const DSA *x, int off) in DSA_print() 52 if (pk == NULL || !EVP_PKEY_set1_DSA(pk, (DSA *)x)) in DSA_print() 59 int DSAparams_print(BIO *bp, const DSA *x) in DSAparams_print() 64 if (pk == NULL || !EVP_PKEY_set1_DSA(pk, (DSA *)x)) in DSAparams_print()
|
| H A D | dsa_ossl.c | 18 static DSA_SIG *dsa_do_sign(const unsigned char *dgst, int dlen, DSA *dsa); 19 static int dsa_sign_setup_no_digest(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, 21 static int dsa_sign_setup(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, 24 DSA_SIG *sig, DSA *dsa); 25 static int dsa_init(DSA *dsa); 26 static int dsa_finish(DSA *dsa); 176 static int dsa_sign_setup_no_digest(DSA *dsa, BN_CTX *ctx_in, in dsa_sign_setup_no_digest() 182 static int dsa_sign_setup(DSA *dsa, BN_CTX *ctx_in, in dsa_sign_setup() 300 DSA_SIG *sig, DSA *dsa) in dsa_do_verify() 404 static int dsa_init(DSA *dsa) in dsa_init() [all …]
|
| H A D | dsa_key.c | 16 static int dsa_builtin_keygen(DSA *dsa); 18 int DSA_generate_key(DSA *dsa) in DSA_generate_key() 25 static int dsa_builtin_keygen(DSA *dsa) in dsa_builtin_keygen()
|
| /freebsd-12.1/crypto/openssl/doc/man3/ |
| H A D | DSA_get0_pqg.pod | 10 setting data in a DSA object 16 void DSA_get0_pqg(const DSA *d, 19 void DSA_get0_key(const DSA *d, 22 const BIGNUM *DSA_get0_p(const DSA *d); 23 const BIGNUM *DSA_get0_q(const DSA *d); 24 const BIGNUM *DSA_get0_g(const DSA *d); 27 void DSA_clear_flags(DSA *d, int flags); 28 int DSA_test_flags(const DSA *d, int flags); 29 void DSA_set_flags(DSA *d, int flags); 30 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 35 int, DSA *); 70 int (*DSA_meth_get_init(const DSA_METHOD *dsam))(DSA *); 71 int DSA_meth_set_init(DSA_METHOD *dsam, int (*init)(DSA *)); 73 int (*DSA_meth_get_finish(const DSA_METHOD *dsam))(DSA *); 74 int DSA_meth_set_finish(DSA_METHOD *dsam, int (*finish)(DSA *)); 76 int (*DSA_meth_get_paramgen(const DSA_METHOD *dsam))(DSA *, int, 84 int (*DSA_meth_get_keygen(const DSA_METHOD *dsam))(DSA *); 99 new B<DSA> object will have those flags set by default. 123 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 16 int DSA_set_method(DSA *dsa, const DSA_METHOD *meth); 18 DSA *DSA_new_method(ENGINE *engine); 24 A B<DSA_METHOD> specifies the functions that OpenSSL uses for DSA 27 important information about how these DSA API functions are affected by the use 33 DSA_set_default_method() makes B<meth> the default method for all DSA 36 been set as a default for DSA, so this function is no longer recommended. 46 B<rsa>. This will replace the DSA_METHOD used by the DSA key and if the 48 be released during the change. It is possible to have DSA keys that only 55 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 11 int DSA_size(const DSA *dsa); 12 int DSA_bits(const DSA *dsa); 13 int DSA_security_bits(const DSA *dsa); 17 DSA_size() returns the maximum size of an ASN.1 encoded DSA signature 19 be allocated for a DSA signature.
|
| H A D | DSA_new.pod | 5 DSA_new, DSA_free - allocate and free DSA objects 11 DSA* DSA_new(void); 13 void DSA_free(DSA *dsa); 17 DSA_new() allocates and initializes a B<DSA> structure. It is equivalent to 20 DSA_free() frees the B<DSA> structure and its components. The values are
|
| H A D | RSA_print.pod | 18 int DSAparams_print(BIO *bp, DSA *x); 19 int DSAparams_print_fp(FILE *fp, DSA *x); 20 int DSA_print(BIO *bp, DSA *x, int offset); 21 int DSA_print_fp(FILE *fp, DSA *x, int offset); 31 key, DSA parameters or key or DH parameters is printed to B<bp> or B<fp>.
|
| H A D | PEM_read_bio_PrivateKey.pod | 95 DSA *PEM_read_bio_DSAPrivateKey(BIO *bp, DSA **x, 97 DSA *PEM_read_DSAPrivateKey(FILE *fp, DSA **x, 106 DSA *PEM_read_bio_DSA_PUBKEY(BIO *bp, DSA **x, 108 DSA *PEM_read_DSA_PUBKEY(FILE *fp, DSA **x, 111 int PEM_write_DSA_PUBKEY(FILE *fp, DSA *x); 113 DSA *PEM_read_bio_DSAparams(BIO *bp, DSA **x, pem_password_cb *cb, void *u); 114 DSA *PEM_read_DSAparams(FILE *fp, DSA **x, pem_password_cb *cb, void *u); 115 int PEM_write_bio_DSAparams(BIO *bp, DSA *x); 116 int PEM_write_DSAparams(FILE *fp, DSA *x); 217 key is not DSA. [all …]
|
| H A D | DSA_sign.pod | 5 DSA_sign, DSA_sign_setup, DSA_verify - DSA signatures 12 unsigned char *sigret, unsigned int *siglen, DSA *dsa); 14 int DSA_sign_setup(DSA *dsa, BN_CTX *ctx, BIGNUM **kinvp, BIGNUM **rp); 17 unsigned char *sigbuf, int siglen, DSA *dsa); 28 Since OpenSSL 1.1.0 the DSA type is opaque and the output of
|
| /freebsd-12.1/crypto/openssl/crypto/pem/ |
| H A D | pem_all.c | 25 static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa); 92 static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa) in IMPLEMENT_PEM_write_cb_const() 94 DSA *dtmp; in IMPLEMENT_PEM_write_cb_const() 108 DSA *PEM_read_bio_DSAPrivateKey(BIO *bp, DSA **dsa, pem_password_cb *cb, in PEM_read_bio_DSAPrivateKey() 116 IMPLEMENT_PEM_write_cb_const(DSAPrivateKey, DSA, PEM_STRING_DSA, in IMPLEMENT_PEM_write_cb_const() argument 118 IMPLEMENT_PEM_rw(DSA_PUBKEY, DSA, PEM_STRING_PUBLIC, DSA_PUBKEY) in IMPLEMENT_PEM_write_cb_const() 120 DSA *PEM_read_DSAPrivateKey(FILE *fp, DSA **dsa, pem_password_cb *cb, void *u) in IMPLEMENT_PEM_write_cb_const() 129 IMPLEMENT_PEM_rw_const(DSAparams, DSA, PEM_STRING_DSAPARAMS, DSAparams) in IMPLEMENT_PEM_rw_const() argument
|
| /freebsd-12.1/crypto/openssl/crypto/x509/ |
| H A D | x_all.c | 266 DSA *d2i_DSAPrivateKey_fp(FILE *fp, DSA **dsa) in d2i_DSAPrivateKey_fp() 271 int i2d_DSAPrivateKey_fp(FILE *fp, DSA *dsa) in i2d_DSAPrivateKey_fp() 273 return ASN1_i2d_fp_of_const(DSA, i2d_DSAPrivateKey, fp, dsa); in i2d_DSAPrivateKey_fp() 276 DSA *d2i_DSA_PUBKEY_fp(FILE *fp, DSA **dsa) in d2i_DSA_PUBKEY_fp() 281 int i2d_DSA_PUBKEY_fp(FILE *fp, DSA *dsa) in i2d_DSA_PUBKEY_fp() 283 return ASN1_i2d_fp_of(DSA, i2d_DSA_PUBKEY, fp, dsa); in i2d_DSA_PUBKEY_fp() 287 DSA *d2i_DSAPrivateKey_bio(BIO *bp, DSA **dsa) in d2i_DSAPrivateKey_bio() 292 int i2d_DSAPrivateKey_bio(BIO *bp, DSA *dsa) in i2d_DSAPrivateKey_bio() 297 DSA *d2i_DSA_PUBKEY_bio(BIO *bp, DSA **dsa) in d2i_DSA_PUBKEY_bio() 302 int i2d_DSA_PUBKEY_bio(BIO *bp, DSA *dsa) in i2d_DSA_PUBKEY_bio() [all …]
|
| /freebsd-12.1/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-12.1/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-12.1/crypto/openssl/doc/man1/ |
| H A D | dsaparam.pod | 6 dsaparam - DSA parameter manipulation and generation 27 This command is used to manipulate or generate DSA parameter files. 67 This option prints out the DSA parameters in human readable form. 76 This option will generate a DSA either using the specified or generated 109 PEM format DSA parameters use the header and footer lines: 111 -----BEGIN DSA PARAMETERS----- 112 -----END DSA PARAMETERS----- 114 DSA parameter generation is a slow process and as a result the same set of 115 DSA parameters is often used to generate several distinct keys.
|
| H A D | gendsa.pod | 6 gendsa - generate a DSA private key from a set of parameters 32 The B<gendsa> command generates a DSA private key from a DSA parameter file 76 This option specifies the DSA parameter file to use. The parameters in this 77 file determine the size of the private key. DSA parameters can be generated 84 DSA key generation is little more than random number generation so it is
|
| /freebsd-12.1/contrib/ldns/ldns/ |
| H A D | keys.h | 265 DSA *ldns_key_new_frm_fp_dsa(FILE *fp); 276 DSA *ldns_key_new_frm_fp_dsa_l(FILE *fp, int *line_nr); 333 void ldns_key_set_dsa_key(ldns_key *k, DSA *d); 349 void ldns_key_assign_dsa_key(ldns_key *k, DSA *d); 472 DSA *ldns_key_dsa_key(const ldns_key *k);
|
| /freebsd-12.1/contrib/ntp/libntp/ |
| H A D | libssl_compat.c | 118 DSA* 259 const DSA * pdsa, in sslshim_DSA_get0_pqg() 277 DSA * pdsa, in sslshim_DSA_set0_pqg() 295 const DSA * pdsa, in sslshim_DSA_get0_key() 310 DSA * pdsa, in sslshim_DSA_set0_key()
|
| /freebsd-12.1/crypto/openssl/doc/HOWTO/ |
| H A D | keys.txt | 14 RSA and DSA, and this HOWTO will show how to generate each of them. 35 3. To generate a DSA key 37 A DSA key can be used for signing only. It is important to 38 know what a certificate request with a DSA key can really be used for. 40 Generating a key for the DSA algorithm is a two-step process. First, 46 higher is recommended for DSA keys, as fewer amount of bits is 64 Generating a key for ECC is similar to generating a DSA key. These are
|