summaryrefslogtreecommitdiff
path: root/lib/libcrypto/modes
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-04-16 08:14:35 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-04-16 08:14:35 +0000
commit3d513bdf685b9829d26ff247e43a4ce672778f9d (patch)
treef11fa03e6ab783ebacf7678822f619e4b73dccb0 /lib/libcrypto/modes
parenta2af0d5105c528653f987bbe515a3c48ef31a60f (diff)
Cipher text stealing will go away. Mark it for removal.
ok jsing
Diffstat (limited to 'lib/libcrypto/modes')
-rw-r--r--lib/libcrypto/modes/modes.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libcrypto/modes/modes.h b/lib/libcrypto/modes/modes.h
index 67ec7518d62..3c9557ebeb4 100644
--- a/lib/libcrypto/modes/modes.h
+++ b/lib/libcrypto/modes/modes.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: modes.h,v 1.3 2018/07/24 10:47:19 bcook Exp $ */
+/* $OpenBSD: modes.h,v 1.4 2023/04/16 08:14:34 tb Exp $ */
/* ====================================================================
* Copyright (c) 2008 The OpenSSL Project. All rights reserved.
*
@@ -63,6 +63,7 @@ void CRYPTO_cfb128_1_encrypt(const unsigned char *in, unsigned char *out,
unsigned char ivec[16], int *num,
int enc, block128_f block);
+#if !defined(LIBRESSL_NEXT_API) || defined(LIBRESSL_INTERNAL)
size_t CRYPTO_cts128_encrypt_block(const unsigned char *in, unsigned char *out,
size_t len, const void *key,
unsigned char ivec[16], block128_f block);
@@ -88,6 +89,7 @@ size_t CRYPTO_nistcts128_decrypt_block(const unsigned char *in, unsigned char *o
size_t CRYPTO_nistcts128_decrypt(const unsigned char *in, unsigned char *out,
size_t len, const void *key,
unsigned char ivec[16], cbc128_f cbc);
+#endif
typedef struct gcm128_context GCM128_CONTEXT;