diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-08-26 14:51:49 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-08-26 14:51:49 +0000 |
commit | f55f5f775e69f853e8753aff94ee621ba14af40c (patch) | |
tree | 62dd3d8b9091324006eec608d6fee8f121af84a7 /crypto/dsa/dsa_locl.h | |
parent | 7daf0efad90ed403c407d562f20affca12c7a816 (diff) |
Add support for canonical generation of DSA parameter g.
Modify fips_dssvs to support appropriate file format.
Diffstat (limited to 'crypto/dsa/dsa_locl.h')
-rw-r--r-- | crypto/dsa/dsa_locl.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/crypto/dsa/dsa_locl.h b/crypto/dsa/dsa_locl.h index 4e07c7cbab..f385a7e861 100644 --- a/crypto/dsa/dsa_locl.h +++ b/crypto/dsa/dsa_locl.h @@ -59,7 +59,9 @@ int dsa_builtin_paramgen(DSA *ret, size_t bits, size_t qbits, unsigned char *seed_out, int *counter_ret, unsigned long *h_ret, BN_GENCB *cb); -int dsa_builtin_paramgen2(DSA *ret, size_t bits, size_t qbits, +int dsa_builtin_paramgen2(DSA *ret, size_t L, size_t N, const EVP_MD *evpmd, const unsigned char *seed_in, size_t seed_len, - unsigned char *seed_out, + int idx, unsigned char *seed_out, int *counter_ret, unsigned long *h_ret, BN_GENCB *cb); + +int dsa_paramgen_check_g(DSA *dsa); |