From db67c87db3c9089ea8d2e14f617bf3d9e2af261f Mon Sep 17 00:00:00 2001 From: Rene Mayrhofer Date: Wed, 9 Jul 2008 21:02:41 +0000 Subject: [svn-upgrade] Integrating new upstream version, strongswan (4.2.4) --- src/libcrypto/libaes/aes_cbc.c | 4 ++-- src/libcrypto/libaes/aes_cbc.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/libcrypto/libaes') diff --git a/src/libcrypto/libaes/aes_cbc.c b/src/libcrypto/libaes/aes_cbc.c index 962dd1a35..c406b1622 100644 --- a/src/libcrypto/libaes/aes_cbc.c +++ b/src/libcrypto/libaes/aes_cbc.c @@ -6,8 +6,8 @@ #include "aes_cbc.h" #include "cbc_generic.h" /* returns bool success */ -int AES_set_key(aes_context *aes_ctx, const u_int8_t *key, int keysize) { +int SS_AES_set_key(aes_context *aes_ctx, const u_int8_t *key, int keysize) { aes_set_key(aes_ctx, key, keysize, 0); return 1; } -CBC_IMPL_BLK16(AES_cbc_encrypt, aes_context, u_int8_t *, aes_encrypt, aes_decrypt); +CBC_IMPL_BLK16(SS_AES_cbc_encrypt, aes_context, u_int8_t *, aes_encrypt, aes_decrypt); diff --git a/src/libcrypto/libaes/aes_cbc.h b/src/libcrypto/libaes/aes_cbc.h index 92f5d77f5..65015da6e 100644 --- a/src/libcrypto/libaes/aes_cbc.h +++ b/src/libcrypto/libaes/aes_cbc.h @@ -1,4 +1,4 @@ /* Glue header */ #include "aes.h" -int AES_set_key(aes_context *aes_ctx, const u_int8_t * key, int keysize); -int AES_cbc_encrypt(aes_context *ctx, const u_int8_t * in, u_int8_t * out, int ilen, const u_int8_t * iv, int encrypt); +int SS_AES_set_key(aes_context *aes_ctx, const u_int8_t * key, int keysize); +int SS_AES_cbc_encrypt(aes_context *ctx, const u_int8_t * in, u_int8_t * out, int ilen, const u_int8_t * iv, int encrypt); -- cgit v1.2.3