From 10902c56405f73614ab4f4cbf4961639fa9206aa Mon Sep 17 00:00:00 2001 From: Matthias Schulz <140500342+mschulz-at-hilscher@users.noreply.github.com> Date: Fri, 9 Feb 2024 11:14:50 +0100 Subject: [PATCH] Use NULL for pointer initialization Co-authored-by: Dave Rodgman Signed-off-by: Matthias Schulz <140500342+mschulz-at-hilscher@users.noreply.github.com> --- library/gcm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/gcm.c b/library/gcm.c index fc03acd6e..d7acacedb 100644 --- a/library/gcm.c +++ b/library/gcm.c @@ -304,7 +304,7 @@ static void gcm_mult_smalltable(uint8_t *output, const uint8_t *x, uint64_t H[16 int i = 0; unsigned char lo, hi, rem; uint64_t u64z[2]; - const uint64_t *pu64z = 0; + const uint64_t *pu64z = NULL; uint8_t *u8z = (uint8_t *) u64z; lo = x[15] & 0xf;