summaryrefslogtreecommitdiff
path: root/blowfish.h
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2001-06-17 00:26:37 +0200
committerNiels Möller <nisse@lysator.liu.se>2001-06-17 00:26:37 +0200
commite09706b43b9c14304bceadfd1c61a67bdb26384a (patch)
treed985645e0c8e5b156bd2362d6fe0aa8952eada48 /blowfish.h
parent478484e6b104b206c7b87a2cc290342a72e43cfb (diff)
downloadnettle-e09706b43b9c14304bceadfd1c61a67bdb26384a.tar.gz
* blowfish.h (struct blowfish_ctx): Use a two-dimensional array
for s. Rev: src/nettle/blowfish.h:1.4
Diffstat (limited to 'blowfish.h')
-rw-r--r--blowfish.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/blowfish.h b/blowfish.h
index efa287f5..d95bdb6e 100644
--- a/blowfish.h
+++ b/blowfish.h
@@ -43,10 +43,7 @@ enum blowfish_error { BLOWFISH_OK, BLOWFISH_WEAK_KEY };
struct blowfish_ctx
{
- uint32_t s0[256];
- uint32_t s1[256];
- uint32_t s2[256];
- uint32_t s3[256];
+ uint32_t s[4][256];
uint32_t p[_BLOWFISH_ROUNDS+2];
enum blowfish_error status;
};