CRS
Isogeny-based post-quantum Diffie-Hellman protocol.
|
#include "auxiliary.h"
Functions | |
void | fq_set_str (fq_t rop, char *s, const fq_ctx_t F) |
void | fq_add_ui (fq_t rop, fq_t op, ulong x, const fq_ctx_t F) |
void | fq_add_si (fq_t rop, fq_t op, slong x, const fq_ctx_t F) |
void | fq_sub_ui (fq_t rop, fq_t op, ulong x, const fq_ctx_t F) |
void | fq_sub_si (fq_t rop, fq_t op, slong x, const fq_ctx_t F) |
void | fq_div_si (fq_t rop, fq_t op, slong x, const fq_ctx_t F) |
void | fq_div_ui (fq_t rop, fq_t op, ulong x, const fq_ctx_t F) |
void | fq_inv_ui (fq_t rop, ulong op, const fq_ctx_t F) |
void | fmpz_pow (fmpz_t rop, fmpz_t op, fmpz_t n) |
void | fmpz_val (fmpz_t rop, fmpz_t op1, fmpz_t op2) |
void | fmpz_val_q (fmpz_t rop1, fmpz_t rop2, fmpz_t op1, fmpz_t op2) |
void fq_add_si | ( | fq_t | rop, |
fq_t | op, | ||
slong | x, | ||
const fq_ctx_t | F | ||
) |
Sets rop to the sum of op and x, where x is a slong considered as an element of F.
void fq_add_ui | ( | fq_t | rop, |
fq_t | op, | ||
ulong | x, | ||
const fq_ctx_t | F | ||
) |
Sets rop to the sum of op and x, where x is an ulong considered as an element of F.
void fq_div_si | ( | fq_t | rop, |
fq_t | op, | ||
slong | x, | ||
const fq_ctx_t | F | ||
) |
Sets rop to the quotient of op and x, reducing the output in the given context.
void fq_div_ui | ( | fq_t | rop, |
fq_t | op, | ||
ulong | x, | ||
const fq_ctx_t | F | ||
) |
Sets rop to the quotient of op and x, reducing the output in the given context.
void fq_inv_ui | ( | fq_t | rop, |
ulong | op, | ||
const fq_ctx_t | F | ||
) |
Sets rop to the inverse of op, reducing the output in the given context.
void fq_set_str | ( | fq_t | rop, |
char * | s, | ||
const fq_ctx_t | F | ||
) |
Sets rop to the sum of op and x, where x is a string considered as an element of F.
void fq_sub_si | ( | fq_t | rop, |
fq_t | op, | ||
slong | x, | ||
const fq_ctx_t | F | ||
) |
Sets rop to the sum of op and x, where x is a slong considered as an element of F.
void fq_sub_ui | ( | fq_t | rop, |
fq_t | op, | ||
ulong | x, | ||
const fq_ctx_t | F | ||
) |
Sets rop to the difference of op and x, where x is an ulong considered as an element of F.