I'm trying to implement IPSEC in the form of ESP in transport mode with using aes in galois/counter mode, according to RFC4106.
I'm supposed to put the initialization vector just before the ciphertext in the transformed packet.
Should it be part of the authenticated (but non-encrypted) data? (I'm assuming that you don't encrypt it...)
I can't see where the RFC specifies this. Should it be obvious and if so why?