NetBSD/sys/crypto/blowfish
tls 3d4146e21f Add asm versions of blowfish and des transforms for i386.
This also involved updating the in-kernel DES functions to correspond
to the versions in our in-tree OpenSSL, because the des_SPtrans table
has changed; the asm code will not work with the old permutation table!

C and i386 asm code for the DES, 3DES, and Blowfish CBC modes is also
included; it is not currently built as the ESP processing in esp_core.c
splits the CBC operation and the cipher transform apart.  Hopefully that
will be fixed as there is a substantial performance improvement to be had
from doing so.  It will remain necessary to use the C version of the
Blowfish CBC function on some i386 machines, however, as the asm version
uses bswapl, which ony 486 and later processors have.  The DES CBC code
doesn't have this problem.

Finally, change esp_core.c to use the ecb3_encrypt function instead of
calling ecb_encrypt three times; this improves performance a bit, in
particular in the asm case.
2001-09-09 11:00:59 +00:00
..
arch/i386 Add asm versions of blowfish and des transforms for i386. 2001-09-09 11:00:59 +00:00
bf_enc.c Add asm versions of blowfish and des transforms for i386. 2001-09-09 11:00:59 +00:00
bf_locl.h
bf_pi.h
bf_skey.c
blowfish.h Add asm versions of blowfish and des transforms for i386. 2001-09-09 11:00:59 +00:00