From 83302dd1ef6afe33b0babbfe79a889ff62ed351d Mon Sep 17 00:00:00 2001 From: tb Date: Sun, 16 Apr 2023 08:14:34 +0000 Subject: [PATCH] Cipher text stealing will go away. Mark it for removal. ok jsing --- lib/libcrypto/modes/modes.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- 2.20.1