by Sbyrr0 » Mon Jan 25, 2021 7:33 pm
$this->bbcode_second_pass_quote('', 'F')or which kernel would you like to see additional modules build?
At the moment I'm using Arch Linux ARM in a Raspberry Pi 2, so current kernel is package is `core/linux-raspberrypi 5.4.83-5`
$this->bbcode_second_pass_quote('', 'W')hat specific ciphers and options are lacking?
The command
cryptsetup benchmark -c xchacha12,aes-adiantum for instance works fine on my computer, while on my Raspberry Pi returns the following:
$this->bbcode_second_pass_code('', 'Cipher xchacha12,aes-adiantum (with 256 bits key) is not available.')
Here's a comparison of the output between my computer (5.10.10-1-MANJARO) and my Raspberry Pi (5.4.83-5-ARCH), I marked the missing files:
find /usr/lib/modules -iname "*adiantum*"$this->bbcode_second_pass_code('', '
* /usr/lib/modules/5.10.10-1-MANJARO/build/include/config/crypto/adiantum.h
* /usr/lib/modules/5.10.10-1-MANJARO/kernel/crypto/adiantum.ko.xz
')
$this->bbcode_second_pass_code('', '
')
find /usr/lib/modules -iname "*chacha*"$this->bbcode_second_pass_code('', '
build/include/config/crypto/chacha20
build/include/config/crypto/chacha20poly1305.h
* build/include/config/crypto/lib/chacha20poly1305.h
* build/include/config/crypto/lib/chacha.h
* build/include/config/crypto/lib/chacha
* build/include/config/crypto/arch/have/lib/chacha.h
build/include/config/crypto/chacha20.h
* build/include/crypto/chacha20poly1305.h
build/include/crypto/chacha.h
* build/include/crypto/internal/chacha.h
* kernel/lib/crypto/libchacha20poly1305.ko.xz
* kernel/lib/crypto/libchacha.ko.xz
kernel/crypto/chacha20poly1305.ko.xz
kernel/crypto/chacha_generic.ko.xz
kernel/arch/x86/crypto/chacha-x86_64.ko.xz
')
$this->bbcode_second_pass_code('', '
build/include/crypto/chacha.h
build/include/config/crypto/chacha20poly1305.h
build/include/config/crypto/chacha20.h
build/include/config/crypto/chacha20
kernel/crypto/chacha_generic.ko.gz
kernel/crypto/chacha20poly1305.ko.gz
kernel/arch/arm/crypto/chacha-neon.ko.gz
')
zgrep -E 'ADIANTUM|CHACHA|POLY1305' /proc/config.gz'$this->bbcode_second_pass_code('', '
CONFIG_CRYPTO_CHACHA20POLY1305=m
CONFIG_CRYPTO_NHPOLY1305=m
CONFIG_CRYPTO_NHPOLY1305_SSE2=m
CONFIG_CRYPTO_NHPOLY1305_AVX2=m
* CONFIG_CRYPTO_ADIANTUM=m
CONFIG_CRYPTO_POLY1305=m
* CONFIG_CRYPTO_POLY1305_X86_64=m
CONFIG_CRYPTO_CHACHA20=m
CONFIG_CRYPTO_CHACHA20_X86_64=m
* CONFIG_CRYPTO_ARCH_HAVE_LIB_CHACHA=m
* CONFIG_CRYPTO_LIB_CHACHA_GENERIC=m
* CONFIG_CRYPTO_LIB_CHACHA=m
* CONFIG_CRYPTO_LIB_POLY1305_RSIZE=11
* CONFIG_CRYPTO_ARCH_HAVE_LIB_POLY1305=m
* CONFIG_CRYPTO_LIB_POLY1305_GENERIC=m
* CONFIG_CRYPTO_LIB_POLY1305=m
* CONFIG_CRYPTO_LIB_CHACHA20POLY1305=m
')
$this->bbcode_second_pass_code('', '
CONFIG_CRYPTO_CHACHA20_NEON=m
CONFIG_CRYPTO_NHPOLY1305_NEON=m
CONFIG_CRYPTO_CHACHA20POLY1305=m
CONFIG_CRYPTO_NHPOLY1305=m
# CONFIG_CRYPTO_ADIANTUM is not set
CONFIG_CRYPTO_POLY1305=m
CONFIG_CRYPTO_CHACHA20=m
')
Also, any plan to ship the wireguard module in these kernel? I can only see it in "linux-armv7", "linux-armv7-rc" and "linux-am33x", but neither on "linux-raspberrypi" or "linux-raspberrypi4".
---
Edit: it seems that you enabled the wireguard module, thank you