@lleachii yes it is not there, but is it because it comes with feeds? I can see unrar/unzip in utilities for example but not in the packages list. @anomeome I do not see it in menuconfig with kernel modules, do you?
In packages.index file I see
Package: kmod-cryptodev
Submenu: Cryptographic API modules
@jeff I am not sure I am building for MT7621 but I don't think it matters. It should work same even if you do not have hardware. That is the point of /dev/crypto, the software can take advantage of crypto support without any changes if there is hardware support available. But also opkg does not seem to find it and it is not in packages list. Shouldn't it exist as a package at least?
Maybe it is best that somebody who has 18.06.2 sources comment on this.
@jeff When I make the link manually, it appears in menuconfig. After this-> ~/openwrt/package/feeds/packages$ ln -s ../../../feeds/packages/utils/cryptodev-linux cryptodev-linux
but when I install it, it does not make the symlink
$ ./scripts/feeds install cryptodev-linux
WARNING: Makefile 'package/feeds/packages/gnutls/Makefile' has a dependency on 'kmod-cryptodev', which does not exist
$ ls package/feeds/packages/cryptodev-linux
ls: cannot access 'package/feeds/packages/cryptodev-linux': No such file or directory
$
It works if I force it
$ ./scripts/feeds install -f cryptodev-linux
WARNING: Makefile 'package/feeds/packages/gnutls/Makefile' has a dependency on 'kmod-cryptodev', which does not exist
Overriding core package 'cryptodev-linux' with version from packages
$ ls package/feeds/packages/cryptodev-linux
Makefile
$
I checked the feeds script and the is_core_src function was checking some files from tmp folder. I deleted the tmp folder and then re-executed
./scripts/feeds update -a
./scripts/feeds install -a
Then it started working normally...
$ ./scripts/feeds uninstall cryptodev-linux
Uninstalling package 'cryptodev-linux'
$ ./scripts/feeds install cryptodev-linux
WARNING: Makefile 'package/feeds/packages/gnutls/Makefile' has a dependency on 'kmod-cryptodev', which does not exist
Installing package 'cryptodev-linux' from packages
$ ls package/feeds/packages/cryptodev-linux
Makefile
Also the warning about kmod-cryptodev disappears once it is installed...
It seems like something was messed up in the tmp folder which cause this apparently...
I've found (and had recommended to me) that deleting ./tmp/ is needed to clear up dependency weirdness. My apologies for not thinking of that. I've had to delete it any time I make a change to device-level kernel config, such as config-4.19 or config-default
I don't know what happened because I cloned this today fresh. Anyway, thanks for the help
That said, it was not very useful as it seems to use -generic drivers for crypto... I thought MT7621 had hardware support for some crypto at least...
# cat /proc/crypto
name : lzo
driver : lzo-scomp
module : kernel
priority : 0
refcnt : 1
selftest : passed
internal : no
type : scomp
name : lzo
driver : lzo-generic
module : kernel
priority : 0
refcnt : 2
selftest : passed
internal : no
type : compression
name : zlib-deflate
driver : zlib-deflate-scomp
module : kernel
priority : 0
refcnt : 1
selftest : passed
internal : no
type : scomp
name : deflate
driver : deflate-scomp
module : kernel
priority : 0
refcnt : 1
selftest : passed
internal : no
type : scomp
name : deflate
driver : deflate-generic
module : kernel
priority : 0
refcnt : 2
selftest : passed
internal : no
type : compression
name : ecb(arc4)
driver : ecb(arc4)-generic
module : kernel
priority : 100
refcnt : 1
selftest : passed
internal : no
type : blkcipher
blocksize : 1
min keysize : 1
max keysize : 256
ivsize : 0
geniv : <default>
name : arc4
driver : arc4-generic
module : kernel
priority : 0
refcnt : 5
selftest : passed
internal : no
type : cipher
blocksize : 1
min keysize : 1
max keysize : 256
name : aes
driver : aes-generic
module : kernel
priority : 100
refcnt : 4
selftest : passed
internal : no
type : cipher
blocksize : 16
min keysize : 16
max keysize : 32
name : digest_null
driver : digest_null-generic
module : kernel
priority : 0
refcnt : 1
selftest : passed
internal : no
type : shash
blocksize : 1
digestsize : 0
name : compress_null
driver : compress_null-generic
module : kernel
priority : 0
refcnt : 1
selftest : passed
internal : no
type : compression
name : ecb(cipher_null)
driver : ecb-cipher_null
module : kernel
priority : 100
refcnt : 1
selftest : passed
internal : no
type : blkcipher
blocksize : 1
min keysize : 0
max keysize : 0
ivsize : 0
geniv : <default>
name : cipher_null
driver : cipher_null-generic
module : kernel
priority : 0
refcnt : 1
selftest : passed
internal : no
type : cipher
blocksize : 1
min keysize : 0
max keysize : 0