Commit 8641d278 authored by Niels Möller's avatar Niels Möller

*** empty log message ***

Rev: ChangeLog:1.262
Rev: src/arcfour.c:1.6
Rev: src/reaper.h:1.7
Rev: src/testsuite/.cvsignore:1.10
parent da9c544c
2000-10-22 Niels Mller <nisse@cuckoo.localdomain>
* src/exception.h (EXC_IO_BLOCKING_READ): New exception type.
* src/io.c (read_raw): New function.
* src/randomness.c (arcfour_random): New class.
(do_arcfour_random): New function.
(do_arcfour_random_slow): New function.
(make_arcfour_random): New function.
* src/randomness.h (random_poll): New class.
* src/symmetric/arcfour.c (arcfour_crypt): Changed argument order.
(arcfour_set_key): Likewise.
(arcfour_stream): New function.
(arcfour_update_key): New function.
(arcfour_init): New function.
* src/testsuite/Makefile.am (TS_PROGS): Added arcfour-test.
* configure.in: Bumped version to 1.1.1. Check for getrusage and
gettimeofday.
* src/reaper.c (do_reap): Removed assert(), to allow replacement
of registered callbacks.
2000-10-20 Niels Mller <nisse@cuckoo.localdomain>
* src/sexp.c (encode_base64): Added argument break_lines.
......
......@@ -39,14 +39,14 @@
*/
static void do_crypt_arcfour(struct crypto_instance *s,
UINT32 length, const UINT8 *src, UINT8 *dst)
UINT32 length, const UINT8 *src, UINT8 *dst)
{
CAST(arcfour_instance, self, s);
if (length % 8)
fatal("Internal error\n");
arcfour_crypt(&self->ctx, dst, src, length);
arcfour_crypt(&self->ctx, dst, length, src);
}
static struct crypto_instance *
......@@ -59,7 +59,7 @@ make_arcfour_instance(struct crypto_algorithm *ignored UNUSED,
self->super.block_size = 8;
self->super.crypt = do_crypt_arcfour;
arcfour_set_key(&self->ctx, key, 16);
arcfour_set_key(&self->ctx, 16, key);
return &self->super;
}
......
......@@ -46,6 +46,7 @@
(class
(name reap)
(vars
; Use callback == NULL to cancel a previous callback.
(reap method void "pid_t pid" "struct exit_callback *callback")))
*/
......
*.pid
.deps
Makefile
Makefile.in
arcfour-test
arcfour-test.c
des-test
des-test.c
dsa-test
......@@ -23,4 +26,3 @@ spki-tag-test.c
temphome
twofish-test
twofish-test.c
*.pid
/*.pid
/.deps
/Makefile
/Makefile.in
/arcfour-test
/arcfour-test.c
/des-test
/des-test.c
/dsa-test
......@@ -23,4 +26,3 @@
/temphome
/twofish-test
/twofish-test.c
/*.pid
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