summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/modes/ctr128.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/modes/ctr128.c')
-rw-r--r--src/lib/libcrypto/modes/ctr128.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/modes/ctr128.c b/src/lib/libcrypto/modes/ctr128.c
index 7ba68a9c4c..6d507dfc3a 100644
--- a/src/lib/libcrypto/modes/ctr128.c
+++ b/src/lib/libcrypto/modes/ctr128.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ctr128.c,v 1.10 2023/07/08 14:55:36 beck Exp $ */ 1/* $OpenBSD: ctr128.c,v 1.11 2023/07/08 14:56:54 beck Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright (c) 2008 The OpenSSL Project. All rights reserved. 3 * Copyright (c) 2008 The OpenSSL Project. All rights reserved.
4 * 4 *
@@ -179,6 +179,7 @@ CRYPTO_ctr128_encrypt(const unsigned char *in, unsigned char *out,
179 179
180 *num = n; 180 *num = n;
181} 181}
182LCRYPTO_ALIAS(CRYPTO_ctr128_encrypt);
182 183
183/* increment upper 96 bits of 128-bit counter by 1 */ 184/* increment upper 96 bits of 128-bit counter by 1 */
184static void 185static void
@@ -263,3 +264,4 @@ CRYPTO_ctr128_encrypt_ctr32(const unsigned char *in, unsigned char *out,
263 264
264 *num = n; 265 *num = n;
265} 266}
267LCRYPTO_ALIAS(CRYPTO_ctr128_encrypt_ctr32);