From: Tobias Brunner Date: Mon, 21 Sep 2015 09:12:14 +0000 (+0200) Subject: libipsec: Properly support CAMELLIA in CTR mode X-Git-Tag: 5.3.4dr1~7 X-Git-Url: https://git.strongswan.org/?p=strongswan.git;a=commitdiff_plain;h=1f3a9fdde569ed31604b71d2a2ad3ab327a9e1a0 libipsec: Properly support CAMELLIA in CTR mode --- diff --git a/src/libipsec/esp_context.c b/src/libipsec/esp_context.c index a9e0e5b..2b003e3 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);