git: crypto: Implement chacha20poly1305 in-place process for mbuf chains
Aaron LI
aly at crater.dragonflybsd.org
Sat Jan 13 06:01:36 PST 2024
commit 37273911adee23db528c61bc326caceaa20fd201
Author: Aaron LI <aly at aaronly.me>
Date: Fri Nov 24 13:39:56 2023 +0800
crypto: Implement chacha20poly1305 in-place process for mbuf chains
Implement the chacha20poly1305_{encrypt,decrypt}_mbuf() functions that
performs in-place encryption and decryption for data in an mbuf chain.
The in-kernel WireGuard will use these two functions to encrypt/decrypt
packets.
Summary of changes:
sys/crypto/chachapoly.c | 107 ++++++++++++++++++++++++++++++++++++++++++++++++
sys/crypto/chachapoly.h | 11 +++++
2 files changed, 118 insertions(+)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/37273911adee23db528c61bc326caceaa20fd201
--
DragonFly BSD source repository
More information about the Commits
mailing list