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

* blowfish.c (initial_ctx): Arrange constants into a struct, to

simplify key setup.
(F): Deleted all but one definitions of the F function/macro.
Added a context argument, and use that to find the subkeys.
(R): Added context argument, and use that to find the subkeys.
(blowfish_set_key): Some simplification.

(encrypt): Deleted code for non-standard number of rounds. Deleted
a bunch of local variables. Using the context pointer for
everything should consume less registers.
(decrypt): Likewise.

Rev: src/nettle/blowfish.c:1.3
parent 42d7d416
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment