Let us walk on the 3-isogeny graph
|
Go to the source code of this file.
Typedefs | |
typedef uint64_t | fp_t[FIELD_64BITS_WORDS] |
Functions | |
void | fp_add (uint64_t *output, const uint64_t *input_a, const uint64_t *input_b) |
void | fp_sub (uint64_t *output, const uint64_t *input_a, const uint64_t *input_b) |
void | fp_mul (uint64_t *output, const uint64_t *input_a, const uint64_t *input_b) |
void | fp_sqr (uint64_t *output, const uint64_t *input_a) |
void | fp_neg (fp_t output, const fp_t input) |
void | fp_set_to_one (fp_t output) |
void | fp_set_to_zero (fp_t output) |
void | fp_copy (fp_t output, const fp_t input) |
void | fp_cset (fp_t output, const fp_t input, uint64_t input_mask) |
void | fp_cswap (fp_t input_a, fp_t input_b, uint64_t input) |
void | fp_sample (fp_t output) |
void | fp_inv (fp_t output, const fp_t input) |
void | fp_half (fp_t output, const fp_t input) |
void | fp_to_mont (fp_t output, const fp_t input) |
void | fp_from_mont (fp_t output, const fp_t input) |
int64_t | fp_is_zero (const fp_t input) |
uint8_t | fp_is_equal (const fp_t input_a, const fp_t input_b) |
uint8_t | fp_is_smaller (const fp_t input1, const fp_t input2) |
uint8_t | fp_is_square (const fp_t input) |
void | fp_sqrt (fp_t output, const fp_t input) |
void | fp_curt (fp_t output, const fp_t input) |
typedef uint64_t fp_t[FIELD_64BITS_WORDS] |
|
extern |
Definition at line 28 of file fp.c.
References FIELD_64BITS_WORDS, and i.
Referenced by isogeny_walks_3_fp(), and isogeny_walks_get_points_3_fp().
Definition at line 39 of file fp.c.
References FIELD_64BITS_WORDS, and i.
Definition at line 189 of file fp.c.
References FIELD_64BITS_WORDS, fp_copy, fp_mul, fp_set_to_one(), fp_sqr, i, and j.
Referenced by isogeny_walks_get_points_3_fp(), isogeny_walks_get_points_3_fp(), isogeny_walks_to_montgomery_model_3_fp(), and isogeny_walks_to_montgomery_model_3_fp().
Definition at line 84 of file fp.c.
References addition_with_carry_u64, FIELD_64BITS_WORDS, i, and multiprecision_shift_to_right().
Referenced by fp2_half().
Definition at line 62 of file fp.c.
References FIELD_64BITS_WORDS, FIELD_BITS, fp_copy, fp_mul, fp_set_to_one(), fp_sqr, i, and j.
Definition at line 122 of file fp.c.
References FIELD_64BITS_WORDS, and i.
Referenced by fp2_is_equal(), fp2_sqrt_fast(), fp2_sqrt_slow(), fp_is_square(), and isogeny_walks_get_points_3_fp().
Definition at line 143 of file fp.c.
References FIELD_64BITS_WORDS, and multiprecision_is_smaller().
uint8_t fp_is_square | ( | const fp_t | input | ) |
Definition at line 148 of file fp.c.
References FIELD_64BITS_WORDS, fp_copy, fp_is_equal(), fp_mul, fp_set_to_one(), fp_sqr, i, and j.
Referenced by fp2_is_square(), and isogeny_walks_get_points_3_fp().
int64_t fp_is_zero | ( | const fp_t | input | ) |
Definition at line 112 of file fp.c.
References FIELD_64BITS_WORDS, and i.
Referenced by fp2_is_zero(), and fp2_sqrt_slow().
|
extern |
Definition at line 9 of file fp.c.
References fp_sub.
Referenced by fp2_conj(), fp2_neg(), fp2_sqrt_fast(), isogeny_walks_get_points_3(), and isogeny_walks_get_points_3_fp().
void fp_sample | ( | fp_t | output | ) |
Definition at line 51 of file fp.c.
References FIELD_64BITS_WORDS, FIELD_BYTES, MASK_FIELD_ELEMENT, multiprecision_is_smaller(), and randombytes().
void fp_set_to_one | ( | fp_t | output | ) |
Definition at line 14 of file fp.c.
References fp_copy.
Referenced by fp2_set_to_one(), fp2_sqrt_fast(), fp2_sqrt_slow(), fp_curt(), fp_inv(), fp_is_square(), fp_sqrt(), isogeny_walks_3_fp(), and isogeny_walks_get_points_3().
void fp_set_to_zero | ( | fp_t | output | ) |
Definition at line 19 of file fp.c.
Referenced by fp2_set_to_one(), fp2_set_to_zero(), and fp2_sqrt_fast().
|
extern |
Definition at line 168 of file fp.c.
References FIELD_64BITS_WORDS, fp_copy, fp_mul, fp_set_to_one(), fp_sqr, i, and j.
Referenced by elligator(), isogeny_walks_get_points_3_fp(), and isogeny_walks_get_points_3_fp().
|
extern |