Use NULL for pointer initialization

Co-authored-by: Dave Rodgman <dave.rodgman@arm.com>
Signed-off-by: Matthias Schulz <140500342+mschulz-at-hilscher@users.noreply.github.com>
This commit is contained in:
Matthias Schulz 2024-02-09 11:14:50 +01:00 committed by GitHub
parent cdf9894e60
commit 10902c5640
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -304,7 +304,7 @@ static void gcm_mult_smalltable(uint8_t *output, const uint8_t *x, uint64_t H[16
int i = 0; int i = 0;
unsigned char lo, hi, rem; unsigned char lo, hi, rem;
uint64_t u64z[2]; uint64_t u64z[2];
const uint64_t *pu64z = 0; const uint64_t *pu64z = NULL;
uint8_t *u8z = (uint8_t *) u64z; uint8_t *u8z = (uint8_t *) u64z;
lo = x[15] & 0xf; lo = x[15] & 0xf;