File indexing completed on 2025-10-30 08:49:12
0001 
0002 
0003 
0004 
0005 
0006 
0007 
0008 
0009 
0010 #ifndef OPENSSL_RC4_H
0011 # define OPENSSL_RC4_H
0012 # pragma once
0013 
0014 # include <openssl/macros.h>
0015 # ifndef OPENSSL_NO_DEPRECATED_3_0
0016 #  define HEADER_RC4_H
0017 # endif
0018 
0019 # include <openssl/opensslconf.h>
0020 
0021 # ifndef OPENSSL_NO_RC4
0022 #  include <stddef.h>
0023 #  ifdef  __cplusplus
0024 extern "C" {
0025 #  endif
0026 
0027 #  ifndef OPENSSL_NO_DEPRECATED_3_0
0028 typedef struct rc4_key_st {
0029     RC4_INT x, y;
0030     RC4_INT data[256];
0031 } RC4_KEY;
0032 #  endif
0033 #  ifndef OPENSSL_NO_DEPRECATED_3_0
0034 OSSL_DEPRECATEDIN_3_0 const char *RC4_options(void);
0035 OSSL_DEPRECATEDIN_3_0 void RC4_set_key(RC4_KEY *key, int len,
0036                                        const unsigned char *data);
0037 OSSL_DEPRECATEDIN_3_0 void RC4(RC4_KEY *key, size_t len,
0038                                const unsigned char *indata,
0039                                unsigned char *outdata);
0040 #  endif
0041 
0042 #  ifdef  __cplusplus
0043 }
0044 #  endif
0045 # endif
0046 
0047 #endif