sha224, sha256, sha384, sha512
Larry Bugbee <[email protected]>
| Newsgroups | gmane.comp.python.cryptography |
|---|---|
| Message-ID | <[email protected]> |
In the FWIW category....
I wasn't able to get EVP.MessageDigest to accept sha224, sha256,
sha384, or sha512 until I added the following lines to SWIG/_evp.i
%rename(sha224) EVP_sha224;
extern const EVP_MD *EVP_sha224(void);
%rename(sha256) EVP_sha256;
extern const EVP_MD *EVP_sha256(void);
%rename(sha384) EVP_sha384;
extern const EVP_MD *EVP_sha384(void);
%rename(sha512) EVP_sha512;
extern const EVP_MD *EVP_sha512(void);
I'm now able to do long-lived signatures with M2Crypto. :-)
Again my thanks, Larry