Methods and apparatus are presented herein for encrypting and authentication
data, such that some of data can be transmitted in the clear but still be authenticated
by the sender. A set of cleartext positions and/or a set of ciphertext positions
are used to specify which data blocks will be used to generate an input checksum
value and an output checksum value. These checksums are then used to generate an
authentication tag.