Yay, finally really fixed Alpine Crypto Driver, what a piece of junk
The original driver contained a couple of bugs.
All crypto testmgr tests are OK now
crypto testmgr tests are run every time a new crypto alg is registered, e.g. when al_crypto kernel module is loaded. They are different from tcrypt tests which only test speed BUT no correctness !!!
I want to do more openssl testing to find more potential bugs.
[ 20.352702] al_crypto: Annapurna Labs Crypto Driver 0.01
[ 20.358123] al_crypto 0000:00:04.0: of_irq_parse_pci: failed with rc=-22
[ 20.480326] al_crypto 0000:00:04.0: enabling device (0000 -> 0002)
[ 20.599324] pci 0000:00:04.1: [1c36:8011] type 00 class 0x100000
[ 20.605346] pci 0000:00:04.1: Max Payload Size set to 128/ 128 (was 128), Max Read Rq 128
[ 20.730322] al_crypto 0000:00:04.1: enabling device (0400 -> 0402)
[ 20.739599] al_crypto 0000:00:04.1: al_crypto_pci_probe: Skipping alg/hash initialization, no allocated channels
[ 20.762779] al_crypto 0000:00:04.1: crc/csum algorithms registered in /proc/crypto
[ 20.783867] al_crypto 0000:00:04.0: algorithms registered in /proc/crypto
[ 20.841956] al_crypto 0000:00:04.0: hash algorithms registered in /proc/crypto
[ 20.849173] al_crypto 0000:00:04.0: al_crypto_pci_probe: Skipping crc initialization, no allocated channels
tcrypt tests
root@OpenWrt-dev:/# modprobe tcrypt mode=402 sec=1
[ 323.782306]
[ 323.782306] testing speed of async md5 (md5-al)
[ 323.788315] tcrypt: test 0 ( 16 byte blocks, 16 bytes per update, 1 updates):
[ 324.779266] 48997 opers/sec, 783952 bytes/sec
[ 324.791792] tcrypt: test 1 ( 64 byte blocks, 16 bytes per update, 4 updates): 45993 opers/sec, 2943552 bytes/sec
[ 325.800331] tcrypt: test 2 ( 64 byte blocks, 64 bytes per update, 1 updates):
[ 326.799261] 51150 opers/sec, 3273600 bytes/sec
[ 326.811787] tcrypt: test 3 ( 256 byte blocks, 16 bytes per update, 16 updates): 12122 opers/sec, 3103232 bytes/sec
[ 327.820342] tcrypt: test 4 ( 256 byte blocks, 64 bytes per update, 4 updates): 12704 opers/sec, 3252224 bytes/sec
[ 328.830308] tcrypt: test 5 ( 256 byte blocks, 256 bytes per update, 1 updates):
[ 329.829254] 50499 opers/sec, 12927744 bytes/sec
[ 329.841776] tcrypt: test 6 ( 1024 byte blocks, 16 bytes per update, 64 updates): 3041 opers/sec, 3113984 bytes/sec
[ 330.850300] tcrypt: test 7 ( 1024 byte blocks, 256 bytes per update, 4 updates): 10110 opers/sec, 10352640 bytes/sec
[ 331.860331] tcrypt: test 8 ( 1024 byte blocks, 1024 bytes per update, 1 updates):
[ 332.859259] 47750 opers/sec, 48896000 bytes/sec
[ 332.871778] tcrypt: test 9 ( 2048 byte blocks, 16 bytes per update, 128 updates): 1531 opers/sec, 3135488 bytes/sec
[ 333.880726] tcrypt: test 10 ( 2048 byte blocks, 256 bytes per update, 8 updates): 5527 opers/sec, 11319296 bytes/sec
[ 334.890292] tcrypt: test 11 ( 2048 byte blocks, 1024 bytes per update, 2 updates): 16115 opers/sec, 33003520 bytes/sec
[ 335.900327] tcrypt: test 12 ( 2048 byte blocks, 2048 bytes per update, 1 updates):
[ 336.899253] 44225 opers/sec, 90572800 bytes/sec
[ 336.911772] tcrypt: test 13 ( 4096 byte blocks, 16 bytes per update, 256 updates): 765 opers/sec, 3133440 bytes/sec
[ 337.920823] tcrypt: test 14 ( 4096 byte blocks, 256 bytes per update, 16 updates): 2939 opers/sec, 12038144 bytes/sec
[ 338.930319] tcrypt: test 15 ( 4096 byte blocks, 1024 bytes per update, 4 updates): 9575 opers/sec, 39219200 bytes/sec
[ 339.940396] tcrypt: test 16 ( 4096 byte blocks, 4096 bytes per update, 1 updates):
[ 340.939271] 39604 opers/sec, 162217984 bytes/sec
[ 340.951794] tcrypt: test 17 ( 8192 byte blocks, 16 bytes per update, 512 updates): 383 opers/sec, 3137536 bytes/sec
[ 341.960613] tcrypt: test 18 ( 8192 byte blocks, 256 bytes per update, 32 updates): 1498 opers/sec, 12271616 bytes/sec
[ 342.970556] tcrypt: test 19 ( 8192 byte blocks, 1024 bytes per update, 8 updates): 5232 opers/sec, 42860544 bytes/sec
[ 343.980427] tcrypt: test 20 ( 8192 byte blocks, 4096 bytes per update, 2 updates): 14194 opers/sec, 116277248 bytes/sec
[ 344.990292] tcrypt: test 21 ( 8192 byte blocks, 8192 bytes per update, 1 updates):
[ 345.989284] 32132 opers/sec, 263225344 bytes/sec
modprobe: ERROR: could not insert 'tcrypt': Resource temporarily unavailable
root@OpenWrt-dev:/# modprobe tcrypt mode=422 sec=1
[ 181.354382] tcrypt:
[ 181.354382] testing speed of multibuffer sha1 (sha1-al)
[ 181.361799] tcrypt: test 0 ( 16 byte blocks, 16 bytes per update, 1 updates): 249872 operations in 1 seconds (3997952 bytes)
[ 182.371081] tcrypt: test 2 ( 64 byte blocks, 64 bytes per update, 1 updates): 250056 operations in 1 seconds (16003584 bytes)
[ 183.381167] tcrypt: test 5 ( 256 byte blocks, 256 bytes per update, 1 updates): 240552 operations in 1 seconds (61581312 bytes)
[ 184.391144] tcrypt: test 8 ( 1024 byte blocks, 1024 bytes per update, 1 updates): 229024 operations in 1 seconds (234520576 bytes)
[ 185.402505] tcrypt: test 12 ( 2048 byte blocks, 2048 bytes per update, 1 updates): 190728 operations in 1 seconds (390610944 bytes)
[ 186.411272] tcrypt: test 16 ( 4096 byte blocks, 4096 bytes per update, 1 updates): 109264 operations in 1 seconds (447545344 bytes)
[ 187.421263] tcrypt: test 21 ( 8192 byte blocks, 8192 bytes per update, 1 updates): 60168 operations in 1 seconds (492896256 bytes)
modprobe: ERROR: could not insert 'tcrypt': Resource temporarily unavailable
root@OpenWrt-dev:/# modprobe tcrypt mode=423 sec=1
[ 196.044205] tcrypt:
[ 196.044205] testing speed of multibuffer sha256 (sha256-al)
[ 196.051989] tcrypt: test 0 ( 16 byte blocks, 16 bytes per update, 1 updates): 113608 operations in 1 seconds (1817728 bytes)
[ 197.061198] tcrypt: test 2 ( 64 byte blocks, 64 bytes per update, 1 updates): 236688 operations in 1 seconds (15148032 bytes)
[ 198.071171] tcrypt: test 5 ( 256 byte blocks, 256 bytes per update, 1 updates): 230672 operations in 1 seconds (59052032 bytes)
[ 199.081145] tcrypt: test 8 ( 1024 byte blocks, 1024 bytes per update, 1 updates): 219440 operations in 1 seconds (224706560 bytes)
[ 200.091259] tcrypt: test 12 ( 2048 byte blocks, 2048 bytes per update, 1 updates): 205104 operations in 1 seconds (420052992 bytes)
[ 201.101255] tcrypt: test 16 ( 4096 byte blocks, 4096 bytes per update, 1 updates): 139176 operations in 1 seconds (570064896 bytes)
[ 202.111260] tcrypt: test 21 ( 8192 byte blocks, 8192 bytes per update, 1 updates): 74584 operations in 1 seconds (610992128 bytes)
modprobe: ERROR: could not insert 'tcrypt': Resource temporarily unavailable
root@OpenWrt-dev:/# modprobe tcrypt mode=424 sec=1
[ 204.764160] tcrypt:
[ 204.764160] testing speed of multibuffer sha512 (sha512-al)
[ 204.771952] tcrypt: test 0 ( 16 byte blocks, 16 bytes per update, 1 updates): 87352 operations in 1 seconds (1397632 bytes)
[ 205.781014] tcrypt: test 2 ( 64 byte blocks, 64 bytes per update, 1 updates): 147776 operations in 1 seconds (9457664 bytes)
[ 206.791197] tcrypt: test 5 ( 256 byte blocks, 256 bytes per update, 1 updates): 238832 operations in 1 seconds (61140992 bytes)
[ 207.801163] tcrypt: test 8 ( 1024 byte blocks, 1024 bytes per update, 1 updates): 213072 operations in 1 seconds (218185728 bytes)
[ 208.811255] tcrypt: test 12 ( 2048 byte blocks, 2048 bytes per update, 1 updates): 216952 operations in 1 seconds (444317696 bytes)
[ 209.821225] tcrypt: test 16 ( 4096 byte blocks, 4096 bytes per update, 1 updates): 184816 operations in 1 seconds (757006336 bytes)
[ 210.831262] tcrypt: test 21 ( 8192 byte blocks, 8192 bytes per update, 1 updates): 110248 operations in 1 seconds (903151616 bytes)
modprobe: ERROR: could not insert 'tcrypt': Resource temporarily unavailable
root@OpenWrt-dev:/# modprobe tcrypt mode=600 sec=1
[ 213.924309] tcrypt:
[ 213.924309] testing speed of multibuffer ecb(aes) (ecb-aes-al) encryption
[ 213.933292] tcrypt: test 0 (128 bit key, 16 byte blocks): 87784 operations in 1 seconds (1404544 bytes)
[ 214.938731] tcrypt: test 1 (128 bit key, 64 byte blocks): 91544 operations in 1 seconds (5858816 bytes)
[ 215.938680] tcrypt: test 2 (128 bit key, 256 byte blocks): 104168 operations in 1 seconds (26667008 bytes)
[ 216.938964] tcrypt: test 3 (128 bit key, 1024 byte blocks): 116912 operations in 1 seconds (119717888 bytes)
[ 217.939192] tcrypt: test 4 (128 bit key, 1472 byte blocks): 127448 operations in 1 seconds (187603456 bytes)
[ 218.939185] tcrypt: test 5 (128 bit key, 8192 byte blocks): 177680 operations in 1 seconds (1455554560 bytes)
[ 219.939140] tcrypt: test 6 (192 bit key, 16 byte blocks): 224392 operations in 1 seconds (3590272 bytes)
[ 220.938706] tcrypt: test 7 (192 bit key, 64 byte blocks): 225160 operations in 1 seconds (14410240 bytes)
[ 221.938786] tcrypt: test 8 (192 bit key, 256 byte blocks): 228696 operations in 1 seconds (58546176 bytes)
[ 222.938890] tcrypt: test 9 (192 bit key, 1024 byte blocks): 229568 operations in 1 seconds (235077632 bytes)
[ 223.939080] tcrypt: test 10 (192 bit key, 1472 byte blocks): 229016 operations in 1 seconds (337111552 bytes)
[ 224.939141] tcrypt: test 11 (192 bit key, 8192 byte blocks): 176712 operations in 1 seconds (1447624704 bytes)
[ 225.939259] tcrypt: test 12 (256 bit key, 16 byte blocks): 227560 operations in 1 seconds (3640960 bytes)
[ 226.948814] tcrypt: test 13 (256 bit key, 64 byte blocks): 227688 operations in 1 seconds (14572032 bytes)
[ 227.948878] tcrypt: test 14 (256 bit key, 256 byte blocks): 230208 operations in 1 seconds (58933248 bytes)
[ 228.948964] tcrypt: test 15 (256 bit key, 1024 byte blocks): 229344 operations in 1 seconds (234848256 bytes)
[ 229.949141] tcrypt: test 16 (256 bit key, 1472 byte blocks): 229272 operations in 1 seconds (337488384 bytes)
[ 230.949156] tcrypt: test 17 (256 bit key, 8192 byte blocks): 177248 operations in 1 seconds (1452015616 bytes)
[ 231.949504] tcrypt:
[ 231.949504] testing speed of multibuffer ecb(aes) (ecb-aes-al) decryption
[ 231.958448] tcrypt: test 0 (128 bit key, 16 byte blocks): 175040 operations in 1 seconds (2800640 bytes)
[ 232.958706] tcrypt: test 1 (128 bit key, 64 byte blocks): 172432 operations in 1 seconds (11035648 bytes)
[ 233.958813] tcrypt: test 2 (128 bit key, 256 byte blocks): 176072 operations in 1 seconds (45074432 bytes)
[ 234.958909] tcrypt: test 3 (128 bit key, 1024 byte blocks): 172944 operations in 1 seconds (177094656 bytes)
[ 235.959057] tcrypt: test 4 (128 bit key, 1472 byte blocks): 177400 operations in 1 seconds (261132800 bytes)
[ 236.959053] tcrypt: test 5 (128 bit key, 8192 byte blocks): 94264 operations in 1 seconds (772210688 bytes)
[ 237.960419] tcrypt: test 6 (192 bit key, 16 byte blocks): 175824 operations in 1 seconds (2813184 bytes)
[ 238.968708] tcrypt: test 7 (192 bit key, 64 byte blocks): 171744 operations in 1 seconds (10991616 bytes)
[ 239.968793] tcrypt: test 8 (192 bit key, 256 byte blocks): 175928 operations in 1 seconds (45037568 bytes)
[ 240.968918] tcrypt: test 9 (192 bit key, 1024 byte blocks): 173040 operations in 1 seconds (177192960 bytes)
[ 241.969093] tcrypt: test 10 (192 bit key, 1472 byte blocks): 173040 operations in 1 seconds (254714880 bytes)
[ 242.969166] tcrypt: test 11 (192 bit key, 8192 byte blocks): 82408 operations in 1 seconds (675086336 bytes)
[ 243.969340] tcrypt: test 12 (256 bit key, 16 byte blocks): 174432 operations in 1 seconds (2790912 bytes)
[ 244.978811] tcrypt: test 13 (256 bit key, 64 byte blocks): 173072 operations in 1 seconds (11076608 bytes)
[ 245.980867] tcrypt: test 14 (256 bit key, 256 byte blocks): 177872 operations in 1 seconds (45535232 bytes)
[ 246.988994] tcrypt: test 15 (256 bit key, 1024 byte blocks): 176344 operations in 1 seconds (180576256 bytes)
[ 247.989132] tcrypt: test 16 (256 bit key, 1472 byte blocks): 174088 operations in 1 seconds (256257536 bytes)
[ 248.989178] tcrypt: test 17 (256 bit key, 8192 byte blocks): 73400 operations in 1 seconds (601292800 bytes)
[ 249.989960] tcrypt:
[ 249.989960] testing speed of multibuffer cbc(aes) (cbc-aes-al) encryption
[ 249.998904] tcrypt: test 0 (128 bit key, 16 byte blocks): 232072 operations in 1 seconds (3713152 bytes)
[ 250.998729] tcrypt: test 1 (128 bit key, 64 byte blocks): 228616 operations in 1 seconds (14631424 bytes)
[ 251.998812] tcrypt: test 2 (128 bit key, 256 byte blocks): 100408 operations in 1 seconds (25704448 bytes)
[ 252.998991] tcrypt: test 3 (128 bit key, 1024 byte blocks): 212672 operations in 1 seconds (217776128 bytes)
[ 253.999048] tcrypt: test 4 (128 bit key, 1472 byte blocks): 203944 operations in 1 seconds (300205568 bytes)
[ 254.999058] tcrypt: test 5 (128 bit key, 8192 byte blocks): 100920 operations in 1 seconds (826736640 bytes)
[ 255.999097] tcrypt: test 6 (192 bit key, 16 byte blocks): 234328 operations in 1 seconds (3749248 bytes)
[ 256.998721] tcrypt: test 7 (192 bit key, 64 byte blocks): 220696 operations in 1 seconds (14124544 bytes)
[ 257.998817] tcrypt: test 8 (192 bit key, 256 byte blocks): 217912 operations in 1 seconds (55785472 bytes)
[ 258.998880] tcrypt: test 9 (192 bit key, 1024 byte blocks): 205088 operations in 1 seconds (210010112 bytes)
[ 259.999104] tcrypt: test 10 (192 bit key, 1472 byte blocks): 115696 operations in 1 seconds (170304512 bytes)
[ 260.999404] tcrypt: test 11 (192 bit key, 8192 byte blocks): 84384 operations in 1 seconds (691273728 bytes)
[ 262.009054] tcrypt: test 12 (256 bit key, 16 byte blocks): 235056 operations in 1 seconds (3760896 bytes)
[ 263.008818] tcrypt: test 13 (256 bit key, 64 byte blocks): 151872 operations in 1 seconds (9719808 bytes)
[ 264.008844] tcrypt: test 14 (256 bit key, 256 byte blocks): 159208 operations in 1 seconds (40757248 bytes)
[ 265.009108] tcrypt: test 15 (256 bit key, 1024 byte blocks): 204560 operations in 1 seconds (209469440 bytes)
[ 266.012117] tcrypt: test 16 (256 bit key, 1472 byte blocks): 200584 operations in 1 seconds (295259648 bytes)
[ 267.019157] tcrypt: test 17 (256 bit key, 8192 byte blocks): 77096 operations in 1 seconds (631570432 bytes)
[ 268.019404] tcrypt:
[ 268.019404] testing speed of multibuffer cbc(aes) (cbc-aes-al) decryption
[ 268.028457] tcrypt: test 0 (128 bit key, 16 byte blocks): 81040 operations in 1 seconds (1296640 bytes)
[ 269.028747] tcrypt: test 1 (128 bit key, 64 byte blocks): 118776 operations in 1 seconds (7601664 bytes)
[ 270.028859] tcrypt: test 2 (128 bit key, 256 byte blocks): 175128 operations in 1 seconds (44832768 bytes)
[ 271.028919] tcrypt: test 3 (128 bit key, 1024 byte blocks): 174128 operations in 1 seconds (178307072 bytes)
[ 272.029070] tcrypt: test 4 (128 bit key, 1472 byte blocks): 175576 operations in 1 seconds (258447872 bytes)
[ 273.029067] tcrypt: test 5 (128 bit key, 8192 byte blocks): 96872 operations in 1 seconds (793575424 bytes)
[ 274.028986] tcrypt: test 6 (192 bit key, 16 byte blocks): 174824 operations in 1 seconds (2797184 bytes)
[ 275.028739] tcrypt: test 7 (192 bit key, 64 byte blocks): 172888 operations in 1 seconds (11064832 bytes)
[ 276.028811] tcrypt: test 8 (192 bit key, 256 byte blocks): 175056 operations in 1 seconds (44814336 bytes)
[ 277.028923] tcrypt: test 9 (192 bit key, 1024 byte blocks): 175104 operations in 1 seconds (179306496 bytes)
[ 278.029090] tcrypt: test 10 (192 bit key, 1472 byte blocks): 176088 operations in 1 seconds (259201536 bytes)
[ 279.029162] tcrypt: test 11 (192 bit key, 8192 byte blocks): 84456 operations in 1 seconds (691863552 bytes)
[ 280.029075] tcrypt: test 12 (256 bit key, 16 byte blocks): 175984 operations in 1 seconds (2815744 bytes)
[ 281.028788] tcrypt: test 13 (256 bit key, 64 byte blocks): 174848 operations in 1 seconds (11190272 bytes)
[ 282.028873] tcrypt: test 14 (256 bit key, 256 byte blocks): 176088 operations in 1 seconds (45078528 bytes)
[ 283.029003] tcrypt: test 15 (256 bit key, 1024 byte blocks): 177600 operations in 1 seconds (181862400 bytes)
[ 284.029128] tcrypt: test 16 (256 bit key, 1472 byte blocks): 171960 operations in 1 seconds (253125120 bytes)
[ 285.029153] tcrypt: test 17 (256 bit key, 8192 byte blocks): 74936 operations in 1 seconds (613875712 bytes)
[ 286.034659] tcrypt: failed to load transform for lrw(aes): -2
[ 286.045495] tcrypt: failed to load transform for lrw(aes): -2
[ 286.056309] tcrypt: failed to load transform for xts(aes): -2
[ 286.067122] tcrypt: failed to load transform for xts(aes): -2
[ 286.077968] tcrypt: failed to load transform for cts(cbc(aes)): -2
[ 286.089307] tcrypt: failed to load transform for cts(cbc(aes)): -2
[ 286.100525] tcrypt: failed to load transform for ctr(aes): -2
[ 286.111849] tcrypt: failed to load transform for ctr(aes): -2
[ 286.122820] tcrypt: failed to load transform for cfb(aes): -2
[ 286.133788] tcrypt: failed to load transform for cfb(aes): -2
[ 286.144932] tcrypt: failed to load transform for ofb(aes): -2
[ 286.155976] tcrypt: failed to load transform for ofb(aes): -2
[ 286.167044] tcrypt: failed to load transform for rfc3686(ctr(aes)): -2
[ 286.178670] tcrypt: failed to load transform for rfc3686(ctr(aes)): -2
modprobe: ERROR: could not insert 'tcrypt': Resource temporarily unavailable
root@OpenWrt-dev:/# modprobe tcrypt mode=601 sec=1
[ 295.304114] tcrypt:
[ 295.304114] testing speed of multibuffer ecb(des3_ede) (ecb-des3-ede-al) encryption
[ 295.313973] tcrypt: test 0 (192 bit key, 16 byte blocks): 90320 operations in 1 seconds (1445120 bytes)
[ 296.318732] tcrypt: test 1 (192 bit key, 64 byte blocks): 251536 operations in 1 seconds (16098304 bytes)
[ 297.318786] tcrypt: test 2 (192 bit key, 256 byte blocks): 124136 operations in 1 seconds (31778816 bytes)
[ 298.318938] tcrypt: test 3 (192 bit key, 1024 byte blocks): 101872 operations in 1 seconds (104316928 bytes)
[ 299.319084] tcrypt: test 4 (192 bit key, 1472 byte blocks): 75984 operations in 1 seconds (111848448 bytes)
[ 300.319052] tcrypt: test 5 (192 bit key, 8192 byte blocks): 14568 operations in 1 seconds (119341056 bytes)
[ 301.319671] tcrypt:
[ 301.319671] testing speed of multibuffer ecb(des3_ede) (ecb-des3-ede-al) decryption
[ 301.329500] tcrypt: test 0 (192 bit key, 16 byte blocks): 251672 operations in 1 seconds (4026752 bytes)
[ 302.338700] tcrypt: test 1 (192 bit key, 64 byte blocks): 250320 operations in 1 seconds (16020480 bytes)
[ 303.338805] tcrypt: test 2 (192 bit key, 256 byte blocks): 223760 operations in 1 seconds (57282560 bytes)
[ 304.338902] tcrypt: test 3 (192 bit key, 1024 byte blocks): 99536 operations in 1 seconds (101924864 bytes)
[ 305.338991] tcrypt: test 4 (192 bit key, 1472 byte blocks): 73104 operations in 1 seconds (107609088 bytes)
[ 306.339024] tcrypt: test 5 (192 bit key, 8192 byte blocks): 14392 operations in 1 seconds (117899264 bytes)
[ 307.339413] tcrypt:
[ 307.339413] testing speed of multibuffer cbc(des3_ede) (cbc-des3-ede-al) encryption
[ 307.349352] tcrypt: test 0 (192 bit key, 16 byte blocks): 86088 operations in 1 seconds (1377408 bytes)
[ 308.358675] tcrypt: test 1 (192 bit key, 64 byte blocks): 138320 operations in 1 seconds (8852480 bytes)
[ 309.358795] tcrypt: test 2 (192 bit key, 256 byte blocks): 202016 operations in 1 seconds (51716096 bytes)
[ 310.358906] tcrypt: test 3 (192 bit key, 1024 byte blocks): 93792 operations in 1 seconds (96043008 bytes)
[ 311.358900] tcrypt: test 4 (192 bit key, 1472 byte blocks): 72224 operations in 1 seconds (106313728 bytes)
[ 312.359007] tcrypt: test 5 (192 bit key, 8192 byte blocks): 13880 operations in 1 seconds (113704960 bytes)
[ 313.359409] tcrypt:
[ 313.359409] testing speed of multibuffer cbc(des3_ede) (cbc-des3-ede-al) decryption
[ 313.369348] tcrypt: test 0 (192 bit key, 16 byte blocks): 80856 operations in 1 seconds (1293696 bytes)
[ 314.378749] tcrypt: test 1 (192 bit key, 64 byte blocks): 174760 operations in 1 seconds (11184640 bytes)
[ 315.378811] tcrypt: test 2 (192 bit key, 256 byte blocks): 174624 operations in 1 seconds (44703744 bytes)
[ 316.378907] tcrypt: test 3 (192 bit key, 1024 byte blocks): 96904 operations in 1 seconds (99229696 bytes)
[ 317.378943] tcrypt: test 4 (192 bit key, 1472 byte blocks): 70168 operations in 1 seconds (103287296 bytes)
[ 318.378977] tcrypt: test 5 (192 bit key, 8192 byte blocks): 14056 operations in 1 seconds (115146752 bytes)
[ 319.384792] tcrypt: failed to load transform for cfb(des3_ede): -2
[ 319.396235] tcrypt: failed to load transform for cfb(des3_ede): -2
[ 319.407649] tcrypt: failed to load transform for ofb(des3_ede): -2
[ 319.418916] tcrypt: failed to load transform for ofb(des3_ede): -2
modprobe: ERROR: could not insert 'tcrypt': Resource temporarily unavailable
root@OpenWrt-dev:/# modprobe tcrypt mode=602 sec=1
[ 327.474126] tcrypt:
[ 327.474126] testing speed of multibuffer ecb(des) (ecb-des-al) encryption
[ 327.483120] tcrypt: test 0 (64 bit key, 16 byte blocks): 248448 operations in 1 seconds (3975168 bytes)
[ 328.488620] tcrypt: test 1 (64 bit key, 64 byte blocks): 245624 operations in 1 seconds (15719936 bytes)
[ 329.488700] tcrypt: test 2 (64 bit key, 256 byte blocks): 231000 operations in 1 seconds (59136000 bytes)
[ 330.488790] tcrypt: test 3 (64 bit key, 1024 byte blocks): 212288 operations in 1 seconds (217382912 bytes)
[ 331.488960] tcrypt: test 4 (64 bit key, 1472 byte blocks): 150648 operations in 1 seconds (221753856 bytes)
[ 332.489047] tcrypt: test 5 (64 bit key, 8192 byte blocks): 40280 operations in 1 seconds (329973760 bytes)
[ 333.489409] tcrypt:
[ 333.489409] testing speed of multibuffer ecb(des) (ecb-des-al) decryption
[ 333.498474] tcrypt: test 0 (64 bit key, 16 byte blocks): 89080 operations in 1 seconds (1425280 bytes)
[ 334.498657] tcrypt: test 1 (64 bit key, 64 byte blocks): 251496 operations in 1 seconds (16095744 bytes)
[ 335.498700] tcrypt: test 2 (64 bit key, 256 byte blocks): 243288 operations in 1 seconds (62281728 bytes)
[ 336.498810] tcrypt: test 3 (64 bit key, 1024 byte blocks): 212968 operations in 1 seconds (218079232 bytes)
[ 337.498958] tcrypt: test 4 (64 bit key, 1472 byte blocks): 181400 operations in 1 seconds (267020800 bytes)
[ 338.498956] tcrypt: test 5 (64 bit key, 8192 byte blocks): 40792 operations in 1 seconds (334168064 bytes)
[ 339.499234] tcrypt:
[ 339.499234] testing speed of multibuffer cbc(des) (cbc-des-al) encryption
[ 339.508180] tcrypt: test 0 (64 bit key, 16 byte blocks): 85840 operations in 1 seconds (1373440 bytes)
[ 340.508647] tcrypt: test 1 (64 bit key, 64 byte blocks): 133576 operations in 1 seconds (8548864 bytes)
[ 341.508735] tcrypt: test 2 (64 bit key, 256 byte blocks): 218624 operations in 1 seconds (55967744 bytes)
[ 342.508792] tcrypt: test 3 (64 bit key, 1024 byte blocks): 194312 operations in 1 seconds (198975488 bytes)
[ 343.508971] tcrypt: test 4 (64 bit key, 1472 byte blocks): 122096 operations in 1 seconds (179725312 bytes)
[ 344.509058] tcrypt: test 5 (64 bit key, 8192 byte blocks): 40056 operations in 1 seconds (328138752 bytes)
[ 345.509427] tcrypt:
[ 345.509427] testing speed of multibuffer cbc(des) (cbc-des-al) decryption
[ 345.518493] tcrypt: test 0 (64 bit key, 16 byte blocks): 168088 operations in 1 seconds (2689408 bytes)
[ 346.518619] tcrypt: test 1 (64 bit key, 64 byte blocks): 177728 operations in 1 seconds (11374592 bytes)
[ 347.518737] tcrypt: test 2 (64 bit key, 256 byte blocks): 179616 operations in 1 seconds (45981696 bytes)
[ 348.518786] tcrypt: test 3 (64 bit key, 1024 byte blocks): 175728 operations in 1 seconds (179945472 bytes)
[ 349.519002] tcrypt: test 4 (64 bit key, 1472 byte blocks): 165208 operations in 1 seconds (243186176 bytes)
[ 350.518975] tcrypt: test 5 (64 bit key, 8192 byte blocks): 40200 operations in 1 seconds (329318400 bytes)
[ 351.524666] tcrypt: failed to load transform for cfb(des): -2
[ 351.535649] tcrypt: failed to load transform for cfb(des): -2
[ 351.546639] tcrypt: failed to load transform for ofb(des): -2
[ 351.557451] tcrypt: failed to load transform for ofb(des): -2
modprobe: ERROR: could not insert 'tcrypt': Resource temporarily unavailable