Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/AnonR/anonr.TX.../usr/include/sodium
File: crypto_scalarmult.h
#ifndef crypto_scalarmult_H
[0] Fix | Delete
#define crypto_scalarmult_H
[1] Fix | Delete
[2] Fix | Delete
#include <stddef.h>
[3] Fix | Delete
[4] Fix | Delete
#include "crypto_scalarmult_curve25519.h"
[5] Fix | Delete
#include "export.h"
[6] Fix | Delete
[7] Fix | Delete
#ifdef __cplusplus
[8] Fix | Delete
extern "C" {
[9] Fix | Delete
#endif
[10] Fix | Delete
[11] Fix | Delete
#define crypto_scalarmult_BYTES crypto_scalarmult_curve25519_BYTES
[12] Fix | Delete
SODIUM_EXPORT
[13] Fix | Delete
size_t crypto_scalarmult_bytes(void);
[14] Fix | Delete
[15] Fix | Delete
#define crypto_scalarmult_SCALARBYTES crypto_scalarmult_curve25519_SCALARBYTES
[16] Fix | Delete
SODIUM_EXPORT
[17] Fix | Delete
size_t crypto_scalarmult_scalarbytes(void);
[18] Fix | Delete
[19] Fix | Delete
#define crypto_scalarmult_PRIMITIVE "curve25519"
[20] Fix | Delete
SODIUM_EXPORT
[21] Fix | Delete
const char *crypto_scalarmult_primitive(void);
[22] Fix | Delete
[23] Fix | Delete
SODIUM_EXPORT
[24] Fix | Delete
int crypto_scalarmult_base(unsigned char *q, const unsigned char *n)
[25] Fix | Delete
__attribute__ ((nonnull));
[26] Fix | Delete
[27] Fix | Delete
/*
[28] Fix | Delete
* NOTE: Do not use the result of this function directly for key exchange.
[29] Fix | Delete
*
[30] Fix | Delete
* Hash the result with the public keys in order to compute a shared
[31] Fix | Delete
* secret key: H(q || client_pk || server_pk)
[32] Fix | Delete
*
[33] Fix | Delete
* Or unless this is not an option, use the crypto_kx() API instead.
[34] Fix | Delete
*/
[35] Fix | Delete
SODIUM_EXPORT
[36] Fix | Delete
int crypto_scalarmult(unsigned char *q, const unsigned char *n,
[37] Fix | Delete
const unsigned char *p)
[38] Fix | Delete
__attribute__ ((warn_unused_result)) __attribute__ ((nonnull));
[39] Fix | Delete
[40] Fix | Delete
#ifdef __cplusplus
[41] Fix | Delete
}
[42] Fix | Delete
#endif
[43] Fix | Delete
[44] Fix | Delete
#endif
[45] Fix | Delete
[46] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function