From: Niels Möller Date: Sat, 16 Jun 2001 22:26:37 +0000 (+0200) Subject: * blowfish.h (struct blowfish_ctx): Use a two-dimensional array X-Git-Tag: release_nettle_0.2.20010617~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e09706b43b9c14304bceadfd1c61a67bdb26384a;p=thirdparty%2Fnettle.git * blowfish.h (struct blowfish_ctx): Use a two-dimensional array for s. Rev: src/nettle/blowfish.h:1.4 --- 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; };