VirtualBox

source: vbox/trunk/src/libs/openssl-3.3.2/include/internal/ssl3_cbc.h

Last change on this file was 108206, checked in by vboxsync, 3 months ago

openssl-3.3.2: Exported all files to OSE and removed .scm-settings ​bugref:10757

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.8 KB
Line 
1/*
2 * Copyright 2022-2023 The OpenSSL Project Authors. All Rights Reserved.
3 *
4 * Licensed under the Apache License 2.0 (the "License"). You may not use
5 * this file except in compliance with the License. You can obtain a copy
6 * in the file LICENSE in the source distribution or at
7 * https://www.openssl.org/source/license.html
8 */
9
10#include <openssl/evp.h>
11
12/* tls_pad.c */
13int ssl3_cbc_remove_padding_and_mac(size_t *reclen,
14 size_t origreclen,
15 unsigned char *recdata,
16 unsigned char **mac,
17 int *alloced,
18 size_t block_size, size_t mac_size,
19 OSSL_LIB_CTX *libctx);
20
21int tls1_cbc_remove_padding_and_mac(size_t *reclen,
22 size_t origreclen,
23 unsigned char *recdata,
24 unsigned char **mac,
25 int *alloced,
26 size_t block_size, size_t mac_size,
27 int aead,
28 OSSL_LIB_CTX *libctx);
29
30/* ssl3_cbc.c */
31__owur char ssl3_cbc_record_digest_supported(const EVP_MD_CTX *ctx);
32__owur int ssl3_cbc_digest_record(const EVP_MD *md,
33 unsigned char *md_out,
34 size_t *md_out_size,
35 const unsigned char *header,
36 const unsigned char *data,
37 size_t data_size,
38 size_t data_plus_mac_plus_padding_size,
39 const unsigned char *mac_secret,
40 size_t mac_secret_length, char is_sslv3);
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette