aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/twofish/twofish.c
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2009-05-15 01:28:48 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2009-05-15 01:28:48 +0200
commit1bfb8007c22e14025a7308e371851130df94e93e (patch)
tree4904faf9d2664abf643e4230db5a8d4047b7660b /src/libstrongswan/plugins/twofish/twofish.c
parentc628e3455d486e0ebc1b98e749f9b625a9e65523 (diff)
downloadstrongswan-1bfb8007c22e14025a7308e371851130df94e93e.tar.bz2
strongswan-1bfb8007c22e14025a7308e371851130df94e93e.tar.xz
got rid of libcrypto
Diffstat (limited to 'src/libstrongswan/plugins/twofish/twofish.c')
-rw-r--r--src/libstrongswan/plugins/twofish/twofish.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstrongswan/plugins/twofish/twofish.c b/src/libstrongswan/plugins/twofish/twofish.c
index 0e01a92d2..44ffca69c 100644
--- a/src/libstrongswan/plugins/twofish/twofish.c
+++ b/src/libstrongswan/plugins/twofish/twofish.c
@@ -575,7 +575,7 @@ static const u8 calc_sb_tbl[512] = {
/* Perform the key setup. */
-int twofish_set_key (TWOFISH_context *ctx,
+int twofish_set_key (twofish_context *ctx,
const unsigned char *key, int key_len)
{
@@ -788,7 +788,7 @@ int twofish_set_key (TWOFISH_context *ctx,
/* Encrypt one block. in and out may be the same. */
-int twofish_encrypt (TWOFISH_context *ctx,
+int twofish_encrypt (twofish_context *ctx,
const u8 *in, u8 *out)
{
/* The four 32-bit chunks of the text. */
@@ -824,7 +824,7 @@ int twofish_encrypt (TWOFISH_context *ctx,
/* Decrypt one block. in and out may be the same. */
-int twofish_decrypt (TWOFISH_context *ctx,
+int twofish_decrypt (twofish_context *ctx,
const u8 *in, u8 *out)
{
/* The four 32-bit chunks of the text. */