VirtualBox

source: vbox/trunk/src/libs/openssl-3.0.7/include/openssl/rc4.h@ 97851

最後變更 在這個檔案從97851是 94082,由 vboxsync 提交於 3 年 前

libs/openssl-3.0.1: started applying and adjusting our OpenSSL changes to 3.0.1. bugref:10128

檔案大小: 1.2 KB
 
1/*
2 * Copyright 1995-2020 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#ifndef OPENSSL_RC4_H
11# define OPENSSL_RC4_H
12# pragma once
13
14# include <openssl/macros.h>
15# ifndef OPENSSL_NO_DEPRECATED_3_0
16# define HEADER_RC4_H
17# endif
18
19# include <openssl/opensslconf.h>
20
21# ifndef OPENSSL_NO_RC4
22# include <stddef.h>
23# ifdef __cplusplus
24extern "C" {
25# endif
26
27# ifndef OPENSSL_NO_DEPRECATED_3_0
28typedef struct rc4_key_st {
29 RC4_INT x, y;
30 RC4_INT data[256];
31} RC4_KEY;
32# endif
33# ifndef OPENSSL_NO_DEPRECATED_3_0
34OSSL_DEPRECATEDIN_3_0 const char *RC4_options(void);
35OSSL_DEPRECATEDIN_3_0 void RC4_set_key(RC4_KEY *key, int len,
36 const unsigned char *data);
37OSSL_DEPRECATEDIN_3_0 void RC4(RC4_KEY *key, size_t len,
38 const unsigned char *indata,
39 unsigned char *outdata);
40# endif
41
42# ifdef __cplusplus
43}
44# endif
45# endif
46
47#endif
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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