From a91f2d36b5819c4f76d513ffbc5e3344b796b5f4 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Tue, 25 Sep 2018 23:01:32 +0200 Subject: crypto: rename DEBUG to SELFTEST Also we make selftest errors of type err, so that they're obvious in dmesg. --- src/crypto/zinc/chacha20/chacha20.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/crypto/zinc/chacha20/chacha20.c') diff --git a/src/crypto/zinc/chacha20/chacha20.c b/src/crypto/zinc/chacha20/chacha20.c index dc9770b..2f576d6 100644 --- a/src/crypto/zinc/chacha20/chacha20.c +++ b/src/crypto/zinc/chacha20/chacha20.c @@ -170,7 +170,7 @@ static int __init mod_init(void) { if (!nosimd) chacha20_fpu_init(); -#ifdef DEBUG +#ifdef CONFIG_ZINC_SELFTEST if (!chacha20_selftest()) return -ENOTRECOVERABLE; #endif -- cgit v1.2.3-59-g8ed1b