# ./output/aes
Got cbc(aes) with driver cbc-aes-hifn0
Got cbc(aes) with driver cbc-aes-hifn0
AES Test passed
cryptodev: added
aes-hw: test-passed!
we have hw acceleration ;D
so, after weeks of struggle with tons of bugs (even two terrible ones lurking around in the last kernel 6.2.0), now the crypto module is somehow working with ad-hoc applications I have written to use DES
# mycrypto_test
AES hw acceleration test
using /dev/cryptodev ...
got cbc(aes) with driver cbc-aes-cryptodev ... supported
Test: passed
unfortunately all the OpenSSH clients served by /usr/sbin/sshd (OpenSSH server) are not happy
cryptodev: ssh[20569] (cryptodev_cipher_init:135): Failed to load cipher cbc(blowfish)
cryptodev: ssh[20569] (crypto_create_session:257): Failed to load cipher for cbc(blowfish)
cryptodev: ssh[20569] (crypto_create_session:170): bad cipher: 4
cryptodev: ssh[20569] (cryptodev_hash_init:339): Failed to load transform for hmac(md5)
cryptodev: ssh[20569] (crypto_create_session:280): Failed to load hash for hmac(md5)
cryptodev: ssh[20569] (cryptodev_hash_init:339): Failed to load transform for hmac(sha1)
cryptodev: ssh[20569] (crypto_create_session:280): Failed to load hash for hmac(sha1)
cryptodev: ssh[20569] (cryptodev_hash_init:339): Failed to load transform for hmac(rmd160)
cryptodev: ssh[20569] (crypto_create_session:280): Failed to load hash for hmac(rmd160)
cryptodev: ssh[20569] (cryptodev_hash_init:339): Failed to load transform for md5
cryptodev: ssh[20569] (crypto_create_session:280): Failed to load hash for md5
cryptodev: ssh[20569] (cryptodev_hash_init:339): Failed to load transform for sha1
cryptodev: ssh[20569] (crypto_create_session:280): Failed to load hash for sha1
They would like to have services for which there is no hardware acceleration, and cryptodev complains on its corner
- blowfish
- hmac(md5)
- hmac(sha1) <----------- there is support for "sha" != "sha1"
- hmac(rmd160)
:-//