plan9fox/sys
cinap_lenrek a6d5f9ccae fix blowfish endianess confusion (thanks erik)
from /n/sources/patch/blowfish/readme:

Blowfish is broken. The order of the bytes in the ciphertext
is wrong. The problem is the conversion from the ciphertext
plaintext block to the array of u32int used by the core funcions
and vice versa.

This code has been tested on big endian and little endian
machines.

A test program is also included, bftets.c. It uses the
test vectors of blowfish available at
https://www.schneier.com/code/vectors.txt
2014-02-20 18:32:47 +01:00
..
doc
games/lib fortunes: undelete 2014-01-22 01:19:50 -05:00
include factotum/authsrv: fix padding for mschap on amd64, use constants for structure sizes 2014-02-15 19:57:13 +01:00
lib truss: use A instead of X as address format for data dump 2014-02-16 19:20:57 +01:00
man xd: changed -s option to switch to little-endian units 2014-02-16 21:32:14 +01:00
src fix blowfish endianess confusion (thanks erik) 2014-02-20 18:32:47 +01:00