mirror of
https://github.com/ntop/n2n.git
synced 2024-04-21 16:31:34 +00:00
changed aes transform to cipher text stealing mode
This commit is contained in:
+2
-2
@@ -48,10 +48,10 @@ typedef struct aes_context_t {
|
||||
|
||||
|
||||
int aes_cbc_encrypt (unsigned char *out, const unsigned char *in, size_t in_len,
|
||||
const unsigned char *iv, aes_context_t *ctx);
|
||||
unsigned char *iv, aes_context_t *ctx);
|
||||
|
||||
int aes_cbc_decrypt (unsigned char *out, const unsigned char *in, size_t in_len,
|
||||
const unsigned char *iv, aes_context_t *ctx);
|
||||
unsigned char *iv, aes_context_t *ctx);
|
||||
|
||||
int aes_ecb_decrypt (unsigned char *out, const unsigned char *in, aes_context_t *ctx);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user