diff options
author | unknown <msvensson@neptunus.(none)> | 2005-09-27 11:34:11 +0200 |
---|---|---|
committer | unknown <msvensson@neptunus.(none)> | 2005-09-27 11:34:11 +0200 |
commit | e67a147e23fc7fda13d7d7bae18a6f6f556b40d0 (patch) | |
tree | b51a013459c00c961b31b9c5d52e46c3b2420ddf /extra | |
parent | 706731cf8d36936b3897168316c819e7b354e321 (diff) | |
parent | 2376631c59d9a3c248c754c6819a3c033dd0cb9a (diff) | |
download | mariadb-git-e67a147e23fc7fda13d7d7bae18a6f6f556b40d0.tar.gz |
Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0
into neptunus.(none):/home/msvensson/mysql/bug13476/my50-bug13476
Diffstat (limited to 'extra')
-rw-r--r-- | extra/yassl/taocrypt/include/hmac.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/extra/yassl/taocrypt/include/hmac.hpp b/extra/yassl/taocrypt/include/hmac.hpp index 543366afc3a..cf029812ce2 100644 --- a/extra/yassl/taocrypt/include/hmac.hpp +++ b/extra/yassl/taocrypt/include/hmac.hpp @@ -56,12 +56,12 @@ private: T mac_; // MSVC 6 HACK, gives compiler error if calculated in array - enum { BSIZE = T::BLOCK_SIZE / sizeof(word32), - DSIZE = T::DIGEST_SIZE / sizeof(word32) }; + enum { HMAC_BSIZE = T::BLOCK_SIZE / sizeof(word32), + HMAC_DSIZE = T::DIGEST_SIZE / sizeof(word32) }; - word32 ip_[BSIZE]; // align ipad_ on word32 - word32 op_[BSIZE]; // align opad_ on word32 - word32 innerH_[DSIZE]; // align innerHash_ on word32 + word32 ip_[HMAC_BSIZE]; // align ipad_ on word32 + word32 op_[HMAC_BSIZE]; // align opad_ on word32 + word32 innerH_[HMAC_DSIZE]; // align innerHash_ on word32 void KeyInnerHash(); |