summaryrefslogtreecommitdiff
path: root/cmac64.c
Commit message (Collapse)AuthorAgeFilesLines
* block modes: move Galois shifts to block-internal.hDmitry Eremin-Solenikov2019-09-041-25/+2
| | | | | | | 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>
* block-internal: add block XORing functionsDmitry Eremin-Solenikov2019-09-041-6/+6
| | | | | | | Add common implementations for functions doing XOR over nettle_block16/nettle_block8. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
* cmac64: fix nettle_block16 usageDmitry Eremin-Solenikov2019-09-031-1/+1
| | | | | | CMAC64 uses block8, rather than block16. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
* CMAC comment fixesNiels Möller2019-07-211-1/+1
|
* cmac: add 64-bit mode CMACDmitry Eremin-Solenikov2019-07-101-0/+177
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>