]> git.ipfire.org Git - thirdparty/nettle.git/commit
* twofish.c: Adapted to nettle. Made constant tables const.
authorNiels Möller <nisse@lysator.liu.se>
Sat, 16 Jun 2001 22:41:33 +0000 (00:41 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Sat, 16 Jun 2001 22:41:33 +0000 (00:41 +0200)
commitb4fccdc368cb7ebe21bc8879fe94ce172834c5f6
treec36602ccdbeb28e778e6221be568a628c9d3d993
parent88a8b97dc492a56e795b3e5989107b3fedcaac6d
* twofish.c: Adapted to nettle. Made constant tables const.
Deleted bytes_to_word and word_to_bytes; use LE_READ_UINT32 and
LE_WRITE_UINT32 instead.
(twofish_selftest): Deleted. Moved the tests to the external
testsuite.
(twofish_set_key): Don't silently truncate too large keys.

Rev: src/nettle/twofish.c:1.2
twofish.c