Monero
Loading...
Searching...
No Matches
sc25519.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  sc25519
struct  shortsc25519

Macros

#define sc25519   crypto_sign_ed25519_amd64_51_30k_batch_sc25519
#define shortsc25519   crypto_sign_ed25519_amd64_51_30k_batch_shortsc25519
#define sc25519_from32bytes   crypto_sign_ed25519_amd64_51_30k_batch_sc25519_from32bytes
#define shortsc25519_from16bytes   crypto_sign_ed25519_amd64_51_30k_batch_shortsc25519_from16bytes
#define sc25519_from64bytes   crypto_sign_ed25519_amd64_51_30k_batch_sc25519_from64bytes
#define sc25519_from_shortsc   crypto_sign_ed25519_amd64_51_30k_batch_sc25519_from_shortsc
#define sc25519_to32bytes   crypto_sign_ed25519_amd64_51_30k_batch_sc25519_to32bytes
#define sc25519_iszero_vartime   crypto_sign_ed25519_amd64_51_30k_batch_sc25519_iszero_vartime
#define sc25519_isshort_vartime   crypto_sign_ed25519_amd64_51_30k_batch_sc25519_isshort_vartime
#define sc25519_lt   crypto_sign_ed25519_amd64_51_30k_batch_sc25519_lt
#define sc25519_add   crypto_sign_ed25519_amd64_51_30k_batch_sc25519_add
#define sc25519_sub_nored   crypto_sign_ed25519_amd64_51_30k_batch_sc25519_sub_nored
#define sc25519_mul   crypto_sign_ed25519_amd64_51_30k_batch_sc25519_mul
#define sc25519_mul_shortsc   crypto_sign_ed25519_amd64_51_30k_batch_sc25519_mul_shortsc
#define sc25519_window4   crypto_sign_ed25519_amd64_51_30k_batch_sc25519_window4
#define sc25519_window5   crypto_sign_ed25519_amd64_51_30k_batch_sc25519_window5
#define sc25519_slide   crypto_sign_ed25519_amd64_51_30k_batch_sc25519_slide
#define sc25519_2interleave2   crypto_sign_ed25519_amd64_51_30k_batch_sc25519_2interleave2
#define sc25519_barrett   crypto_sign_ed25519_amd64_51_30k_batch_sc25519_barrett

Functions

void sc25519_from32bytes (sc25519 *r, const unsigned char x[32])
void sc25519_from64bytes (sc25519 *r, const unsigned char x[64])
void sc25519_from_shortsc (sc25519 *r, const shortsc25519 *x)
void sc25519_to32bytes (unsigned char r[32], const sc25519 *x)
int sc25519_iszero_vartime (const sc25519 *x)
int sc25519_lt (const sc25519 *x, const sc25519 *y)
void sc25519_add (sc25519 *r, const sc25519 *x, const sc25519 *y)
void sc25519_sub_nored (sc25519 *r, const sc25519 *x, const sc25519 *y)
void sc25519_mul (sc25519 *r, const sc25519 *x, const sc25519 *y)
void sc25519_mul_shortsc (sc25519 *r, const sc25519 *x, const shortsc25519 *y)
void sc25519_window4 (signed char r[64], const sc25519 *s)
void sc25519_window5 (signed char r[51], const sc25519 *s)
void sc25519_slide (signed char r[256], const sc25519 *s, int swindowsize)
void sc25519_2interleave2 (unsigned char r[127], const sc25519 *s1, const sc25519 *s2)
void sc25519_barrett (sc25519 *r, unsigned long long x[8])

Macro Definition Documentation

◆ sc25519

#define sc25519   crypto_sign_ed25519_amd64_51_30k_batch_sc25519

◆ sc25519_2interleave2

#define sc25519_2interleave2   crypto_sign_ed25519_amd64_51_30k_batch_sc25519_2interleave2

◆ sc25519_add

#define sc25519_add   crypto_sign_ed25519_amd64_51_30k_batch_sc25519_add

◆ sc25519_barrett

#define sc25519_barrett   crypto_sign_ed25519_amd64_51_30k_batch_sc25519_barrett

