diff options
author | jsing <> | 2025-05-18 07:26:09 +0000 |
---|---|---|
committer | jsing <> | 2025-05-18 07:26:09 +0000 |
commit | ac720367d191f33e5f43cb4b8f4e1fc28766bf5a (patch) | |
tree | 4923bc5f954fbefad174d25020db079051115017 /src/lib/libcrypto/modes/ccm128.c | |
parent | 144c756b65e0b1d9d10e25a72e3e33e5168d9577 (diff) | |
download | openbsd-ac720367d191f33e5f43cb4b8f4e1fc28766bf5a.tar.gz openbsd-ac720367d191f33e5f43cb4b8f4e1fc28766bf5a.tar.bz2 openbsd-ac720367d191f33e5f43cb4b8f4e1fc28766bf5a.zip |
Remove contortions with the rem_4bit table.
Instead of using size_t and a PACK macro, store the entries as uint16_t and
then uncondtionally left shift 48 bits. This gives a small performance gain
on some architectures and has the advantage of reducing the size of the
table from 1024 bits to 256 bits.
ok beck@ joshua@ tb@
Diffstat (limited to 'src/lib/libcrypto/modes/ccm128.c')
0 files changed, 0 insertions, 0 deletions