Lines Matching refs:dsa
1 /* crypto/dsa/dsa_sign.c */
62 #include <openssl/dsa.h>
66 DSA_SIG * DSA_do_sign(const unsigned char *dgst, int dlen, DSA *dsa)
69 if (FIPS_mode() && !(dsa->meth->flags & DSA_FLAG_FIPS_METHOD)
70 && !(dsa->flags & DSA_FLAG_NON_FIPS_ALLOW))
76 return dsa->meth->dsa_do_sign(dgst, dlen, dsa);
79 int DSA_sign_setup(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp)
82 if (FIPS_mode() && !(dsa->meth->flags & DSA_FLAG_FIPS_METHOD)
83 && !(dsa->flags & DSA_FLAG_NON_FIPS_ALLOW))
89 return dsa->meth->dsa_sign_setup(dsa, ctx_in, kinvp, rp);