ikev2: Derive additional 4 byte CHILD_SA nonce keymat for ChaCha20-Poly1305

This commit is contained in:
Martin Willi 2015-05-29 23:21:39 +02:00
parent bbcb76e260
commit 6ffaa8626e
1 changed files with 1 additions and 0 deletions

View File

@ -528,6 +528,7 @@ METHOD(keymat_v2_t, derive_child_keys, bool,
case ENCR_AES_GCM_ICV16:
case ENCR_AES_CTR:
case ENCR_NULL_AUTH_AES_GMAC:
case ENCR_CHACHA20_POLY1305:
enc_size += 4;
break;
default: