diff options
author | Tobias Brunner <tobias@strongswan.org> | 2015-09-21 11:12:14 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2015-10-30 11:04:42 +0100 |
commit | 1f3a9fdde569ed31604b71d2a2ad3ab327a9e1a0 (patch) | |
tree | 5082347a865fd223a09903b790f64543e90e8ee7 /src/libipsec/esp_context.c | |
parent | 0af13d28490a96046f520d3999353eaa941c72ec (diff) | |
download | strongswan-1f3a9fdde569ed31604b71d2a2ad3ab327a9e1a0.tar.bz2 strongswan-1f3a9fdde569ed31604b71d2a2ad3ab327a9e1a0.tar.xz |
libipsec: Properly support CAMELLIA in CTR mode
Diffstat (limited to 'src/libipsec/esp_context.c')
-rw-r--r-- | src/libipsec/esp_context.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libipsec/esp_context.c b/src/libipsec/esp_context.c index a9e0e5b4d..2b003e390 100644 --- a/src/libipsec/esp_context.c +++ b/src/libipsec/esp_context.c @@ -250,6 +250,7 @@ static bool create_traditional(private_esp_context_t *this, int enc_alg, switch (enc_alg) { case ENCR_AES_CTR: + case ENCR_CAMELLIA_CTR: /* the key includes a 4 byte salt */ crypter = lib->crypto->create_crypter(lib->crypto, enc_alg, enc_key.len - 4); |