Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/sodium
File: randombytes.h
[0] Fix | Delete
#ifndef randombytes_H
[1] Fix | Delete
#define randombytes_H
[2] Fix | Delete
[3] Fix | Delete
#include <stddef.h>
[4] Fix | Delete
#include <stdint.h>
[5] Fix | Delete
[6] Fix | Delete
#include <sys/types.h>
[7] Fix | Delete
[8] Fix | Delete
#include "export.h"
[9] Fix | Delete
[10] Fix | Delete
#ifdef __cplusplus
[11] Fix | Delete
# ifdef __GNUC__
[12] Fix | Delete
# pragma GCC diagnostic ignored "-Wlong-long"
[13] Fix | Delete
# endif
[14] Fix | Delete
extern "C" {
[15] Fix | Delete
#endif
[16] Fix | Delete
[17] Fix | Delete
typedef struct randombytes_implementation {
[18] Fix | Delete
const char *(*implementation_name)(void); /* required */
[19] Fix | Delete
uint32_t (*random)(void); /* required */
[20] Fix | Delete
void (*stir)(void); /* optional */
[21] Fix | Delete
uint32_t (*uniform)(const uint32_t upper_bound); /* optional, a default implementation will be used if NULL */
[22] Fix | Delete
void (*buf)(void * const buf, const size_t size); /* required */
[23] Fix | Delete
int (*close)(void); /* optional */
[24] Fix | Delete
} randombytes_implementation;
[25] Fix | Delete
[26] Fix | Delete
#define randombytes_BYTES_MAX SODIUM_MIN(SODIUM_SIZE_MAX, 0xffffffffUL)
[27] Fix | Delete
[28] Fix | Delete
#define randombytes_SEEDBYTES 32U
[29] Fix | Delete
SODIUM_EXPORT
[30] Fix | Delete
size_t randombytes_seedbytes(void);
[31] Fix | Delete
[32] Fix | Delete
SODIUM_EXPORT
[33] Fix | Delete
void randombytes_buf(void * const buf, const size_t size)
[34] Fix | Delete
__attribute__ ((nonnull));
[35] Fix | Delete
[36] Fix | Delete
SODIUM_EXPORT
[37] Fix | Delete
void randombytes_buf_deterministic(void * const buf, const size_t size,
[38] Fix | Delete
const unsigned char seed[randombytes_SEEDBYTES])
[39] Fix | Delete
__attribute__ ((nonnull));
[40] Fix | Delete
[41] Fix | Delete
SODIUM_EXPORT
[42] Fix | Delete
uint32_t randombytes_random(void);
[43] Fix | Delete
[44] Fix | Delete
SODIUM_EXPORT
[45] Fix | Delete
uint32_t randombytes_uniform(const uint32_t upper_bound);
[46] Fix | Delete
[47] Fix | Delete
SODIUM_EXPORT
[48] Fix | Delete
void randombytes_stir(void);
[49] Fix | Delete
[50] Fix | Delete
SODIUM_EXPORT
[51] Fix | Delete
int randombytes_close(void);
[52] Fix | Delete
[53] Fix | Delete
SODIUM_EXPORT
[54] Fix | Delete
int randombytes_set_implementation(randombytes_implementation *impl)
[55] Fix | Delete
__attribute__ ((nonnull));
[56] Fix | Delete
[57] Fix | Delete
SODIUM_EXPORT
[58] Fix | Delete
const char *randombytes_implementation_name(void);
[59] Fix | Delete
[60] Fix | Delete
/* -- NaCl compatibility interface -- */
[61] Fix | Delete
[62] Fix | Delete
SODIUM_EXPORT
[63] Fix | Delete
void randombytes(unsigned char * const buf, const unsigned long long buf_len)
[64] Fix | Delete
__attribute__ ((nonnull));
[65] Fix | Delete
[66] Fix | Delete
#ifdef __cplusplus
[67] Fix | Delete
}
[68] Fix | Delete
#endif
[69] Fix | Delete
[70] Fix | Delete
#endif
[71] Fix | Delete
[72] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function