Plan 9 from Bell Labs’s /usr/web/sources/patch/maybe/blowfish-byte-order/readme

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


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

NOTE: I submitted a previous patch with the same name.
It was not correct. Erik Quanstrom found the problem
and we wrote this new code. I deleted the old directory
and I created this new patch.

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].