Skip to content
Snippets Groups Projects
  • Thomas Faivre's avatar
    layers/ipsec: fix AH dissection · c73cdbc5
    Thomas Faivre authored
    
    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>
    c73cdbc5