]>
git.ipfire.org Git - thirdparty/openssl.git/blob - include/openssl/rc4.h
2 * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
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
11 # define OPENSSL_RC4_H
14 # include <openssl/macros.h>
15 # ifndef OPENSSL_NO_DEPRECATED_3_0
19 # include <openssl/opensslconf.h>
21 # ifndef OPENSSL_NO_RC4
27 # ifndef OPENSSL_NO_DEPRECATED_3_0
28 typedef struct rc4_key_st
{
33 # ifndef OPENSSL_NO_DEPRECATED_3_0
34 OSSL_DEPRECATEDIN_3_0
const char *RC4_options(void);
35 OSSL_DEPRECATEDIN_3_0
void RC4_set_key(RC4_KEY
*key
, int len
,
36 const unsigned char *data
);
37 OSSL_DEPRECATEDIN_3_0
void RC4(RC4_KEY
*key
, size_t len
,
38 const unsigned char *indata
,
39 unsigned char *outdata
);