aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'crypto')
-rw-r--r--crypto/testmgr.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/testmgr.c b/crypto/testmgr.c
index fd31cfa872fb..09f2f0f582bf 100644
--- a/crypto/testmgr.c
+++ b/crypto/testmgr.c
@@ -671,6 +671,8 @@ static int __test_aead(struct crypto_aead *tfm, int enc,
for (i = 0, j = 0; i < tcount; i++) {
if (template[i].np)
continue;
+ if (enc && template[i].novrfy)
+ continue;
j++;
@@ -787,6 +789,9 @@ static int __test_aead(struct crypto_aead *tfm, int enc,
if (!template[i].np)
continue;
+ if (enc && template[i].novrfy)
+ continue;
+
j++;
if (template[i].iv)