diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-09-25 23:01:32 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-09-25 23:26:35 +0200 |
commit | a91f2d36b5819c4f76d513ffbc5e3344b796b5f4 (patch) | |
tree | 2ee1a93cbf73a915570f5d5c703c53a6e4e315ca /src/crypto/zinc/poly1305/poly1305.c | |
parent | poly1305-arm: swap endianness in base 2^26 conversion (diff) | |
download | wireguard-monolithic-historical-a91f2d36b5819c4f76d513ffbc5e3344b796b5f4.tar.xz wireguard-monolithic-historical-a91f2d36b5819c4f76d513ffbc5e3344b796b5f4.zip |
crypto: rename DEBUG to SELFTEST
Also we make selftest errors of type err, so that they're obvious in
dmesg.
Diffstat (limited to 'src/crypto/zinc/poly1305/poly1305.c')
-rw-r--r-- | src/crypto/zinc/poly1305/poly1305.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/zinc/poly1305/poly1305.c b/src/crypto/zinc/poly1305/poly1305.c index f64b501..d094ca7 100644 --- a/src/crypto/zinc/poly1305/poly1305.c +++ b/src/crypto/zinc/poly1305/poly1305.c @@ -146,7 +146,7 @@ static int __init mod_init(void) { if (!nosimd) poly1305_fpu_init(); -#ifdef DEBUG +#ifdef CONFIG_ZINC_SELFTEST if (!poly1305_selftest()) return -ENOTRECOVERABLE; #endif |