diff options
Diffstat (limited to 'crypto/testmgr.c')
-rw-r--r-- | crypto/testmgr.c | 5 |
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, | |||
671 | for (i = 0, j = 0; i < tcount; i++) { | 671 | for (i = 0, j = 0; i < tcount; i++) { |
672 | if (template[i].np) | 672 | if (template[i].np) |
673 | continue; | 673 | continue; |
674 | if (enc && template[i].novrfy) | ||
675 | continue; | ||
674 | 676 | ||
675 | j++; | 677 | j++; |
676 | 678 | ||
@@ -787,6 +789,9 @@ static int __test_aead(struct crypto_aead *tfm, int enc, | |||
787 | if (!template[i].np) | 789 | if (!template[i].np) |
788 | continue; | 790 | continue; |
789 | 791 | ||
792 | if (enc && template[i].novrfy) | ||
793 | continue; | ||
794 | |||
790 | j++; | 795 | j++; |
791 | 796 | ||
792 | if (template[i].iv) | 797 | if (template[i].iv) |