Commit 1d033390 authored by Niels Möller's avatar Niels Möller
Browse files

*** empty log message ***

Rev: doc/TODO:1.21
Rev: src/abstract_crypto.c:1.3
parent a155c171
......@@ -73,6 +73,9 @@ cleaned up a little.
Fix gc_kill to deallocate objects immediately.
Consider adding reference counts to strings.
Create some generic methods for connecting a channel to one or more
......@@ -220,6 +220,8 @@ do_make_cascade(struct crypto_algorithm *s,
instance->super.block_size = algorithm->super.block_size;
instance->cascade = alloc_object_list(LIST_LENGTH(algorithm->cascade));
/* FIXME: When decrypting, the crypto algorithm should be used in
* reverse order! */
for (i = 0; i<LIST_LENGTH(algorithm->cascade); i++)
CAST_SUBTYPE(crypto_algorithm, a, LIST(algorithm->cascade)[i]);
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