diff options
author | weidai <weidai11@users.noreply.github.com> | 2003-04-23 00:51:42 +0000 |
---|---|---|
committer | weidai <weidai11@users.noreply.github.com> | 2003-04-23 00:51:42 +0000 |
commit | 3e15ae72b5a212c8d3cc415ac8bad7ada7cf2a6c (patch) | |
tree | 05b2ffec35be664715f757ede692a8d2d09b19ac /camellia.cpp | |
parent | 5801fd7b19d82b3c6851172d751ac70b79605d18 (diff) | |
download | cryptopp-git-3e15ae72b5a212c8d3cc415ac8bad7ada7cf2a6c.tar.gz |
minor changes related to NESSIE algorithms
Diffstat (limited to 'camellia.cpp')
-rw-r--r-- | camellia.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/camellia.cpp b/camellia.cpp index 3d8d5e3f..4fff64c9 100644 --- a/camellia.cpp +++ b/camellia.cpp @@ -73,8 +73,6 @@ void Camellia::Base::UncheckedSetKey(CipherDir dir, const byte *key, unsigned in #define KA (kw+4) #define KB (kw+6) -//??? GetBlock<word64, BigEndian> keyblock(key); -//??? keyblock(KL[0])(KL[1]); if (keylen == 16) { GetUserKey(BIG_ENDIAN_ORDER, kw, 2, key, keylen); @@ -92,15 +90,6 @@ void Camellia::Base::UncheckedSetKey(CipherDir dir, const byte *key, unsigned in { GetUserKey(BIG_ENDIAN_ORDER, kw, 4, key, keylen); } -//??? keyblock(KR[0]); -//??? if (keylen == 32) -//??? { -//??? keyblock(KR[1]); -//??? } -//??? else -//??? { -//??? KR[1] = ~KR[0]; -//??? } KA[0] = KL[0] ^ KR[0]; KA[1] = KL[1] ^ KR[1]; } |