Commit e09706b4 authored by Niels Möller's avatar Niels Möller

* blowfish.h (struct blowfish_ctx): Use a two-dimensional array

for s.

Rev: src/nettle/blowfish.h:1.4
parent 478484e6
...@@ -43,10 +43,7 @@ enum blowfish_error { BLOWFISH_OK, BLOWFISH_WEAK_KEY }; ...@@ -43,10 +43,7 @@ enum blowfish_error { BLOWFISH_OK, BLOWFISH_WEAK_KEY };
struct blowfish_ctx struct blowfish_ctx
{ {
uint32_t s0[256]; uint32_t s[4][256];
uint32_t s1[256];
uint32_t s2[256];
uint32_t s3[256];
uint32_t p[_BLOWFISH_ROUNDS+2]; uint32_t p[_BLOWFISH_ROUNDS+2];
enum blowfish_error status; enum blowfish_error status;
}; };
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment