ikev2: accept key exchange on CREATE_CHILD_SA

In RFC 7296, CREATE_CHILD_SA Exchange may contain the KE payload
to enable stronger guarantees of forward secrecy.
When the KEi payload is included in the CREATE_CHILD_SA request,
responder should reply with the KEr payload and complete the key
exchange, in accordance with the RFC.

Type: improvement
Signed-off-by: Atzm Watanabe <atzmism@gmail.com>
Change-Id: I13cf6cf24359c11c3366757e585195bb7e999638
This commit is contained in:
Atzm Watanabe
2022-08-12 14:29:31 +09:00
committed by Beno�t Ganne
parent 138f65c5b7
commit c65921f774
3 changed files with 179 additions and 72 deletions

File diff suppressed because it is too large Load Diff

View File

@ -313,6 +313,7 @@ typedef struct
typedef struct
{
u16 notify_type;
u8 kex;
u8 protocol_id;
u32 spi;
u32 ispi;