Move FIPS RSA function definitions to fips.h
authorDr. Stephen Henson <steve@openssl.org>
Thu, 2 Jun 2011 17:30:22 +0000 (17:30 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 2 Jun 2011 17:30:22 +0000 (17:30 +0000)
commit0cabe4e1722b09e3598c30fbfb1992ba4ae84d69
tree6f864f8ae85d31a7ba41fedb8044b84a0e27eb6a
parentb6df360b9eacbb758c30cda76a45368ad9012e83
Move FIPS RSA function definitions to fips.h

New function to lookup digests by NID in module.

Minor optimisation: if supplied hash is NULL to FIPS RSA functions and
we are using PKCS padding get digest NID from otherwise unused saltlen
parameter instead.
fips/fips.h
fips/rand/fips_drbg_hash.c
fips/rsa/fips_rsa_sign.c
fips/utl/fips_md.c