I noticed that for AES256, 36 bytes should be supplied as a key (instead of 32 bytes). What is the origin of the extra 4 bytes? And in general, what is the format that should be given for such decryption key? asked 15 Sep '13, 06:31 YuvalAdler |
One Answer:
From RFC 4106 Section 8.1: AES-GCM-ESP with a 256 bit key The KEYMAT requested for each AES GCM key is 36 octets. The first 32 octets are the 256-bit AES key, and the remaining four octets are used as the salt value in the nonce. answered 15 Sep '13, 17:11 cmaynard ♦♦ I see, Thanks! (Kurt - this is on Wireshark 1.10.1) (15 Sep '13, 22:17) YuvalAdler |
I'm just curious. Where did you notice that?