OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecc8bc8
)
crypto: tcrypt - add a speed test for AEGIS128
author
Ard Biesheuvel
<ard.biesheuvel@linaro.org>
Wed, 3 Jul 2019 08:55:12 +0000
(10:55 +0200)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Fri, 26 Jul 2019 05:03:59 +0000
(15:03 +1000)
Reviewed-by: Ondrej Mosnacek <omosnace@redhat.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/tcrypt.c
patch
|
blob
|
history
diff --git
a/crypto/tcrypt.c
b/crypto/tcrypt.c
index
ad78ab5
..
c578ccd
100644
(file)
--- a/
crypto/tcrypt.c
+++ b/
crypto/tcrypt.c
@@
-2327,6
+2327,13
@@
static int do_test(const char *alg, u32 type, u32 mask, int m, u32 num_mb)
0, speed_template_32);
break;
+ case 221:
+ test_aead_speed("aegis128", ENCRYPT, sec,
+ NULL, 0, 16, 8, speed_template_16);
+ test_aead_speed("aegis128", DECRYPT, sec,
+ NULL, 0, 16, 8, speed_template_16);
+ break;
+
case 300:
if (alg) {
test_hash_speed(alg, sec, generic_hash_speed_template);