diff options
author | Gilad Ben-Yossef <gilad@benyossef.com> | 2017-04-25 10:25:40 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-05-18 07:19:48 +0200 |
commit | 981a2e3e45c554611316b6eb28d00204586637b3 (patch) | |
tree | 310e15245f40b98612e41bdbafce578ea9d7d1fc /crypto/aead.c | |
parent | crypto: skcipher - Add missing API setkey checks (diff) | |
download | linux-981a2e3e45c554611316b6eb28d00204586637b3.tar.xz linux-981a2e3e45c554611316b6eb28d00204586637b3.zip |
crypto: tcrypt - don't disable irqs and wait
The tcrypt AEAD cycles speed tests disables irqs during the test, which is
broken at the very least since commit
'1425d2d17f7309c6 ("crypto: tcrypt - Fix AEAD speed tests")'
adds a wait for completion as part of the test and probably since
switching to the new AEAD API.
While the result of taking a cycle count diff may not mean much on SMP
systems if the task migrates, it's good enough for tcrypt being the quick
& dirty dev tool it is. It's also what all the other (i.e. hash) cycle
speed tests do.
Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Reported-by: Ofir Drang <ofir.drang@arm.com>
Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/aead.c')
0 files changed, 0 insertions, 0 deletions