Searched refs:DSA (Results 1 - 25 of 68) sorted by relevance

123

/freebsd-11.0-release/crypto/openssl/crypto/dsa/
H A Ddsa.h71 # error DSA is disabled.
93 * new with 0.9.7h; the built-in DSA implementation now uses constant time
100 * If this flag is set the DSA method is FIPS compliant and can be used in
121 /* typedef struct dsa_st DSA; */
131 DSA_SIG *(*dsa_do_sign) (const unsigned char *dgst, int dlen, DSA *dsa);
132 int (*dsa_sign_setup) (DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp,
135 DSA_SIG *sig, DSA *dsa);
136 int (*dsa_mod_exp) (DSA *dsa, BIGNUM *rr, BIGNUM *a1, BIGNUM *p1,
140 int (*bn_mod_exp) (DSA *dsa, BIGNUM *r, BIGNUM *a, const BIGNUM *p,
142 int (*init) (DSA *ds
[all...]
H A Ddsa_asn1.c103 DSA_free((DSA *)*pval);
111 ASN1_SIMPLE(DSA, version, LONG),
112 ASN1_SIMPLE(DSA, p, BIGNUM),
113 ASN1_SIMPLE(DSA, q, BIGNUM),
114 ASN1_SIMPLE(DSA, g, BIGNUM),
115 ASN1_SIMPLE(DSA, pub_key, BIGNUM),
116 ASN1_SIMPLE(DSA, priv_key, BIGNUM)
117 } ASN1_SEQUENCE_END_cb(DSA, DSAPrivateKey)
119 IMPLEMENT_ASN1_ENCODE_FUNCTIONS_const_fname(DSA, DSAPrivateKey, DSAPrivateKey)
122 ASN1_SIMPLE(DSA,
[all...]
H A Ddsa_locl.h57 int dsa_builtin_paramgen(DSA *ret, size_t bits, size_t qbits,
63 int dsa_builtin_paramgen2(DSA *ret, size_t L, size_t N,
69 int dsa_paramgen_check_g(DSA *dsa);
H A Ddsa_prn.c66 int DSA_print_fp(FILE *fp, const DSA *x, int off)
81 int DSAparams_print_fp(FILE *fp, const DSA *x)
97 int DSA_print(BIO *bp, const DSA *x, int off)
102 if (!pk || !EVP_PKEY_set1_DSA(pk, (DSA *)x))
109 int DSAparams_print(BIO *bp, const DSA *x)
114 if (!pk || !EVP_PKEY_set1_DSA(pk, (DSA *)x))
H A Ddsa_vrf.c65 DSA *dsa)
H A Ddsa_depr.c92 DSA *DSA_generate_parameters(int bits,
99 DSA *ret;
H A Ddsa_lib.c77 const char DSA_version[] = "DSA" OPENSSL_VERSION_PTEXT;
101 DSA *DSA_new(void)
106 int DSA_set_method(DSA *dsa, const DSA_METHOD *meth)
128 DSA *DSA_new_method(ENGINE *engine)
130 DSA *ret;
132 ret = (DSA *)OPENSSL_malloc(sizeof(DSA));
189 void DSA_free(DSA *r)
198 REF_PRINT("DSA", r);
235 int DSA_up_ref(DSA *
[all...]
H A Ddsa_key.c71 static int dsa_builtin_keygen(DSA *dsa);
73 int DSA_generate_key(DSA *dsa)
91 static int dsa_builtin_keygen(DSA *dsa)
H A Ddsa_sign.c66 DSA_SIG *DSA_do_sign(const unsigned char *dgst, int dlen, DSA *dsa)
78 int DSA_sign_setup(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp)
H A Ddsa_ossl.c69 static DSA_SIG *dsa_do_sign(const unsigned char *dgst, int dlen, DSA *dsa);
70 static int dsa_sign_setup(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp,
73 DSA_SIG *sig, DSA *dsa);
74 static int dsa_init(DSA *dsa);
75 static int dsa_finish(DSA *dsa);
78 "OpenSSL DSA method",
133 static DSA_SIG *dsa_do_sign(const unsigned char *dgst, int dlen, DSA *dsa)
222 static int dsa_sign_setup(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp,
321 DSA_SIG *sig, DSA *dsa)
416 static int dsa_init(DSA *ds
[all...]
H A Ddsa_pmeth.c68 /* DSA pkey context structure */
127 DSA *dsa = ctx->pkey->pkey.dsa;
148 DSA *dsa = ctx->pkey->pkey.dsa;
243 DSA *dsa = NULL;
266 DSA *dsa = NULL;
H A Ddsagen.c103 DSA *dsa;
H A Ddsa_ameth.c80 DSA *dsa = NULL;
131 DSA *dsa;
176 * In PKCS#8 DSA: you just get a private key integer and parameters in the
192 DSA *dsa = NULL;
200 /* Check for broken DSA PKCS#8, UGH! */
351 DSA *dsa;
414 static int do_dsa_print(BIO *bp, const DSA *x, int off, int ptype)
438 ktype = "DSA-Parameters";
480 DSA *dsa;
515 DSA *ds
[all...]
/freebsd-11.0-release/contrib/ntp/include/
H A Dlibssl_compat.h57 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-11.0-release/crypto/openssl/crypto/pem/
H A Dpem_all.c133 static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa);
150 * We treat RSA or DSA private keys as a special case. For private keys we
247 static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa)
249 DSA *dtmp;
263 DSA *PEM_read_bio_DSAPrivateKey(BIO *bp, DSA **dsa, pem_password_cb *cb,
273 int PEM_write_bio_DSAPrivateKey(BIO *bp, DSA *x, const EVP_CIPHER *enc,
295 int PEM_write_DSAPrivateKey(FILE *fp, DSA *
[all...]
/freebsd-11.0-release/crypto/openssl/engines/ccgost/
H A Dgost_lcl.h193 int fill_GOST94_params(DSA *dsa, int nid);
195 int gost_sign_keygen(DSA *dsa);
198 DSA_SIG *gost_do_sign(const unsigned char *dgst, int dlen, DSA *dsa);
202 DSA_SIG *sig, DSA *dsa);
206 int gost94_compute_public(DSA *dsa);
227 int gost94_nid_by_params(DSA *p);
H A Dgost_sign.c53 DSA_SIG *gost_do_sign(const unsigned char *dgst, int dlen, DSA *dsa)
163 DSA_SIG *sig, DSA *dsa)
228 int gost94_compute_public(DSA *dsa)
259 int fill_GOST94_params(DSA *dsa, int nid)
292 int gost_sign_keygen(DSA *dsa)
H A Dgost_ameth.c23 int gost94_nid_by_params(DSA *p)
125 DSA *dsa = EVP_PKEY_get0(pkey);
156 DSA *dsa = EVP_PKEY_get0(pkey);
188 DSA *dsa = EVP_PKEY_get0((EVP_PKEY *)pkey);
385 pubkey = ((DSA *)EVP_PKEY_get0((EVP_PKEY *)pkey))->pub_key;
500 const DSA *dsa = EVP_PKEY_get0((EVP_PKEY *)pk);
520 const DSA *dfrom = EVP_PKEY_get0((EVP_PKEY *)from);
521 DSA *dto = EVP_PKEY_get0(to);
579 const DSA *da = EVP_PKEY_get0((EVP_PKEY *)a);
580 const DSA *d
[all...]
/freebsd-11.0-release/contrib/unbound/sldns/
H A Dkeyraw.h64 * \return a DSA * structure with the key material
66 DSA *sldns_key_buf2dsa_raw(unsigned char* key, size_t len);
/freebsd-11.0-release/crypto/openssl/crypto/x509/
H A Dx_all.c313 DSA *d2i_DSAPrivateKey_fp(FILE *fp, DSA **dsa)
315 return ASN1_d2i_fp_of(DSA, DSA_new, d2i_DSAPrivateKey, fp, dsa);
318 int i2d_DSAPrivateKey_fp(FILE *fp, DSA *dsa)
320 return ASN1_i2d_fp_of_const(DSA, i2d_DSAPrivateKey, fp, dsa);
323 DSA *d2i_DSA_PUBKEY_fp(FILE *fp, DSA **dsa)
325 return ASN1_d2i_fp_of(DSA, DSA_new, d2i_DSA_PUBKEY, fp, dsa);
328 int i2d_DSA_PUBKEY_fp(FILE *fp, DSA *dsa)
330 return ASN1_i2d_fp_of(DSA, i2d_DSA_PUBKE
[all...]
/freebsd-11.0-release/contrib/ntp/libntp/
H A Dlibssl_compat.c115 DSA*
217 * set/get DSA signature parameters
252 * get/set DSA parameters
256 const DSA * pdsa,
274 DSA * pdsa,
292 const DSA * pdsa,
307 DSA * pdsa,
/freebsd-11.0-release/contrib/ldns/ldns/
H A Dkeys.h242 * remainder of the (DSA) priv. key file
246 DSA *ldns_key_new_frm_fp_dsa(FILE *fp);
252 * remainder of the (DSA) priv. key file
257 DSA *ldns_key_new_frm_fp_dsa_l(FILE *fp, int *line_nr);
314 void ldns_key_set_dsa_key(ldns_key *k, DSA *d);
330 void ldns_key_assign_dsa_key(ldns_key *k, DSA *d);
450 * returns the (openssl) DSA struct contained in the key
453 DSA *ldns_key_dsa_key(const ldns_key *k);
/freebsd-11.0-release/crypto/openssl/crypto/asn1/
H A Dx_pubkey.c222 * The following are equivalents but which return RSA and DSA keys
265 DSA *d2i_DSA_PUBKEY(DSA **a, const unsigned char **pp, long length)
268 DSA *key;
286 int i2d_DSA_PUBKEY(DSA *a, unsigned char **pp)
/freebsd-11.0-release/crypto/openssh/
H A Dsshkey.h43 # define DSA void macro
103 DSA *dsa;
220 # undef DSA macro
/freebsd-11.0-release/crypto/openssl/crypto/dh/
H A Ddh_pmeth.c300 extern int dsa_builtin_paramgen(DSA *ret, size_t bits, size_t qbits,
306 extern int dsa_builtin_paramgen2(DSA *ret, size_t L, size_t N,
313 static DSA *dsa_dh_generate(DH_PKEY_CTX *dctx, BN_GENCB *pcb)
315 DSA *ret;
386 DSA *dsa_dh;

Completed in 104 milliseconds

123