◆ sc25519_from32bytes

#define sc25519_from32bytes   crypto_sign_ed25519_amd64_51_30k_batch_sc25519_from32bytes

◆ sc25519_from64bytes

#define sc25519_from64bytes   crypto_sign_ed25519_amd64_51_30k_batch_sc25519_from64bytes

◆ sc25519_from_shortsc

#define sc25519_from_shortsc   crypto_sign_ed25519_amd64_51_30k_batch_sc25519_from_shortsc

◆ sc25519_isshort_vartime

#define sc25519_isshort_vartime   crypto_sign_ed25519_amd64_51_30k_batch_sc25519_isshort_vartime

◆ sc25519_iszero_vartime

#define sc25519_iszero_vartime   crypto_sign_ed25519_amd64_51_30k_batch_sc25519_iszero_vartime

◆ sc25519_lt

#define sc25519_lt   crypto_sign_ed25519_amd64_51_30k_batch_sc25519_lt

◆ sc25519_mul

#define sc25519_mul   crypto_sign_ed25519_amd64_51_30k_batch_sc25519_mul

◆ sc25519_mul_shortsc

#define sc25519_mul_shortsc   crypto_sign_ed25519_amd64_51_30k_batch_sc25519_mul_shortsc

◆ sc25519_slide

#define sc25519_slide   crypto_sign_ed25519_amd64_51_30k_batch_sc25519_slide

◆ sc25519_sub_nored

#define sc25519_sub_nored   crypto_sign_ed25519_amd64_51_30k_batch_sc25519_sub_nored

◆ sc25519_to32bytes

#define sc25519_to32bytes   crypto_sign_ed25519_amd64_51_30k_batch_sc25519_to32bytes

◆ sc25519_window4

#define sc25519_window4   crypto_sign_ed25519_amd64_51_30k_batch_sc25519_window4

◆ sc25519_window5

#define sc25519_window5   crypto_sign_ed25519_amd64_51_30k_batch_sc25519_window5

◆ shortsc25519

#define shortsc25519   crypto_sign_ed25519_amd64_51_30k_batch_shortsc25519

◆ shortsc25519_from16bytes

#define shortsc25519_from16bytes   crypto_sign_ed25519_amd64_51_30k_batch_shortsc25519_from16bytes

Function Documentation

◆ sc25519_2interleave2()

void sc25519_2interleave2 ( unsigned char r[127],
const sc25519 * s1,
const sc25519 * s2 )

◆ sc25519_add()

void sc25519_add ( sc25519 * r,
const sc25519 * x,
const sc25519 * y )

◆ sc25519_barrett()

void sc25519_barrett ( sc25519 * r,
unsigned long long x[8] )

◆ sc25519_from32bytes()

void sc25519_from32bytes ( sc25519 * r,
const unsigned char x[32] )

◆ sc25519_from64bytes()

void sc25519_from64bytes ( sc25519 * r,
const unsigned char x[64] )

◆ sc25519_from_shortsc()

void sc25519_from_shortsc ( sc25519 * r,
const shortsc25519 * x )

◆ sc25519_iszero_vartime()

int sc25519_iszero_vartime ( const sc25519 * x)

◆ sc25519_lt()

int sc25519_lt ( const sc25519 * x,
const sc25519 * y )

◆ sc25519_mul()

void sc25519_mul ( sc25519 * r,
const sc25519 * x,
const sc25519 * y )

◆ sc25519_mul_shortsc()

void sc25519_mul_shortsc ( sc25519 * r,
const sc25519 * x,
const shortsc25519 * y )

◆ sc25519_slide()

void sc25519_slide ( signed char r[256],
const sc25519 * s,
int swindowsize )

◆ sc25519_sub_nored()

void sc25519_sub_nored ( sc25519 * r,
const sc25519 * x,
const sc25519 * y )

◆ sc25519_to32bytes()

void sc25519_to32bytes ( unsigned char r[32],
const sc25519 * x )

◆ sc25519_window4()

void sc25519_window4 ( signed char r[64],
const sc25519 * s )

◆ sc25519_window5()

void sc25519_window5 ( signed char r[51],
const sc25519 * s )