summaryrefslogtreecommitdiff
path: root/camellia.cpp
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-04-23 00:51:42 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-04-23 00:51:42 +0000
commitf75c755b0ed82f2ed089ccce6d482cd0664ad0ef (patch)
tree05b2ffec35be664715f757ede692a8d2d09b19ac /camellia.cpp
parent810c136815f674ded95305f6bf3fbd72d7746dd5 (diff)
downloadcryptopp-f75c755b0ed82f2ed089ccce6d482cd0664ad0ef.tar.gz
minor changes related to NESSIE algorithms
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@63 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'camellia.cpp')
-rw-r--r--camellia.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/camellia.cpp b/camellia.cpp
index 3d8d5e3..4fff64c 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];
}