diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/modes/gcm128.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/modes/gcm128.c b/src/lib/libcrypto/modes/gcm128.c index ff9f047ec7..b980c7431f 100644 --- a/src/lib/libcrypto/modes/gcm128.c +++ b/src/lib/libcrypto/modes/gcm128.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: gcm128.c,v 1.29 2025/04/22 14:09:20 jsing Exp $ */ | 1 | /* $OpenBSD: gcm128.c,v 1.30 2025/04/23 10:58:48 jsing Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 2010 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2010 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -1060,8 +1060,8 @@ CRYPTO_gcm128_decrypt(GCM128_CONTEXT *ctx, | |||
1060 | ctx->Yi.d[3] = htobe32(ctr); | 1060 | ctx->Yi.d[3] = htobe32(ctr); |
1061 | 1061 | ||
1062 | for (i = 0; i < 16/sizeof(size_t); ++i) { | 1062 | for (i = 0; i < 16/sizeof(size_t); ++i) { |
1063 | size_t c = in[i]; | 1063 | size_t c = in_t[i]; |
1064 | out[i] = c ^ ctx->EKi.t[i]; | 1064 | out_t[i] = c ^ ctx->EKi.t[i]; |
1065 | ctx->Xi.t[i] ^= c; | 1065 | ctx->Xi.t[i] ^= c; |
1066 | } | 1066 | } |
1067 | GCM_MUL(ctx, Xi); | 1067 | GCM_MUL(ctx, Xi); |