ikev2: Use four byte salt for ChaCha20-Poly1305 AEAD
This commit is contained in:
parent
b211f283b7
commit
bbcb76e260
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue