]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
* blowfish.h (struct blowfish_ctx): Use a two-dimensional array
authorNiels Möller <nisse@lysator.liu.se>
Sat, 16 Jun 2001 22:26:37 +0000 (00:26 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Sat, 16 Jun 2001 22:26:37 +0000 (00:26 +0200)
for s.

Rev: src/nettle/blowfish.h:1.4

blowfish.h

index efa287f5e928fa570d41a035fc7887d6be2885ab..d95bdb6e92e9d2cf1b6fb7a4d612deb6307215c7 100644 (file)
@@ -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;
 };