1
0
mirror of https://github.com/ARMmbed/mbedtls.git synced 2025-05-10 00:49:04 +08:00

Merge pull request #7920 from daverodgman/gcm-size

This commit is contained in:
Dave Rodgman 2023-07-13 19:32:07 +01:00 committed by GitHub
commit 63a21f4cda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -174,7 +174,7 @@ int mbedtls_gcm_setkey(mbedtls_gcm_context *ctx,
* last4[x] = x times P^128 * last4[x] = x times P^128
* where x and last4[x] are seen as elements of GF(2^128) as in [MGV] * where x and last4[x] are seen as elements of GF(2^128) as in [MGV]
*/ */
static const uint64_t last4[16] = static const uint16_t last4[16] =
{ {
0x0000, 0x1c20, 0x3840, 0x2460, 0x0000, 0x1c20, 0x3840, 0x2460,
0x7080, 0x6ca0, 0x48c0, 0x54e0, 0x7080, 0x6ca0, 0x48c0, 0x54e0,