diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/modes/ccm128.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/modes/ccm128.c b/src/lib/libcrypto/modes/ccm128.c index c4df198c0b..e27681ee62 100644 --- a/src/lib/libcrypto/modes/ccm128.c +++ b/src/lib/libcrypto/modes/ccm128.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ccm128.c,v 1.11 2025/05/18 09:05:59 jsing Exp $ */ | 1 | /* $OpenBSD: ccm128.c,v 1.12 2025/05/18 09:21:29 bcook Exp $ */ |
| 2 | /* ==================================================================== | 2 | /* ==================================================================== |
| 3 | * Copyright (c) 2011 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2011 The OpenSSL Project. All rights reserved. |
| 4 | * | 4 | * |
| @@ -230,8 +230,8 @@ CRYPTO_ccm128_encrypt(CCM128_CONTEXT *ctx, | |||
| 230 | temp.u[1] ^= scratch.u[1]; | 230 | temp.u[1] ^= scratch.u[1]; |
| 231 | memcpy(out, temp.c, 16); | 231 | memcpy(out, temp.c, 16); |
| 232 | #else | 232 | #else |
| 233 | ((uint64_t *)out)[0] = scratch.u[0] ^ ((u64 *)inp)[0]; | 233 | ((uint64_t *)out)[0] = scratch.u[0] ^ ((uint64_t *)inp)[0]; |
| 234 | ((uint64_t *)out)[1] = scratch.u[1] ^ ((u64 *)inp)[1]; | 234 | ((uint64_t *)out)[1] = scratch.u[1] ^ ((uint64_t *)inp)[1]; |
| 235 | #endif | 235 | #endif |
| 236 | inp += 16; | 236 | inp += 16; |
| 237 | out += 16; | 237 | out += 16; |
