cryptodev-dkms package broken

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

cryptodev-dkms package broken

Postby kaworu1986 » Sun May 10, 2020 2:03 pm

I have a GoFlex home running the current Arch Linux Arm with devicetree kernel

$this->bbcode_second_pass_code('', '
[root]# pacman -Ss kirkwood
core/linux-kirkwood 4.4.219-1
The Linux Kernel and modules - Marvell Kirkwood
core/linux-kirkwood-dt 5.6.11-1 [installed]
The Linux Kernel and modules - Marvell Kirkwood DT
core/linux-kirkwood-dt-headers 5.6.11-1 [installed]
Header files and scripts for building modules for linux kernel - Marvell Kirkwood DT
core/linux-kirkwood-headers 4.4.219-1
Header files and scripts for building modules for linux kernel - Marvell Kirkwood
')

However when I try installing
$this->bbcode_second_pass_code('', '
alarm/cryptodev-dkms 1.10-2
Cryptodev module to take advantage of hardware crypto engines in userspace
')

I get:
$this->bbcode_second_pass_code('', '
Error! Bad return status for module build on kernel: 5.6.11-1-ARCH (armv5tel)
Consult /var/lib/dkms/cryptodev/1.10/build/make.log for more information.
error: command failed to execute correctly
')

And /var/lib/dkms/cryptodev/1.10/build/make.log shows:
$this->bbcode_second_pass_code('', '
DKMS make.log for cryptodev-1.10 for kernel 5.6.11-1-ARCH (armv5tel)
Sun May 10 14:00:54 UTC 2020
/var/lib/dkms/cryptodev/1.10/build/cryptlib.c: In function 'cryptodev_cipher_init':
/var/lib/dkms/cryptodev/1.10/build/cryptlib.c:162:37: error: 'crypto_ablkcipher_type' undeclared (first use in this function);
; did you mean 'crypto_skcipher_tfm'?
162 | if ((tfm->__crt_alg->cra_type == &crypto_ablkcipher_type)
| ^~~~~~~~~~~~~~~~~~~~~~
| crypto_skcipher_tfm
/var/lib/dkms/cryptodev/1.10/build/cryptlib.c:162:37: note: each undeclared identifier is reported only once for each function
n it appears in
/var/lib/dkms/cryptodev/1.10/build/cryptlib.c:169:25: error: 'struct crypto_alg' has no member named 'cra_ablkcipher'
169 | alg = &tfm->__crt_alg->cra_ablkcipher;
| ^~
/var/lib/dkms/cryptodev/1.10/build/cryptlib.c:170:21: error: dereferencing pointer to incomplete type 'struct ablkcipher_alg'
170 | min_keysize = alg->min_keysize;
| ^~
make[2]: *** [scripts/Makefile.build:268: /var/lib/dkms/cryptodev/1.10/build/cryptlib.o] Error 1
make[1]: *** [Makefile:1683: /var/lib/dkms/cryptodev/1.10/build] Error 2
make: *** [Makefile:27: build] Error 2
')

Is there any way of fixing this? Also, does the fact this package is broken means I cannot use hardware accelerated crypto for disk encryption or is it "just" for openssl (and SSH/Nginx/other apps using it)?
kaworu1986
 
Posts: 6
Joined: Fri May 08, 2020 11:33 pm

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 6 guests