Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/AnonR/anonr.TX.../usr/include/sodium
File: crypto_stream_salsa208.h
#ifndef crypto_stream_salsa208_H
[0] Fix | Delete
#define crypto_stream_salsa208_H
[1] Fix | Delete
[2] Fix | Delete
/*
[3] Fix | Delete
* WARNING: This is just a stream cipher. It is NOT authenticated encryption.
[4] Fix | Delete
* While it provides some protection against eavesdropping, it does NOT
[5] Fix | Delete
* provide any security against active attacks.
[6] Fix | Delete
* Unless you know what you're doing, what you are looking for is probably
[7] Fix | Delete
* the crypto_box functions.
[8] Fix | Delete
*/
[9] Fix | Delete
[10] Fix | Delete
#include <stddef.h>
[11] Fix | Delete
#include "export.h"
[12] Fix | Delete
[13] Fix | Delete
#ifdef __cplusplus
[14] Fix | Delete
# ifdef __GNUC__
[15] Fix | Delete
# pragma GCC diagnostic ignored "-Wlong-long"
[16] Fix | Delete
# endif
[17] Fix | Delete
extern "C" {
[18] Fix | Delete
#endif
[19] Fix | Delete
[20] Fix | Delete
#define crypto_stream_salsa208_KEYBYTES 32U
[21] Fix | Delete
SODIUM_EXPORT
[22] Fix | Delete
size_t crypto_stream_salsa208_keybytes(void)
[23] Fix | Delete
__attribute__ ((deprecated));
[24] Fix | Delete
[25] Fix | Delete
#define crypto_stream_salsa208_NONCEBYTES 8U
[26] Fix | Delete
SODIUM_EXPORT
[27] Fix | Delete
size_t crypto_stream_salsa208_noncebytes(void)
[28] Fix | Delete
__attribute__ ((deprecated));
[29] Fix | Delete
[30] Fix | Delete
#define crypto_stream_salsa208_MESSAGEBYTES_MAX SODIUM_SIZE_MAX
[31] Fix | Delete
SODIUM_EXPORT
[32] Fix | Delete
size_t crypto_stream_salsa208_messagebytes_max(void)
[33] Fix | Delete
__attribute__ ((deprecated));
[34] Fix | Delete
[35] Fix | Delete
SODIUM_EXPORT
[36] Fix | Delete
int crypto_stream_salsa208(unsigned char *c, unsigned long long clen,
[37] Fix | Delete
const unsigned char *n, const unsigned char *k)
[38] Fix | Delete
__attribute__ ((deprecated)) __attribute__ ((nonnull));
[39] Fix | Delete
[40] Fix | Delete
SODIUM_EXPORT
[41] Fix | Delete
int crypto_stream_salsa208_xor(unsigned char *c, const unsigned char *m,
[42] Fix | Delete
unsigned long long mlen, const unsigned char *n,
[43] Fix | Delete
const unsigned char *k)
[44] Fix | Delete
__attribute__ ((deprecated)) __attribute__ ((nonnull));
[45] Fix | Delete
[46] Fix | Delete
SODIUM_EXPORT
[47] Fix | Delete
void crypto_stream_salsa208_keygen(unsigned char k[crypto_stream_salsa208_KEYBYTES])
[48] Fix | Delete
__attribute__ ((deprecated)) __attribute__ ((nonnull));
[49] Fix | Delete
[50] Fix | Delete
#ifdef __cplusplus
[51] Fix | Delete
}
[52] Fix | Delete
#endif
[53] Fix | Delete
[54] Fix | Delete
#endif
[55] Fix | Delete
[56] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function