get rid of unused iterator hook functions
[strongswan.git] / src / libcrypto / libaes / aes_cbc.c
1 #ifdef __KERNEL__
2 #include <linux/types.h>
3 #else
4 #include <sys/types.h>
5 #endif
6 #include "aes_cbc.h"
7 #include "cbc_generic.h"
8 /* returns bool success */
9 int SS_AES_set_key(aes_context *aes_ctx, const u_int8_t *key, int keysize) {
10 aes_set_key(aes_ctx, key, keysize, 0);
11 return 1;
12 }
13 CBC_IMPL_BLK16(SS_AES_cbc_encrypt, aes_context, u_int8_t *, aes_encrypt, aes_decrypt);