git: crypto: Import Poly1305 implementation from OpenBSD

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


commit e64de06aa948f1400047910be344f50c8a860b40
Author: Aaron LI <aly at aaronly.me>
Date:   Fri Nov 17 10:30:52 2023 +0800

    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.

Summary of changes:
 .../crypto/poly1305/poly1305.c                     | 42 ++++++----------------
 sys/crypto/poly1305/poly1305.h                     | 27 ++++++++++++++
 2 files changed, 38 insertions(+), 31 deletions(-)
 copy crypto/libressl/crypto/poly1305/poly1305-donna.c => sys/crypto/poly1305/poly1305.c (84%)
 create mode 100644 sys/crypto/poly1305/poly1305.h

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list