aboutsummaryrefslogtreecommitdiffstats
path: root/src/pluto/alg/ike_alg_twofish.c
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2009-05-14 13:55:48 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2009-05-14 13:55:56 +0200
commit2b02b0fe9f7ea899fc685444bb9634aa81c7921d (patch)
treee13a96962737ed6ba6264a6121856d590a463adf /src/pluto/alg/ike_alg_twofish.c
parent0a8ad227d41243846a3e396614cb06d2048d6bf3 (diff)
downloadstrongswan-2b02b0fe9f7ea899fc685444bb9634aa81c7921d.tar.bz2
strongswan-2b02b0fe9f7ea899fc685444bb9634aa81c7921d.tar.xz
introduced encryption test vectors
Diffstat (limited to 'src/pluto/alg/ike_alg_twofish.c')
-rw-r--r--src/pluto/alg/ike_alg_twofish.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/pluto/alg/ike_alg_twofish.c b/src/pluto/alg/ike_alg_twofish.c
index 1788bc394..9d40e3e50 100644
--- a/src/pluto/alg/ike_alg_twofish.c
+++ b/src/pluto/alg/ike_alg_twofish.c
@@ -48,11 +48,12 @@ struct encrypt_desc encrypt_desc_twofish =
algo_id: OAKLEY_TWOFISH_CBC,
algo_next: NULL,
enc_ctxsize: sizeof(twofish_context),
- enc_blocksize: TWOFISH_CBC_BLOCK_SIZE,
- keydeflen: TWOFISH_KEY_MIN_LEN,
- keyminlen: TWOFISH_KEY_DEF_LEN,
+ enc_blocksize: TWOFISH_CBC_BLOCK_SIZE,
+ keydeflen: TWOFISH_KEY_MIN_LEN,
+ keyminlen: TWOFISH_KEY_DEF_LEN,
keymaxlen: TWOFISH_KEY_MAX_LEN,
do_crypt: do_twofish,
+ enc_testvectors: NULL
};
struct encrypt_desc encrypt_desc_twofish_ssh =