diff options
author | lloyd <[email protected]> | 2007-07-17 23:48:14 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2007-07-17 23:48:14 +0000 |
commit | 5ea451fc8db248c76fe68db87b9c76ffad019655 (patch) | |
tree | 7c5f8717a4521aeeee4fa9c9f38df791b9339102 /include/blowfish.h | |
parent | e56d05f6e77044ce4fdc4288dc9bb4eb556d13fd (diff) |
Combine the Blowfish initial sbox contents into a single 1024 element array.
Diffstat (limited to 'include/blowfish.h')
-rw-r--r-- | include/blowfish.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/blowfish.h b/include/blowfish.h index e55c5d796..46d44d7b1 100644 --- a/include/blowfish.h +++ b/include/blowfish.h @@ -26,8 +26,7 @@ class Blowfish : public BlockCipher void key(const byte[], u32bit); void generate_sbox(u32bit[], u32bit, u32bit&, u32bit&) const; - static const u32bit PBOX[18], SBOX1[256], SBOX2[256], - SBOX3[256], SBOX4[256]; + static const u32bit PBOX[18], SBOX[1024]; SecureBuffer<u32bit, 256> S1, S2, S3, S4; SecureBuffer<u32bit, 18> P; |