renamed AES_cbc_encrypt to SS_AES_cbc_encrypt due to name collision with OpenSSL library

This commit is contained in:
Andreas Steffen
2008-04-02 18:51:10 +00:00
parent 7a9d3ae471
commit 97da3d2de0
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ do_aes(u_int8_t *buf, size_t buf_len, u_int8_t *key, size_t key_size, u_int8_t *
memcpy(new_iv=iv_bak, (char*) buf + buf_len - AES_CBC_BLOCK_SIZE
, AES_CBC_BLOCK_SIZE);
AES_cbc_encrypt(&aes_ctx, buf, buf, buf_len, iv, enc);
SS_AES_cbc_encrypt(&aes_ctx, buf, buf, buf_len, iv, enc);
if (enc)
new_iv = (char*) buf + buf_len-AES_CBC_BLOCK_SIZE;