Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/openssl
File: whrlpool.h
/*
[0] Fix | Delete
* Copyright 2005-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_WHRLPOOL_H
[9] Fix | Delete
# define HEADER_WHRLPOOL_H
[10] Fix | Delete
[11] Fix | Delete
#include <openssl/opensslconf.h>
[12] Fix | Delete
[13] Fix | Delete
# ifndef OPENSSL_NO_WHIRLPOOL
[14] Fix | Delete
# include <openssl/e_os2.h>
[15] Fix | Delete
# include <stddef.h>
[16] Fix | Delete
# ifdef __cplusplus
[17] Fix | Delete
extern "C" {
[18] Fix | Delete
# endif
[19] Fix | Delete
[20] Fix | Delete
# define WHIRLPOOL_DIGEST_LENGTH (512/8)
[21] Fix | Delete
# define WHIRLPOOL_BBLOCK 512
[22] Fix | Delete
# define WHIRLPOOL_COUNTER (256/8)
[23] Fix | Delete
[24] Fix | Delete
typedef struct {
[25] Fix | Delete
union {
[26] Fix | Delete
unsigned char c[WHIRLPOOL_DIGEST_LENGTH];
[27] Fix | Delete
/* double q is here to ensure 64-bit alignment */
[28] Fix | Delete
double q[WHIRLPOOL_DIGEST_LENGTH / sizeof(double)];
[29] Fix | Delete
} H;
[30] Fix | Delete
unsigned char data[WHIRLPOOL_BBLOCK / 8];
[31] Fix | Delete
unsigned int bitoff;
[32] Fix | Delete
size_t bitlen[WHIRLPOOL_COUNTER / sizeof(size_t)];
[33] Fix | Delete
} WHIRLPOOL_CTX;
[34] Fix | Delete
[35] Fix | Delete
int WHIRLPOOL_Init(WHIRLPOOL_CTX *c);
[36] Fix | Delete
int WHIRLPOOL_Update(WHIRLPOOL_CTX *c, const void *inp, size_t bytes);
[37] Fix | Delete
void WHIRLPOOL_BitUpdate(WHIRLPOOL_CTX *c, const void *inp, size_t bits);
[38] Fix | Delete
int WHIRLPOOL_Final(unsigned char *md, WHIRLPOOL_CTX *c);
[39] Fix | Delete
unsigned char *WHIRLPOOL(const void *inp, size_t bytes, unsigned char *md);
[40] Fix | Delete
[41] Fix | Delete
# ifdef __cplusplus
[42] Fix | Delete
}
[43] Fix | Delete
# endif
[44] Fix | Delete
# endif
[45] Fix | Delete
[46] Fix | Delete
#endif
[47] Fix | Delete
[48] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function