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

Reapplied optimizations (150% speedup on x86_32) and other fixes,

relicensing them as LGPL.
* blowfish.c (do_encrypt): Renamed, to...
(encrypt): ...new name.
(F): Added context argument. Shift input explicitly, instead of
reading individual bytes via memory.
(R): Added context argument.
(encrypt): Deleted a bunch of local variables. Using the context
pointer for everything should consume less registers.
(decrypt): Likewise.
(initial_ctx): Arrange constants into a struct, to simplify key setup.
(blowfish_set_key): Some simplification.

Rev: nettle/ChangeLog:1.123
Rev: nettle/blowfish.c:1.5
parent 8ce0ab12
No related branches found
No related tags found
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