Skip to content
Snippets Groups Projects
Commit e09706b4 authored by Niels Möller's avatar Niels Möller
Browse files

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

for s.

Rev: src/nettle/blowfish.h:1.4
parent 478484e6
No related branches found
No related tags found
No related merge requests found
...@@ -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;
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment