Utility to output digests in format suitable for RSA signatures.

The current stable version of OpenSSL(0.9.8d) does not support RSA signature with SHA-256 and SHA-512 message digests. This utility outputs the hash of file data in a format suitable for use with the "openssl" command-line tool fir generating RSA signatures.

Also modified the tests to use this to generate RSA signature rather than "openssl pkeyutl" which is not supported on current stable version of OpenSSL.

Review URL: http://codereview.chromium.org/552227
7 files changed
tree: 38fef724dae61263b3bf7eac361cf68103d2e7ac
  1. common/
  2. crypto/
  3. include/
  4. tests/
  5. utils/
  6. Makefile