From 736a80f9ce7a73e8c136d3621facb1bdb3637e65 Mon Sep 17 00:00:00 2001 From: Toni Date: Wed, 2 Mar 2022 11:03:47 +0100 Subject: Fix libgcrypt(-light/-internal) compile error. (#1465) Signed-off-by: Toni Uhlig --- src/lib/third_party/src/gcrypt/gcm.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/lib/third_party/src/gcrypt/gcm.c b/src/lib/third_party/src/gcrypt/gcm.c index 6a24524e0..9b3ed1848 100644 --- a/src/lib/third_party/src/gcrypt/gcm.c +++ b/src/lib/third_party/src/gcrypt/gcm.c @@ -216,10 +216,10 @@ int mbedtls_gcm_setkey( mbedtls_gcm_context *ctx, */ static const uint64_t last4[16] = { - 0x0000UL << 48, 0x1c20UL << 48, 0x3840UL << 48, 0x2460UL << 48, - 0x7080UL << 48, 0x6ca0UL << 48, 0x48c0UL << 48, 0x54e0UL << 48, - 0xe100UL << 48, 0xfd20UL << 48, 0xd940UL << 48, 0xc560UL << 48, - 0x9180UL << 48, 0x8da0UL << 48, 0xa9c0UL << 48, 0xb5e0UL << 48 + 0x0000ULL << 48, 0x1c20ULL << 48, 0x3840ULL << 48, 0x2460ULL << 48, + 0x7080ULL << 48, 0x6ca0ULL << 48, 0x48c0ULL << 48, 0x54e0ULL << 48, + 0xe100ULL << 48, 0xfd20ULL << 48, 0xd940ULL << 48, 0xc560ULL << 48, + 0x9180ULL << 48, 0x8da0ULL << 48, 0xa9c0ULL << 48, 0xb5e0ULL << 48 }; /* -- cgit v1.2.3