mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 07:46:48 +00:00
kernel: crypto: add kmod-crypto-chacha20poly1305
Needed by strongSwan IPsec VPN for strongswan-mod-chapoly. Not to be confused with kmod-crypto-LIB-chacha20poly1305, which is an 8-byte nonce version used by wireguard. Signed-off-by: Xu Wang <xwang1498@gmx.com>
This commit is contained in:
parent
4e1916f71a
commit
197b672c40
@ -101,6 +101,18 @@ endef
|
||||
$(eval $(call KernelPackage,crypto-ccm))
|
||||
|
||||
|
||||
define KernelPackage/crypto-chacha20poly1305
|
||||
TITLE:=ChaCha20-Poly1305 AEAD support, RFC7539 (used by strongSwan IPsec VPN)
|
||||
DEPENDS:=+kmod-crypto-aead +kmod-crypto-manager
|
||||
KCONFIG:=CONFIG_CRYPTO_CHACHA20POLY1305
|
||||
FILES:=$(LINUX_DIR)/crypto/chacha20poly1305.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,chacha20poly1305)
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,crypto-chacha20poly1305))
|
||||
|
||||
|
||||
define KernelPackage/crypto-cmac
|
||||
TITLE:=Support for Cipher-based Message Authentication Code (CMAC)
|
||||
DEPENDS:=+kmod-crypto-hash
|
||||
|
Loading…
Reference in New Issue
Block a user