Commit b4fccdc3 authored by Niels Möller's avatar Niels Möller

* 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
parent 88a8b97d
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment