diff options
author | Niels Möller <nisse@lysator.liu.se> | 2019-03-27 06:30:58 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2019-03-27 06:30:58 +0100 |
commit | b87ec212616765f920000b72d57b7a317e1a0c24 (patch) | |
tree | 62149d349e8fc9d6615c5cc4251d06e45f6d4808 /aes-encrypt.c | |
parent | 0beec6b237dc3b6b2aab25457173d1f353f133f4 (diff) | |
download | nettle-b87ec212616765f920000b72d57b7a317e1a0c24.tar.gz |
Rearrange cmac's block_mulx, make it closer to xts_shift.
* xts.c (xts_shift): Arrange with a single write to u64[1].
* cmac.c (block_mulx): Rewrite to work in the same way as
xts_shift, with 64-bit operations. XTS and CMAC use opposite
endianness, but otherwise, these two functions are identical.
Diffstat (limited to 'aes-encrypt.c')
0 files changed, 0 insertions, 0 deletions