summaryrefslogtreecommitdiff
path: root/providers/implementations/ciphers/ciphercommon_block.c
diff options
context:
space:
mode:
Diffstat (limited to 'providers/implementations/ciphers/ciphercommon_block.c')
-rw-r--r--providers/implementations/ciphers/ciphercommon_block.c19
1 files changed, 1 insertions, 18 deletions
diff --git a/providers/implementations/ciphers/ciphercommon_block.c b/providers/implementations/ciphers/ciphercommon_block.c
index 2ac23bf0ce..ccc3dfb2d7 100644
--- a/providers/implementations/ciphers/ciphercommon_block.c
+++ b/providers/implementations/ciphers/ciphercommon_block.c
@@ -13,26 +13,9 @@
#include <openssl/rand.h>
#include <openssl/proverr.h>
#include "internal/constant_time.h"
+#include "internal/ssl3_cbc.h"
#include "ciphercommon_local.h"
-/* Functions defined in ssl/tls_pad.c */
-int ssl3_cbc_remove_padding_and_mac(size_t *reclen,
- size_t origreclen,
- unsigned char *recdata,
- unsigned char **mac,
- int *alloced,
- size_t block_size, size_t mac_size,
- OSSL_LIB_CTX *libctx);
-
-int tls1_cbc_remove_padding_and_mac(size_t *reclen,
- size_t origreclen,
- unsigned char *recdata,
- unsigned char **mac,
- int *alloced,
- size_t block_size, size_t mac_size,
- int aead,
- OSSL_LIB_CTX *libctx);
-
/*
* Fills a single block of buffered data from the input, and returns the amount
* of data remaining in the input that is a multiple of the blocksize. The buffer