ikev2: Use four byte salt for ChaCha20-Poly1305 AEAD

This commit is contained in:
Martin Willi 2015-04-05 14:29:29 +02:00
parent b211f283b7
commit bbcb76e260
1 changed files with 1 additions and 0 deletions

View File

@ -112,6 +112,7 @@ static bool derive_ike_aead(private_keymat_v2_t *this, u_int16_t alg,
case ENCR_AES_GCM_ICV12:
case ENCR_AES_GCM_ICV16:
/* RFC 4106 */
case ENCR_CHACHA20_POLY1305:
salt_size = 4;
break;
case ENCR_AES_CCM_ICV8: