renamed AES_cbc_encrypt to SS_AES_cbc_encrypt due to name collision with OpenSSL library
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user