Authentication and Integrity
The HMAC-SHA1 algorithm (defined in RFC 2104) is used to authenticate a message and
protect its integrity. This algorithm produces a 160-bit result, which is then truncated to
80 bits to become the authentication tag, which is then appended to a packet. The
HMAC is calculated over the packet payload and material from the packet header, including
the packet sequence number.