Commit 8cb8b3da authored by Niels Möller's avatar Niels Möller

*** empty log message ***

Rev: nettle/ChangeLog:1.87
parent 314e9c18
2010-06-30 Niels Mller <nisse@lysator.liu.se> 2010-06-30 Niels Mller <nisse@lysator.liu.se>
* testsuite/des-test.c (test_des): New function.
(test_weak): New function.
(test_main): Use test_des and test_weak. Added tests for all the
weak keys. Added some tests with invalid (to be ignored) parity
bits.
* des.c (parity_16): New smaller parity table. * des.c (parity_16): New smaller parity table.
(des_check_parity): New function. (des_check_parity): New function.
(des_fix_parity): Use parity_16. (des_fix_parity): Use parity_16.
......
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