ikev2: Fix size of key material for CAMELLIA-CTR
Like AES in CTR mode it includes a 4 byte nonce.
This commit is contained in:
@@ -527,6 +527,7 @@ METHOD(keymat_v2_t, derive_child_keys, bool,
|
||||
case ENCR_AES_GCM_ICV12:
|
||||
case ENCR_AES_GCM_ICV16:
|
||||
case ENCR_AES_CTR:
|
||||
case ENCR_CAMELLIA_CTR:
|
||||
case ENCR_NULL_AUTH_AES_GMAC:
|
||||
case ENCR_CHACHA20_POLY1305:
|
||||
enc_size += 4;
|
||||
|
||||
Reference in New Issue
Block a user