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

*** empty log message ***

Rev: ChangeLog:1.249
Rev: src/testsuite/.cvsignore:1.7
Rev: src/testsuite/make-aes-tests:1.1
Rev: src/testsuite/serpent-test.m4:1.1
parent 9bc831fc
2000-10-07 Niels Mller <nisse@cuckoo.localdomain>
* src/symmetric/serpent.c (serpent_setup): Added key_size
argument, and added key padding (appearantly not yet working).
* src/testsuite/Makefile.am (CFLAGS): Disable optimization.
(TS_PROGS): Added serpent-test.
* src/exception.h (EXC_IO_CLOSE): New exception type.
(EXC_PAUSE_READ): Likewise.
(EXC_PAUSE_START_READ): Likewise.
(EXC_PAUSE_CONNECTION): Likewise.
(EXC_PAUSE_START_CONNECTION): Likewise.
* src/connection.h (ssh_connection): Renamed attribute busy to
paused. New attribute pending.
* src/connection.c (connection_handle_packet): New function, doing
the work of the previous handle_connectino function().
(connection_handle_pending): New function.
(do_handle_connection): New function.
(do_exc_connection_handler): Renamed (was
do_exc_protocol_exception), and handle EXC_PAUSE_CONNECTION and
EXC_PAUSE_START_CONNECTION.
(make_exc_connection_handler): Renamed as well.
(connection_lock): Raise EXC_PAUSE_CONNECTION.
(connection_unlock): Raise EXC_PAUSE_START_CONNECTION.
* src/channel.c: Changed close_callback -> lsh_callback.
* src/io.c (io_iter): Some support for callouts.
(do_exc_finish_read_handler): Handle EXC_PAUSE_READ and
EXC_PAUSE_START_READ.
(do_buffered_read): Allow handlers to set want_read == 0.
* src/io.h: Renamed close_callback to lsh_callback, and removed
the "reason" argument.
* src/write_buffer.c (write_buffer_pre_write): Use string_queue.
(do_write): Likewise.
* src/queue.c: New struct-type string_queue, and corresponding
functions.
* src/algorithms.c: Use static algorithm objects.
* src/blowfish.c: Likewise.
* src/rijndael.c: Likewise.
* src/crypto.h: Likewise.
* src/twofish.c: Likewise.
* src/cast.c: Likewise.
* src/serpent.c (make_serpent_instance): Pass key size to serpent_setup().
2000-10-03 Niels Mller <nisse@cuckoo.localdomain>
* src/spki.c (spki_make_signer): New function. Used in
......
......@@ -11,6 +11,8 @@ md5-test
md5-test.c
rsa-test
rsa-test.c
serpent-test
serpent-test.c
sha1-test
sha1-test.c
spki-tag-test
......
......@@ -11,6 +11,8 @@
/md5-test.c
/rsa-test
/rsa-test.c
/serpent-test
/serpent-test.c
/sha1-test
/sha1-test.c
/spki-tag-test
......
#/bin/sh
# Typical use:
#
# ./make-aes-tests < aes/serpent/files/ecb_e_m.txt > serpent-test.m4
tr -d '\r' | awk -- '
/Algorithm Name: / {
algorithm_name = tolower($3);
FS="=" }
/KEYSIZE=/ {
keysize = $2;
}
/I=/ { n = $2 }
/KEY=/ { key = $2 }
/PT=/ { pt = $2 }
/CT=/ {
printf ("TS_TEST_CRYPTO(%s %d, &%s%d_algorithm,\n",
algorithm_name, n, algorithm_name, keysize);
printf (" #%s#,\n", key);
printf (" #%s#,\n", pt);
printf (" #%s#)\n\n", $2);
}
'
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