git: crypto: Some minor cleanups to poly1305

Aaron LI aly at crater.dragonflybsd.org
Sat Jan 13 06:01:32 PST 2024


commit be5bbc0b5d4a0165d4b4d2887210fc9ddb3317e7
Author: Aaron LI <aly at aaronly.me>
Date:   Wed Nov 22 10:26:07 2023 +0800

    crypto: Some minor cleanups to poly1305
    
    - Use 'uint8_t' instead of 'unsigned char', being more consistent with
      other crypto code (e.g., chacha20)
    - Add two more macros: POLY1305_KEY_SIZE, POLY1305_MAC_SIZE

Summary of changes:
 sys/crypto/poly1305/poly1305.c | 12 ++++++------
 sys/crypto/poly1305/poly1305.h | 12 +++++++-----
 2 files changed, 13 insertions(+), 11 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/be5bbc0b5d4a0165d4b4d2887210fc9ddb3317e7


-- 
DragonFly BSD source repository


More information about the Commits mailing list