aboutsummaryrefslogtreecommitdiff
path: root/sys/crypto
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2025-12-30 12:46:20 +0000
committerDimitry Andric <dim@FreeBSD.org>2025-12-30 12:46:46 +0000
commit710ec409dffed3306ced253bba85dbdc7758510b (patch)
tree220806510ec7e41b2bbab9d7463b94b777d057a6 /sys/crypto
parent7685aaea8850f5b6995a17740a016019e0956c70 (diff)
Diffstat (limited to 'sys/crypto')
-rw-r--r--sys/crypto/chacha20/chacha.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/crypto/chacha20/chacha.c b/sys/crypto/chacha20/chacha.c
index cb06003b0ecf..0509b05cab22 100644
--- a/sys/crypto/chacha20/chacha.c
+++ b/sys/crypto/chacha20/chacha.c
@@ -50,8 +50,8 @@ typedef struct chacha_ctx chacha_ctx;
a = PLUS(a,b); d = ROTATE(XOR(d,a), 8); \
c = PLUS(c,d); b = ROTATE(XOR(b,c), 7);
-static const char sigma[16] = "expand 32-byte k";
-static const char tau[16] = "expand 16-byte k";
+static const char sigma[16] __nonstring = "expand 32-byte k";
+static const char tau[16] __nonstring = "expand 16-byte k";
LOCAL void
chacha_keysetup(chacha_ctx *x,const u8 *k,u32 kbits)