Hi Antonio,

I'm reading the source code to study this module driven by intertest. I'm
new to crypto stuffs. In pktid.h:

/* When the OpenVPN protocol is run in AEAD mode, use
 * the OpenVPN packet ID as the AEAD nonce:
 *
 *    00000005 521c3b01 4308c041 83ba3099
 *    [seq # ] [nonce_tail                                    ]
 *    [               12-byte full IV                            ] ->
NONCE_SIZE
 *    [4-bytes                                                       ->
NONCE_WIRE_SIZE
 *    on wire]
 */

/* AEAD nonce size */
#define NONCE_SIZE 12

Is " 00000005 521c3b01 4308c041 83ba3099" wrong? Its size is 16 bytes, but
you also comment
"12-byte full IV" after two lines of it.

Tony
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to