Blame include/openssl/rc4.h

Packit c4476c
/*
Packit c4476c
 * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
Packit c4476c
 *
Packit c4476c
 * Licensed under the OpenSSL license (the "License").  You may not use
Packit c4476c
 * this file except in compliance with the License.  You can obtain a copy
Packit c4476c
 * in the file LICENSE in the source distribution or at
Packit c4476c
 * https://www.openssl.org/source/license.html
Packit c4476c
 */
Packit c4476c
Packit c4476c
#ifndef HEADER_RC4_H
Packit c4476c
# define HEADER_RC4_H
Packit c4476c
Packit c4476c
# include <openssl/opensslconf.h>
Packit c4476c
Packit c4476c
# ifndef OPENSSL_NO_RC4
Packit c4476c
# include <stddef.h>
Packit c4476c
#ifdef  __cplusplus
Packit c4476c
extern "C" {
Packit c4476c
#endif
Packit c4476c
Packit c4476c
typedef struct rc4_key_st {
Packit c4476c
    RC4_INT x, y;
Packit c4476c
    RC4_INT data[256];
Packit c4476c
} RC4_KEY;
Packit c4476c
Packit c4476c
const char *RC4_options(void);
Packit c4476c
void RC4_set_key(RC4_KEY *key, int len, const unsigned char *data);
Packit c4476c
void RC4(RC4_KEY *key, size_t len, const unsigned char *indata,
Packit c4476c
         unsigned char *outdata);
Packit c4476c
Packit c4476c
# ifdef  __cplusplus
Packit c4476c
}
Packit c4476c
# endif
Packit c4476c
# endif
Packit c4476c
Packit c4476c
#endif