Skip to content
Snippets Groups Projects
Commit c73cdbc5 authored by Thomas Faivre's avatar Thomas Faivre Committed by Guillaume Valadon
Browse files

layers/ipsec: fix AH dissection


The ICV size is defined by the authentication algorithm in the SA.
it can be deduced from the payloadlen field but the padding len is
unknown aswell so there is no way to find both without the SA.

Assume everything in payloadlen is the ICV until the verification called
from the SA. Fill padding when possible.

Signed-off-by: default avatarThomas Faivre <thomas.faivre@6wind.com>
parent 127f583f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment