Is it possible to use the DCP with tcrypt driver?
Using this setting it appears to pass the test, but the driver still will not load because it claims the resource is temporarily unavailable:
bash# modprobe tcrypt sec=2 mode=404 dyndbg
[ 3219.925261]
[ 3219.925261] testing speed of async sha256 (sha256-dcp)
[ 3219.932464] tcrypt: test 0 ( 16 byte blocks, 16 bytes per update, 1 updates):
[ 3221.925646] 29932 opers/sec, 478912 bytes/sec
[ 3221.938307] tcrypt: test 1 ( 64 byte blocks, 16 bytes per update, 4 updates): 74192 opers/sec, 4748288 bytes/sec
[ 3223.946755] tcrypt: test 2 ( 64 byte blocks, 64 bytes per update, 1 updates):
[ 3225.945641] 29919 opers/sec, 1914816 bytes/sec
[ 3225.958263] tcrypt: test 3 ( 256 byte blocks, 16 bytes per update, 16 updates): 67453 opers/sec, 17267968 bytes/sec
[ 3227.966760] tcrypt: test 4 ( 256 byte blocks, 64 bytes per update, 4 updates): 75977 opers/sec, 19450240 bytes/sec
[ 3229.976746] tcrypt: test 5 ( 256 byte blocks, 256 bytes per update, 1 updates):
[ 3231.975629] 27294 opers/sec, 6987392 bytes/sec
[ 3231.988251] tcrypt: test 6 ( 1024 byte blocks, 16 bytes per update, 64 updates): 65168 opers/sec, 66732544 bytes/sec
[ 3233.996737] tcrypt: test 7 ( 1024 byte blocks, 256 bytes per update, 4 updates): 76009 opers/sec, 77833216 bytes/sec
[ 3236.006749] tcrypt: test 8 ( 1024 byte blocks, 1024 bytes per update, 1 updates):
[ 3238.005637] 20238 opers/sec, 20723712 bytes/sec
[ 3238.018397] tcrypt: test 9 ( 2048 byte blocks, 16 bytes per update, 128 updates): 53336 opers/sec, 109233152 bytes/sec
[ 3240.026767] tcrypt: test 10 ( 2048 byte blocks, 256 bytes per update, 8 updates): 73109 opers/sec, 149727232 bytes/sec
[ 3242.036755] tcrypt: test 11 ( 2048 byte blocks, 1024 bytes per update, 2 updates): 78156 opers/sec, 160064512 bytes/sec
[ 3244.046780] tcrypt: test 12 ( 2048 byte blocks, 2048 bytes per update, 1 updates):
[ 3246.045667] 14053 opers/sec, 28781568 bytes/sec
[ 3246.058311] tcrypt: test 13 ( 4096 byte blocks, 16 bytes per update, 256 updates): 38731 opers/sec, 158644224 bytes/sec
[ 3248.066851] tcrypt: test 14 ( 4096 byte blocks, 256 bytes per update, 16 updates): 67951 opers/sec, 278327296 bytes/sec
[ 3250.076741] tcrypt: test 15 ( 4096 byte blocks, 1024 bytes per update, 4 updates): 74208 opers/sec, 303955968 bytes/sec
[ 3252.086740] tcrypt: test 16 ( 4096 byte blocks, 4096 bytes per update, 1 updates):
[ 3254.085665] 10614 opers/sec, 43474944 bytes/sec
[ 3254.098305] tcrypt: test 17 ( 8192 byte blocks, 16 bytes per update, 512 updates): 25365 opers/sec, 207794176 bytes/sec
[ 3256.106760] tcrypt: test 18 ( 8192 byte blocks, 256 bytes per update, 32 updates): 60040 opers/sec, 491847680 bytes/sec
[ 3258.116769] tcrypt: test 19 ( 8192 byte blocks, 1024 bytes per update, 8 updates): 73124 opers/sec, 599035904 bytes/sec
[ 3260.126859] tcrypt: test 20 ( 8192 byte blocks, 4096 bytes per update, 2 updates): 76350 opers/sec, 625463296 bytes/sec
[ 3262.136774] tcrypt: test 21 ( 8192 byte blocks, 8192 bytes per update, 1 updates):
[ 3264.135641] 5792 opers/sec, 47448064 bytes/sec
modprobe: ERROR: could not insert 'tcrypt': Resource temporarily unavailable