diff options
author | tb <> | 2023-11-29 18:11:10 +0000 |
---|---|---|
committer | tb <> | 2023-11-29 18:11:10 +0000 |
commit | 3ebd44f3473783d77d8842eaeb8e6687da31c0a5 (patch) | |
tree | ecbff5620d8cd70d14096cd6e631c21eff2114b2 /src/lib/libcrypto/dsa/dsa_lib.c | |
parent | ebb84dcfc8cdb63c11313a6f4891e8b3bea92b5a (diff) | |
download | openbsd-3ebd44f3473783d77d8842eaeb8e6687da31c0a5.tar.gz openbsd-3ebd44f3473783d77d8842eaeb8e6687da31c0a5.tar.bz2 openbsd-3ebd44f3473783d77d8842eaeb8e6687da31c0a5.zip |
Clean up CMAC implementation a little
Add explanatory comments that refer to the spec so that all the weird
dances make a little more sense. It turns out that this implmeentation
only supports block ciphers with block sizes of 64 and 128 bits, so
enforce this with a check.
Simplify make_kn() to make a little more sense and make it constant
time. Some stylistic fixes like checking pointers explicitly against
NULL and shuffle things into an order that makes a bit more sense.
Includes a fix for a warning reported by Viktor Szakats in
https://github.com/libressl/portable/issues/926
ok jsing
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa_lib.c')
0 files changed, 0 insertions, 0 deletions