Lines Matching refs:dsa

85 /* DSA_free decrements the reference count of |dsa| and frees it if the
87 OPENSSL_EXPORT void DSA_free(DSA *dsa);
89 /* DSA_up_ref increments the reference count of |dsa|. */
90 OPENSSL_EXPORT int DSA_up_ref(DSA *dsa);
112 OPENSSL_EXPORT int DSA_generate_parameters_ex(DSA *dsa, unsigned bits,
119 * parameters from |dsa|. It returns NULL on error. */
120 OPENSSL_EXPORT DSA *DSAparams_dup(const DSA *dsa);
125 /* DSA_generate_key generates a public/private key pair in |dsa|, which must
128 OPENSSL_EXPORT int DSA_generate_key(DSA *dsa);
145 /* DSA_do_sign returns a signature of the hash in |digest| by the key in |dsa|
148 DSA *dsa);
151 * |dsa|, of the hash in |digest|. It returns one if so, zero if invalid and -1
161 DSA_SIG *sig, const DSA *dsa);
164 * is a valid signature, by the public key in |dsa| of the hash in |digest|
171 const DSA *dsa);
180 /* DSA_sign signs |digest| with the key in |dsa| and writes the resulting
182 * |*out_siglen|. There must be, at least, |DSA_size(dsa)| bytes of space in
188 DSA *dsa);
191 * key in |dsa|, of the hash in |digest|. It returns one if so, zero if invalid
204 size_t sig_len, const DSA *dsa);
207 * is a valid, ASN.1 signature, by the public key in |dsa|, of the hash in
214 size_t sig_len, const DSA *dsa);
217 * generated by |dsa|. Parameters must already have been setup in |dsa|. */
218 OPENSSL_EXPORT int DSA_size(const DSA *dsa);
290 OPENSSL_EXPORT int DSA_sign_setup(const DSA *dsa, BN_CTX *ctx,
296 /* DSA_dup_DH returns a |DH| constructed from the parameters of |dsa|. This is
299 OPENSSL_EXPORT DH *DSA_dup_DH(const DSA *dsa);
319 int (*init)(DSA *dsa);
320 int (*finish)(DSA *dsa);
322 DSA_SIG *(*sign)(const uint8_t *digest, size_t digest_len, DSA *dsa);
324 int (*sign_setup)(const DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp,
328 DSA_SIG *sig, const DSA *dsa);
331 int (*generate_parameters)(DSA *dsa, unsigned bits, const uint8_t *seed,
336 int (*keygen)(DSA *dsa);