summaryrefslogtreecommitdiff
path: root/siv-cmac-aes256.c
Commit message (Collapse)AuthorAgeFilesLines
* block modes: move Galois shifts to block-internal.hDmitry Eremin-Solenikov2019-09-041-1/+0
| | | | | | | Move Galois polynomial shifts to block-internal.h, simplifying common code. GCM is left unconverted for now, this will be fixed later. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
* Merge branch 'master' into siv-modesiv-modeNiels Möller2019-06-061-10/+10
| | | | | | The cmac changes on master breaks the previous version of the siv code. Now updated, and improved to use const context arguments for the _message functions.
* SIV-CMAC mode, based on patch by Nikos MavrogiannopoulosNiels Möller2019-05-061-0/+77
This AEAD algorithm provides a way to make nonce-reuse a not critical issue. That is particular useful to stateless servers that cannot ensure that the nonce will not repeat. This cipher is used by draft-ietf-ntp-using-nts-for-ntp-17.