History log of /dragonfly/sys/crypto/poly1305/poly1305.c (Results 1 – 3 of 3)
Revision Date Author Comments
# be5bbc0b 22-Nov-2023 Aaron LI <aly@aaronly.me>

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

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

show more ...


# 69e8d0ef 17-Nov-2023 Aaron LI <aly@aaronly.me>

crypto: Adjust poly1305 and hook to build

- Use all uppercase for macro constant (i.e., POLY1305_BLOCK_SIZE).
- Add 'inline' to two helper functions: U8TO32(), U32TO8()


# e64de06a 17-Nov-2023 Aaron LI <aly@aaronly.me>

crypto: Import Poly1305 implementation from OpenBSD

This hash algorithm is required to implement the Chacha20-Poly1305 AEAD
cipher as required by the in-kernel WireGuard VPN.