[Swan-commit] Changes to ref refs/heads/main

Andrew Cagney cagney at vault.libreswan.fi
Tue Mar 12 00:29:28 EET 2024


New commits:
commit b4baae8f0420fb6d54aaec49896b0b333bfb5b22
Author: Andrew Cagney <cagney at gnu.org>
Date:   Mon Mar 11 15:35:07 2024 -0400

    ikev1: in ikev1_close_and_encrypt_message() clarify what is being padded
    
    (but don't change)
    
    0. pad message to 4-byte alignment (by caller, sometimes)
    1. pad message's encrypt payload to encrypt alignment (but note
       that could be 1-byte)
    2. pad message to 4-bytes (which is a no-op except when encrypt
       is weird)
    
    and then encrypt (but only encrypt part)



More information about the Swan-commit mailing list