Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/AnonR/anonr.TX.../usr/include/sodium
File: crypto_kx.h
#ifndef crypto_kx_H
[0] Fix | Delete
#define crypto_kx_H
[1] Fix | Delete
[2] Fix | Delete
#include <stddef.h>
[3] Fix | Delete
[4] Fix | Delete
#include "export.h"
[5] Fix | Delete
[6] Fix | Delete
#ifdef __cplusplus
[7] Fix | Delete
# ifdef __GNUC__
[8] Fix | Delete
# pragma GCC diagnostic ignored "-Wlong-long"
[9] Fix | Delete
# endif
[10] Fix | Delete
extern "C" {
[11] Fix | Delete
#endif
[12] Fix | Delete
[13] Fix | Delete
#define crypto_kx_PUBLICKEYBYTES 32
[14] Fix | Delete
SODIUM_EXPORT
[15] Fix | Delete
size_t crypto_kx_publickeybytes(void);
[16] Fix | Delete
[17] Fix | Delete
#define crypto_kx_SECRETKEYBYTES 32
[18] Fix | Delete
SODIUM_EXPORT
[19] Fix | Delete
size_t crypto_kx_secretkeybytes(void);
[20] Fix | Delete
[21] Fix | Delete
#define crypto_kx_SEEDBYTES 32
[22] Fix | Delete
SODIUM_EXPORT
[23] Fix | Delete
size_t crypto_kx_seedbytes(void);
[24] Fix | Delete
[25] Fix | Delete
#define crypto_kx_SESSIONKEYBYTES 32
[26] Fix | Delete
SODIUM_EXPORT
[27] Fix | Delete
size_t crypto_kx_sessionkeybytes(void);
[28] Fix | Delete
[29] Fix | Delete
#define crypto_kx_PRIMITIVE "x25519blake2b"
[30] Fix | Delete
SODIUM_EXPORT
[31] Fix | Delete
const char *crypto_kx_primitive(void);
[32] Fix | Delete
[33] Fix | Delete
SODIUM_EXPORT
[34] Fix | Delete
int crypto_kx_seed_keypair(unsigned char pk[crypto_kx_PUBLICKEYBYTES],
[35] Fix | Delete
unsigned char sk[crypto_kx_SECRETKEYBYTES],
[36] Fix | Delete
const unsigned char seed[crypto_kx_SEEDBYTES])
[37] Fix | Delete
__attribute__ ((nonnull));
[38] Fix | Delete
[39] Fix | Delete
SODIUM_EXPORT
[40] Fix | Delete
int crypto_kx_keypair(unsigned char pk[crypto_kx_PUBLICKEYBYTES],
[41] Fix | Delete
unsigned char sk[crypto_kx_SECRETKEYBYTES])
[42] Fix | Delete
__attribute__ ((nonnull));
[43] Fix | Delete
[44] Fix | Delete
SODIUM_EXPORT
[45] Fix | Delete
int crypto_kx_client_session_keys(unsigned char rx[crypto_kx_SESSIONKEYBYTES],
[46] Fix | Delete
unsigned char tx[crypto_kx_SESSIONKEYBYTES],
[47] Fix | Delete
const unsigned char client_pk[crypto_kx_PUBLICKEYBYTES],
[48] Fix | Delete
const unsigned char client_sk[crypto_kx_SECRETKEYBYTES],
[49] Fix | Delete
const unsigned char server_pk[crypto_kx_PUBLICKEYBYTES])
[50] Fix | Delete
__attribute__ ((warn_unused_result)) __attribute__ ((nonnull(3, 4, 5)));
[51] Fix | Delete
[52] Fix | Delete
SODIUM_EXPORT
[53] Fix | Delete
int crypto_kx_server_session_keys(unsigned char rx[crypto_kx_SESSIONKEYBYTES],
[54] Fix | Delete
unsigned char tx[crypto_kx_SESSIONKEYBYTES],
[55] Fix | Delete
const unsigned char server_pk[crypto_kx_PUBLICKEYBYTES],
[56] Fix | Delete
const unsigned char server_sk[crypto_kx_SECRETKEYBYTES],
[57] Fix | Delete
const unsigned char client_pk[crypto_kx_PUBLICKEYBYTES])
[58] Fix | Delete
__attribute__ ((warn_unused_result)) __attribute__ ((nonnull(3, 4, 5)));
[59] Fix | Delete
[60] Fix | Delete
#ifdef __cplusplus
[61] Fix | Delete
}
[62] Fix | Delete
#endif
[63] Fix | Delete
[64] Fix | Delete
#endif
[65] Fix | Delete
[66] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function