diff options
author | weidai <weidai11@users.noreply.github.com> | 2004-07-22 00:51:57 +0000 |
---|---|---|
committer | weidai <weidai11@users.noreply.github.com> | 2004-07-22 00:51:57 +0000 |
commit | 393ae4859a9d3df3c5aee304b4c65121b657f613 (patch) | |
tree | faff40f3429fb7fb70249c83afd5378f92ebdb31 /pkcspad.h | |
parent | ad8043d50c19d94177a420fba5ef6e9fd15afff1 (diff) | |
download | cryptopp-git-393ae4859a9d3df3c5aee304b4c65121b657f613.tar.gz |
fix documentation, fix PanamaMAC, fix algorithm names
Diffstat (limited to 'pkcspad.h')
-rw-r--r-- | pkcspad.h | 31 |
1 files changed, 18 insertions, 13 deletions
@@ -28,6 +28,18 @@ public: static const unsigned int length; }; +// PKCS_DigestDecoration can be instantiated with the following +// classes as specified in PKCS#1 v2.0 and P1363a +class SHA; +class MD2; +class MD5; +class RIPEMD160; +class Tiger; +class SHA256; +class SHA384; +class SHA512; +// end of list + //! <a href="http://www.weidai.com/scan-mirror/sig.html#sem_PKCS1-1.5">EMSA-PKCS1-v1_5</a> class CRYPTOPP_DLL PKCS1v15_SignatureMessageEncodingMethod : public PK_DeterministicSignatureMessageEncodingMethod { @@ -51,8 +63,12 @@ public: }; }; -//! PKCS #1 version 1.5, for use with RSAES and RSASSA -/*! The following hash functions are supported for signature: SHA, MD2, MD5, RIPEMD160, SHA256, SHA384, SHA512. */ +//! PKCS #1 version 1.5, for use with RSAES and RSASS +/*! Only the following hash functions are supported by this signature standard: + \dontinclude pkcspad.h + \skip can be instantiated + \until end of list +*/ struct PKCS1v15 : public SignatureStandard, public EncryptionStandard { typedef PKCS_EncryptionPaddingScheme EncryptionMessageEncodingMethod; @@ -63,17 +79,6 @@ struct PKCS1v15 : public SignatureStandard, public EncryptionStandard CRYPTOPP_DLL_TEMPLATE_CLASS PKCS_DigestDecoration<SHA>; #endif -// PKCS_DecoratedHashModule can be instantiated with the following -// classes as specified in PKCS#1 v2.0 and P1363a -class SHA; -class MD2; -class MD5; -class RIPEMD160; -class Tiger; -class SHA256; -class SHA384; -class SHA512; - NAMESPACE_END #endif |