CPC H04L 9/3242 (2013.01) [H04L 9/0631 (2013.01); H04L 9/0637 (2013.01); H04L 9/0643 (2013.01); H04L 9/0656 (2013.01); H04L 9/0861 (2013.01)] | 18 Claims |
1. An authenticated encryption module for encrypting a message into a cipher-text, the authenticated encryption module comprising:
a processor; and
memory coupled to the processor and including instructions that, when executed by the processor, cause the processor to:
produce, using a Poly1305 function, a tag from at least a secret message authentication code (MAC) key, a nonce, and the message;
produce a pseudorandom initialization vector (IV) by encrypting the tag using a first encryption function and a secret encryption key; and
produce, using a second encryption function, the cipher-text from the secret encryption key, the produced IV, and the message.
|