aboutsummaryrefslogtreecommitdiff
path: root/lib/random/chacha.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-08-23 18:20:43 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-08-23 18:20:43 -0400
commita4b8ef38b1d7a26b4e6bfa966f021a237bf16ce1 (patch)
treea4137025b4096749341513f44c12d381ceb636bf /lib/random/chacha.h
parentecf08ab61fe49101b6c769badf362d21d8699df4 (diff)
Lots of cleanups
Diffstat (limited to 'lib/random/chacha.h')
-rw-r--r--lib/random/chacha.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/random/chacha.h b/lib/random/chacha.h
index 4b1283ed..b803c24a 100644
--- a/lib/random/chacha.h
+++ b/lib/random/chacha.h
@@ -86,7 +86,7 @@ chacha_encrypt_bytes(chacha_ctx *chacha, const u8 *m, u8 *c, u32 bytes)
{
u32 x0, x1, x2, x3, x4, x5, x6, x7, x8, x9, x10, x11, x12, x13, x14, x15;
u32 j0, j1, j2, j3, j4, j5, j6, j7, j8, j9, j10, j11, j12, j13, j14, j15;
- u8 *ctarget = NULL;
+ u8 *ctarget = (u8*)0;
u8 tmp[64];
unsigned int i;