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

This commit is contained in:
Martin Willi
2015-06-29 17:32:13 +02:00
parent bbcb76e260
commit 6ffaa8626e
+1
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: