diff options
author | Matt Johnston <matt@ucc.asn.au> | 2006-03-08 13:02:58 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2006-03-08 13:02:58 +0000 |
commit | 33defd1f9b6c4889fe5b075e6abb0b24c00f3a59 (patch) | |
tree | 982534f91ac5a91320d46e15279f18dd93967b3f /src/ciphers/twofish/twofish.c | |
parent | c57e1d8def6e38d350da8b098a91806d405e952e (diff) |
Just import the Dropbear 0.47 libtomcrypt changes
--HG--
branch : libtomcrypt-dropbear
extra : convert_revision : 20dccfc09627970a312d77fb41dc2970b62689c3
Diffstat (limited to 'src/ciphers/twofish/twofish.c')
-rw-r--r-- | src/ciphers/twofish/twofish.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ciphers/twofish/twofish.c b/src/ciphers/twofish/twofish.c index 61aa950..f147bab 100644 --- a/src/ciphers/twofish/twofish.c +++ b/src/ciphers/twofish/twofish.c @@ -43,12 +43,14 @@ const struct ltc_cipher_descriptor twofish_desc = #define RS_POLY 0x14D /* The 4x4 MDS Linear Transform */ +#if 0 static const unsigned char MDS[4][4] = { { 0x01, 0xEF, 0x5B, 0x5B }, { 0x5B, 0xEF, 0xEF, 0x01 }, { 0xEF, 0x5B, 0x01, 0xEF }, { 0xEF, 0x01, 0xEF, 0x5B } }; +#endif /* The 4x8 RS Linear Transform */ static const unsigned char RS[4][8] = { |