Searched refs:DSA (Results 26 - 50 of 114) sorted by relevance

12345

/netbsd-current/crypto/external/bsd/openssl/dist/crypto/dsa/
H A Ddsa_backend.c11 * DSA low level APIs are deprecated for public use, but still ok for
30 int ossl_dsa_key_fromdata(DSA *dsa, const OSSL_PARAM params[],
66 int ossl_dsa_is_foreign(const DSA *dsa)
69 if (dsa->engine != NULL || DSA_get_method((DSA *)dsa) != DSA_OpenSSL())
82 DSA *ossl_dsa_dup(const DSA *dsa, int selection)
84 DSA *dupkey = NULL;
86 /* Do not try to duplicate foreign DSA keys */
123 DSA *ossl_dsa_key_from_pkcs8(const PKCS8_PRIV_KEY_INFO *p8inf,
137 DSA *ds
[all...]
H A Ddsa_depr.c16 * DSA low level APIs are deprecated for public use, but still ok for
31 DSA *DSA_generate_parameters(int bits,
38 DSA *ret;
H A Ddsa_key.c11 * DSA low level APIs are deprecated for public use, but still ok for
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)
43 int ossl_dsa_generate_public_key(BN_CTX *ctx, const DSA *dsa,
62 static int dsa_keygen(DSA *dsa, int pairwise_test)
143 static int dsa_keygen_pairwise_test(DSA *dsa, OSSL_CALLBACK *cb, void *cbarg)
H A Ddsa_gen.c11 * DSA low level APIs are deprecated for public use, but still ok for
26 int ossl_dsa_generate_ffc_parameters(DSA *dsa, int type, int pbits, int qbits,
47 int DSA_generate_parameters_ex(DSA *dsa, int bits,
60 /* The old code used FIPS 186-2 DSA Parameter generation */
H A Ddsa_ossl.c11 * 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)
198 static DSA_SIG *dsa_do_sign(const unsigned char *dgst, int dlen, DSA *ds
[all...]
H A Ddsa_pmeth.c11 * DSA low level APIs are deprecated for public use, but still ok for
25 /* DSA pkey context structure */
89 DSA *dsa = (DSA *)EVP_PKEY_get0_DSA(ctx->pkey);
113 DSA *dsa = (DSA *)EVP_PKEY_get0_DSA(ctx->pkey);
212 DSA *dsa = NULL;
245 DSA *dsa = NULL;
258 return DSA_generate_key((DSA *)EVP_PKEY_get0_DSA(pkey));
H A Ddsa_ameth.c11 * DSA low level APIs are deprecated for public use, but still ok for
39 DSA *dsa = NULL;
89 DSA *dsa;
146 * In PKCS#8 DSA: you just get a private key integer and parameters in the
153 DSA *dsa = ossl_dsa_key_from_pkcs8(p8, NULL, NULL);
235 DSA *dsa;
272 static int do_dsa_print(BIO *bp, const DSA *x, int off, int ptype)
297 ktype = "DSA-Parameters";
323 DSA *dsa;
359 DSA *ds
[all...]
H A Ddsa_sign.c11 * DSA low level APIs are deprecated for public use, but still ok for
22 DSA_SIG *DSA_do_sign(const unsigned char *dgst, int dlen, DSA *dsa)
28 int DSA_sign_setup(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp)
120 int DSA_size(const DSA *dsa)
155 unsigned char *sig, unsigned int *siglen, DSA *dsa)
179 unsigned char *sig, unsigned int *siglen, DSA *dsa)
192 const unsigned char *sigbuf, int siglen, DSA *dsa)
/netbsd-current/crypto/external/bsd/netpgp/dist/src/librsa/
H A Drsastubs.c71 DSA *
72 PEM_read_DSAPrivateKey(FILE *fp, DSA **x, pem_password_cb *cb, void *u)
74 DSA *dsa;
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/dsa/
H A Ddsa_key.c16 static int dsa_builtin_keygen(DSA *dsa);
18 int DSA_generate_key(DSA *dsa)
25 static int dsa_builtin_keygen(DSA *dsa)
H A Ddsa_ossl.c18 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);
31 "OpenSSL DSA method",
62 static DSA_SIG *dsa_do_sign(const unsigned char *dgst, int dlen, DSA *dsa)
176 static int dsa_sign_setup_no_digest(DSA *dsa, BN_CTX *ctx_in,
182 static int dsa_sign_setup(DSA *ds
[all...]
H A Ddsa_pmeth.c19 /* DSA pkey context structure */
78 DSA *dsa = ctx->pkey->pkey.dsa;
97 DSA *dsa = ctx->pkey->pkey.dsa;
197 DSA *dsa = NULL;
226 DSA *dsa = NULL;
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/pem/
H A Dpem_all.c25 static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa);
42 * We treat RSA or DSA private keys as a special case. For private keys we
91 static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa)
93 DSA *dtmp;
107 DSA *PEM_read_bio_DSAPrivateKey(BIO *bp, DSA **dsa, pem_password_cb *cb,
115 IMPLEMENT_PEM_write_cb_const(DSAPrivateKey, DSA, PEM_STRING_DSA,
117 IMPLEMENT_PEM_rw(DSA_PUBKEY, DSA, PEM_STRING_PUBLI
[all...]
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/pem/
H A Dpem_all.c11 * DSA low level APIs are deprecated for public use, but still ok for
30 static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa);
48 * We treat RSA or DSA private keys as a special case. For private keys we
93 static DSA *pkey_get_dsa(EVP_PKEY *key, DSA **dsa)
95 DSA *dtmp;
109 DSA *PEM_read_bio_DSAPrivateKey(BIO *bp, DSA **dsa, pem_password_cb *cb,
117 IMPLEMENT_PEM_write_cb(DSAPrivateKey, DSA, PEM_STRING_DS
[all...]
/netbsd-current/crypto/external/bsd/openssl/dist/include/crypto/
H A Dpem.h31 DSA *ossl_b2i_DSA_after_header(const unsigned char **in, unsigned int bitlen,
42 DSA *b2i_DSA_PVK_bio(BIO *in, pem_password_cb *cb, void *u);
43 DSA *b2i_DSA_PVK_bio_ex(BIO *in, pem_password_cb *cb, void *u,
/netbsd-current/external/bsd/ntp/dist/include/
H A Dlibssl_compat.h59 extern DSA* sslshim_EVP_PKEY_get0_DSA(EVP_PKEY * pkey);
74 extern void sslshim_DSA_get0_pqg(const DSA *pdsa, const BIGNUM **pp,
76 extern int sslshim_DSA_set0_pqg(DSA *pdsa, BIGNUM *p, BIGNUM *q, BIGNUM *g);
77 extern void sslshim_DSA_get0_key(const DSA *pdsa, const BIGNUM **ppub_key,
79 extern int sslshim_DSA_set0_key(DSA *pdsa, BIGNUM *pub_key,
/netbsd-current/crypto/external/bsd/openssl/dist/providers/common/der/
H A Dder_dsa_sig.c11 * DSA low level APIs are deprecated for public use, but still ok for
27 DSA *dsa, int mdnid)
/netbsd-current/crypto/external/bsd/openssl/dist/providers/common/include/prov/
H A Dsecuritycheck.h15 int ossl_dsa_check_key(OSSL_LIB_CTX *ctx, const DSA *dsa, int sign);
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/x509/
H A Dx_all.c275 DSA *d2i_DSAPrivateKey_fp(FILE *fp, DSA **dsa)
277 return ASN1_d2i_fp_of(DSA, DSA_new, d2i_DSAPrivateKey, fp, dsa);
280 int i2d_DSAPrivateKey_fp(FILE *fp, DSA *dsa)
282 return ASN1_i2d_fp_of_const(DSA, i2d_DSAPrivateKey, fp, dsa);
285 DSA *d2i_DSA_PUBKEY_fp(FILE *fp, DSA **dsa)
287 return ASN1_d2i_fp_of(DSA, DSA_new, d2i_DSA_PUBKEY, fp, dsa);
290 int i2d_DSA_PUBKEY_fp(FILE *fp, DSA *dsa)
292 return ASN1_i2d_fp_of(DSA, i2d_DSA_PUBKE
[all...]
/netbsd-current/crypto/external/bsd/openssl/dist/providers/implementations/keymgmt/
H A Ddsa_kmgmt.c11 * DSA low level APIs are deprecated for public use, but still ok for
98 static int dsa_key_todata(DSA *dsa, OSSL_PARAM_BLD *bld, OSSL_PARAM params[],
132 const DSA *dsa = keydata;
151 const DSA *dsa1 = keydata1;
152 const DSA *dsa2 = keydata2;
183 FFC_PARAMS *dsaparams1 = ossl_dsa_get0_params((DSA *)dsa1);
184 FFC_PARAMS *dsaparams2 = ossl_dsa_get0_params((DSA *)dsa2);
193 DSA *dsa = keydata;
218 DSA *dsa = keydata;
314 DSA *ds
[all...]
/netbsd-current/external/bsd/unbound/dist/sldns/
H A Dkeyraw.h65 * \return a DSA * structure with the key material
67 DSA *sldns_key_buf2dsa_raw(unsigned char* key, size_t len);
71 * Converts a holding buffer with DSA key material to EVP PKEY in openssl.
/netbsd-current/crypto/external/bsd/openssl/lib/libdefault/prov/
H A Dder_dsa.h91 int ossl_DER_w_algorithmIdentifier_DSA(WPACKET *pkt, int tag, DSA *dsa);
94 DSA *dsa, int mdnid);
/netbsd-current/external/bsd/ntp/dist/libntp/
H A Dlibssl_compat.c120 DSA*
222 * set/get DSA signature parameters
257 * get/set DSA parameters
261 const DSA * pdsa,
279 DSA * pdsa,
297 const DSA * pdsa,
312 DSA * pdsa,
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/x509/
H A Dx_all.c359 DSA *d2i_DSAPrivateKey_fp(FILE *fp, DSA **dsa)
361 return ASN1_d2i_fp_of(DSA, DSA_new, d2i_DSAPrivateKey, fp, dsa);
364 int i2d_DSAPrivateKey_fp(FILE *fp, const DSA *dsa)
366 return ASN1_i2d_fp_of(DSA, i2d_DSAPrivateKey, fp, dsa);
369 DSA *d2i_DSA_PUBKEY_fp(FILE *fp, DSA **dsa)
371 return ASN1_d2i_fp_of(DSA, DSA_new, d2i_DSA_PUBKEY, fp, dsa);
374 int i2d_DSA_PUBKEY_fp(FILE *fp, const DSA *dsa)
376 return ASN1_i2d_fp_of(DSA, i2d_DSA_PUBKE
[all...]
/netbsd-current/crypto/external/bsd/openssl/dist/test/
H A Dpem_read_depr_test.c89 DSA *dsa = NULL;
110 DSA *dsa = NULL;
131 DSA *dsa = NULL;

Completed in 159 milliseconds

12345