diff options
Diffstat (limited to 'src/crypto/zinc/chacha20')
-rw-r--r-- | src/crypto/zinc/chacha20/chacha20.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/zinc/chacha20/chacha20.c b/src/crypto/zinc/chacha20/chacha20.c index c767e02..e71e702 100644 --- a/src/crypto/zinc/chacha20/chacha20.c +++ b/src/crypto/zinc/chacha20/chacha20.c @@ -172,7 +172,7 @@ static int __init mod_init(void) if (!nosimd) chacha20_fpu_init(); #ifdef CONFIG_ZINC_SELFTEST - if (!chacha20_selftest()) + if (WARN_ON(!chacha20_selftest())) return -ENOTRECOVERABLE; #endif return 0; |