X-Git-Url: http://git.tdb.fi/?p=libs%2Fcrypto.git;a=blobdiff_plain;f=source%2Fsha2.h;fp=source%2Fsha2.h;h=88dee9a03563d2103695db25d9039a789e94bc4e;hp=060b8d79af5cc2d72010821957dd28d88645faf9;hb=5909e8328a91e4ae952c0ab760cddddbc3825b27;hpb=52c9b0b8aacb973b6138ba0eb0e36e0c0cc23f80 diff --git a/source/sha2.h b/source/sha2.h index 060b8d7..88dee9a 100644 --- a/source/sha2.h +++ b/source/sha2.h @@ -34,7 +34,7 @@ private: }; -struct SHA2_256Constants +struct SHA256Constants { typedef UInt32 WordType; @@ -52,7 +52,7 @@ struct SHA2_256Constants static const unsigned sigma_constants[12]; }; -struct SHA2_512Constants +struct SHA512Constants { typedef UInt64 WordType; @@ -70,8 +70,8 @@ struct SHA2_512Constants static const unsigned sigma_constants[12]; }; -typedef SHA2 SHA256; -typedef SHA2 SHA512; +typedef SHA2 SHA256; +typedef SHA2 SHA512; } // namespace Crypto } // namespace Msp