We have or custom board. My kernel is 4.19.35-00036-g55d92ea49ff9-dirty. If I do insmod tcrypt.ko mode=200. I get this
testing speed of async xts(aes) (xts(ecb(aes-generic))) encryption
tcrypt: test 0 (256 bit key, 16 byte blocks): 434231 operations in 1 seconds (6947696 bytes)
tcrypt: test 1 (256 bit key, 64 byte blocks): 250150 operations in 1 seconds (16009600 bytes)
tcrypt: test 2 (256 bit key, 256 byte blocks): 90005 operations in 1 seconds (23041280 bytes)
tcrypt: test 3 (256 bit key, 1024 byte blocks): 26244 operations in 1 seconds (26873856 bytes)
tcrypt: test 4 (256 bit key, 8192 byte blocks): 3415 operations in 1 seconds (27975680 bytes)
tcrypt: test 5 (512 bit key, 16 byte blocks): 371698 operations in 1 seconds (5947168 bytes)
tcrypt: test 6 (512 bit key, 64 byte blocks): 201907 operations in 1 seconds (12922048 bytes)
tcrypt: test 7 (512 bit key, 256 byte blocks): 70058 operations in 1 seconds (17934848 bytes)
tcrypt: test 8 (512 bit key, 1024 byte blocks): 19946 operations in 1 seconds (20424704 bytes)
tcrypt: test 9 (512 bit key, 8192 byte blocks): 2580 operations in 1 seconds (21135360 bytes)
tcrypt:
testing speed of async xts(aes) (xts(ecb(aes-generic))) decryption
tcrypt: test 0 (256 bit key, 16 byte blocks): 365889 operations in 1 seconds (5854224 bytes)
tcrypt: test 1 (256 bit key, 64 byte blocks): 216758 operations in 1 seconds (13872512 bytes)
tcrypt: test 2 (256 bit key, 256 byte blocks): 79919 operations in 1 seconds (20459264 bytes)
tcrypt: test 3 (256 bit key, 1024 byte blocks): 23665 operations in 1 seconds (24232960 bytes)
tcrypt: test 4 (256 bit key, 8192 byte blocks): 3095 operations in 1 seconds (25354240 bytes)
tcrypt: test 5 (512 bit key, 16 byte blocks): 320425 operations in 1 seconds (5126800 bytes)
tcrypt: test 6 (512 bit key, 64 byte blocks): 179317 operations in 1 seconds (11476288 bytes)
tcrypt: test 7 (512 bit key, 256 byte blocks): 63828 operations in 1 seconds (16339968 bytes)
tcrypt: test 8 (512 bit key, 1024 byte blocks): 18436 operations in 1 seconds (18878464 bytes)
tcrypt: test 9 (512 bit key, 8192 byte blocks): 2395 operations in 1 seconds (19619840 bytes)
tcrypt:
testing speed of async cts(cbc(aes)) (cts(cbc(aes-generic))) encryption
tcrypt: test 0 (128 bit key, 16 byte blocks): 996697 operations in 1 seconds (15947152 bytes)
tcrypt: test 1 (128 bit key, 64 byte blocks): 223599 operations in 1 seconds (14310336 bytes)
tcrypt: test 2 (128 bit key, 256 byte blocks): 89393 operations in 1 seconds (22884608 bytes)
tcrypt: test 3 (128 bit key, 1024 byte blocks): 26300 operations in 1 seconds (26931200 bytes)
tcrypt: test 4 (128 bit key, 8192 byte blocks): 3458 operations in 1 seconds (28327936 bytes)
tcrypt: test 5 (192 bit key, 16 byte blocks): 916018 operations in 1 seconds (14656288 bytes)
tcrypt: test 6 (192 bit key, 64 byte blocks): 204285 operations in 1 seconds (13074240 bytes)
tcrypt: test 7 (192 bit key, 256 byte blocks): 78556 operations in 1 seconds (20110336 bytes)
tcrypt: test 8 (192 bit key, 1024 byte blocks): 22696 operations in 1 seconds (23240704 bytes)
tcrypt: test 9 (192 bit key, 8192 byte blocks): 2924 operations in 1 seconds (23953408 bytes)
tcrypt: test 10 (256 bit key, 16 byte blocks): 839066 operations in 1 seconds (13425056 bytes)
tcrypt: test 11 (256 bit key, 64 byte blocks): 190332 operations in 1 seconds (12181248 bytes)
tcrypt: test 12 (256 bit key, 256 byte blocks): 70514 operations in 1 seconds (18051584 bytes)
tcrypt: test 13 (256 bit key, 1024 byte blocks): 20049 operations in 1 seconds (20530176 bytes)
tcrypt: test 14 (256 bit key, 8192 byte blocks): 2606 operations in 1 seconds (21348352 bytes)
tcrypt:
testing speed of async cts(cbc(aes)) (cts(cbc(aes-generic))) decryption
tcrypt: test 0 (128 bit key, 16 byte blocks): 874971 operations in 1 seconds (13999536 bytes)
tcrypt: test 1 (128 bit key, 64 byte blocks): 186565 operations in 1 seconds (11940160 bytes)
tcrypt: test 2 (128 bit key, 256 byte blocks): 78388 operations in 1 seconds (20067328 bytes)
tcrypt: test 3 (128 bit key, 1024 byte blocks): 23616 operations in 1 seconds (24182784 bytes)
tcrypt: test 4 (128 bit key, 8192 byte blocks): 3131 operations in 1 seconds (25649152 bytes)
tcrypt: test 5 (192 bit key, 16 byte blocks): 802141 operations in 1 seconds (12834256 bytes)
tcrypt: test 6 (192 bit key, 64 byte blocks): 174346 operations in 1 seconds (11158144 bytes)
tcrypt: test 7 (192 bit key, 256 byte blocks): 70260 operations in 1 seconds (17986560 bytes)
tcrypt: test 8 (192 bit key, 1024 byte blocks): 20737 operations in 1 seconds (21234688 bytes)
tcrypt: test 9 (192 bit key, 8192 byte blocks): 2694 operations in 1 seconds (22069248 bytes)
tcrypt: test 10 (256 bit key, 16 byte blocks): 750517 operations in 1 seconds (12008272 bytes)
tcrypt: test 11 (256 bit key, 64 byte blocks): 164361 operations in 1 seconds (10519104 bytes)
tcrypt: test 12 (256 bit key, 256 byte blocks): 63632 operations in 1 seconds (16289792 bytes)
tcrypt: test 13 (256 bit key, 1024 byte blocks): 18461 operations in 1 seconds (18904064 bytes)
tcrypt: test 14 (256 bit key, 8192 byte blocks): 2419 operations in 1 seconds (19816448 bytes)
tcrypt:
testing speed of async ctr(aes) (ctr(aes-generic)) encryption
tcrypt: test 0 (128 bit key, 16 byte blocks): 915020 operations in 1 seconds (14640320 bytes)
tcrypt: test 1 (128 bit key, 64 byte blocks): 353041 operations in 1 seconds (22594624 bytes)
tcrypt: test 2 (128 bit key, 256 byte blocks): 102218 operations in 1 seconds (26167808 bytes)
tcrypt: test 3 (128 bit key, 1024 byte blocks): 26597 operations in 1 seconds (27235328 bytes)
tcrypt: test 4 (128 bit key, 8192 byte blocks): 3357 operations in 1 seconds (27500544 bytes)
tcrypt: test 5 (192 bit key, 16 byte blocks): 852882 operations in 1 seconds (13646112 bytes)
tcrypt: test 6 (192 bit key, 64 byte blocks): 314482 operations in 1 seconds (20126848 bytes)
tcrypt: test 7 (192 bit key, 256 byte blocks): 89417 operations in 1 seconds (22890752 bytes)
tcrypt: test 8 (192 bit key, 1024 byte blocks): 23152 operations in 1 seconds (23707648 bytes)
tcrypt: test 9 (192 bit key, 8192 byte blocks): 2892 operations in 1 seconds (23691264 bytes)
tcrypt: test 10 (256 bit key, 16 byte blocks): 784159 operations in 1 seconds (12546544 bytes)
tcrypt: test 11 (256 bit key, 64 byte blocks): 280117 operations in 1 seconds (17927488 bytes)
tcrypt: test 12 (256 bit key, 256 byte blocks): 78949 operations in 1 seconds (20210944 bytes)
tcrypt: test 13 (256 bit key, 1024 byte blocks): 20389 operations in 1 seconds (20878336 bytes)
tcrypt: test 14 (256 bit key, 8192 byte blocks): 2568 operations in 1 seconds (21037056 bytes)
tcrypt:
testing speed of async ctr(aes) (ctr(aes-generic)) decryption
tcrypt: test 0 (128 bit key, 16 byte blocks): 918439 operations in 1 seconds (14695024 bytes)
tcrypt: test 1 (128 bit key, 64 byte blocks): 353097 operations in 1 seconds (22598208 bytes)
tcrypt: test 2 (128 bit key, 256 byte blocks): 102214 operations in 1 seconds (26166784 bytes)
tcrypt: test 3 (128 bit key, 1024 byte blocks): 26598 operations in 1 seconds (27236352 bytes)
tcrypt: test 4 (128 bit key, 8192 byte blocks): 3357 operations in 1 seconds (27500544 bytes)
tcrypt: test 5 (192 bit key, 16 byte blocks): 852701 operations in 1 seconds (13643216 bytes)
tcrypt: test 6 (192 bit key, 64 byte blocks): 314369 operations in 1 seconds (20119616 bytes)
tcrypt: test 7 (192 bit key, 256 byte blocks): 89424 operations in 1 seconds (22892544 bytes)
tcrypt: test 8 (192 bit key, 1024 byte blocks): 23151 operations in 1 seconds (23706624 bytes)
tcrypt: test 9 (192 bit key, 8192 byte blocks): 2893 operations in 1 seconds (23699456 bytes)
tcrypt: test 10 (256 bit key, 16 byte blocks): 782777 operations in 1 seconds (12524432 bytes)
tcrypt: test 11 (256 bit key, 64 byte blocks): 280049 operations in 1 seconds (17923136 bytes)
tcrypt: test 12 (256 bit key, 256 byte blocks): 78968 operations in 1 seconds (20215808 bytes)
tcrypt: test 13 (256 bit key, 1024 byte blocks): 20391 operations in 1 seconds (20880384 bytes)
tcrypt: test 14 (256 bit key, 8192 byte blocks): 2568 operations in 1 seconds (21037056 bytes)
tcrypt: failed to load transform for cfb(aes): -2
tcrypt: failed to load transform for cfb(aes): -2
insmod: ERROR: could not insert module tcrypt.ko: Resource temporarily unavailable
it fails for aes. Why is it only for aes its failing?