From e09706b43b9c14304bceadfd1c61a67bdb26384a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se> Date: Sun, 17 Jun 2001 00:26:37 +0200 Subject: [PATCH] * blowfish.h (struct blowfish_ctx): Use a two-dimensional array for s. Rev: src/nettle/blowfish.h:1.4 --- blowfish.h | 5 +---- 1 file changed, 1 insertion(+), 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; }; -- GitLab