Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/openssl
File: blowfish.h
/*
[0] Fix | Delete
* Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
[1] Fix | Delete
*
[2] Fix | Delete
* Licensed under the OpenSSL license (the "License"). You may not use
[3] Fix | Delete
* this file except in compliance with the License. You can obtain a copy
[4] Fix | Delete
* in the file LICENSE in the source distribution or at
[5] Fix | Delete
* https://www.openssl.org/source/license.html
[6] Fix | Delete
*/
[7] Fix | Delete
[8] Fix | Delete
#ifndef HEADER_BLOWFISH_H
[9] Fix | Delete
# define HEADER_BLOWFISH_H
[10] Fix | Delete
[11] Fix | Delete
# include <openssl/opensslconf.h>
[12] Fix | Delete
[13] Fix | Delete
# ifndef OPENSSL_NO_BF
[14] Fix | Delete
# include <openssl/e_os2.h>
[15] Fix | Delete
# ifdef __cplusplus
[16] Fix | Delete
extern "C" {
[17] Fix | Delete
# endif
[18] Fix | Delete
[19] Fix | Delete
# define BF_ENCRYPT 1
[20] Fix | Delete
# define BF_DECRYPT 0
[21] Fix | Delete
[22] Fix | Delete
/*-
[23] Fix | Delete
* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[24] Fix | Delete
* ! BF_LONG has to be at least 32 bits wide. !
[25] Fix | Delete
* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[26] Fix | Delete
*/
[27] Fix | Delete
# define BF_LONG unsigned int
[28] Fix | Delete
[29] Fix | Delete
# define BF_ROUNDS 16
[30] Fix | Delete
# define BF_BLOCK 8
[31] Fix | Delete
[32] Fix | Delete
typedef struct bf_key_st {
[33] Fix | Delete
BF_LONG P[BF_ROUNDS + 2];
[34] Fix | Delete
BF_LONG S[4 * 256];
[35] Fix | Delete
} BF_KEY;
[36] Fix | Delete
[37] Fix | Delete
void BF_set_key(BF_KEY *key, int len, const unsigned char *data);
[38] Fix | Delete
[39] Fix | Delete
void BF_encrypt(BF_LONG *data, const BF_KEY *key);
[40] Fix | Delete
void BF_decrypt(BF_LONG *data, const BF_KEY *key);
[41] Fix | Delete
[42] Fix | Delete
void BF_ecb_encrypt(const unsigned char *in, unsigned char *out,
[43] Fix | Delete
const BF_KEY *key, int enc);
[44] Fix | Delete
void BF_cbc_encrypt(const unsigned char *in, unsigned char *out, long length,
[45] Fix | Delete
const BF_KEY *schedule, unsigned char *ivec, int enc);
[46] Fix | Delete
void BF_cfb64_encrypt(const unsigned char *in, unsigned char *out,
[47] Fix | Delete
long length, const BF_KEY *schedule,
[48] Fix | Delete
unsigned char *ivec, int *num, int enc);
[49] Fix | Delete
void BF_ofb64_encrypt(const unsigned char *in, unsigned char *out,
[50] Fix | Delete
long length, const BF_KEY *schedule,
[51] Fix | Delete
unsigned char *ivec, int *num);
[52] Fix | Delete
const char *BF_options(void);
[53] Fix | Delete
[54] Fix | Delete
# ifdef __cplusplus
[55] Fix | Delete
}
[56] Fix | Delete
# endif
[57] Fix | Delete
# endif
[58] Fix | Delete
[59] Fix | Delete
#endif
[60] Fix | Delete
[61] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function