On Wednesday, October 4, 2017 at 3:17:34 AM UTC-4, Prinz Valium II wrote: > > Hello everybody, > > I hope this question wasn't asked before. Haven't found anything. I must > calculate the RSASSA-PSS signature of a SHA3 hash. Is this supported by > CryptoPP? I only found MD5, SHA1 abd SHA2 / RSASSA-PSS. >
Crypto++ does support SHA3. I believe Wei added it to the library at 5.6.2. However, we are missing OIDs for the hash when used in the signature scheme. It compiles fine, but link fails. It looks like NIST has some OIDs for the SHA-3 family at https://csrc.nist.gov/projects/computer-security-objects-register/algorithm-registration . Give us a few hours to cut them in. Then, this will work for you: $ cat test.cxx #include "rsa.h" #include "sha3.h" using namespace CryptoPP; typedef RSASS<PKCS1v15, SHA3_256>::Signer RSASSA_PKCS1v15_SHA3_Signer; typedef RSASS<PKCS1v15, SHA3_256>::Verifier RSASSA_PKCS1v15_SHA3_Verifier; int main() { RSASSA_PKCS1v15_SHA3_Signer signer; return 0; } Jeff -- -- You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to [email protected]. More information about Crypto++ and this group is available at http://www.cryptopp.com. --- You received this message because you are subscribed to the Google Groups "Crypto++ Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
