Let us walk on the 3-isogeny graph
|
#include "../common/namespace.h"
#include "../common/primes.h"
#include "ctidh.h"
#include "../common/fp/mulx/fp.h"
Go to the source code of this file.
Macros | |
#define | internal_keygen NS(keygen) |
#define | internal_derive NS(derive) |
#define | init_keys NS(init_keys) |
#define | skgen NS(skgen) |
#define | pkgen NS(pkgen) |
#define | free_keys NS(free_keys) |
Functions | |
const size_t | NSAPI (pk_size) |
const size_t | NSAPI (sk_size) |
const size_t | NSAPI (ss_size) |
void | internal_keygen (public_key *pk, private_key *sk) |
bool | internal_derive (fp *ss, public_key *const pk, private_key *const sk) |
void | init_keys (public_key **pk, int8_t **sk) |
void | skgen (int8_t *sk) |
void | pkgen (public_key *pk, int8_t *const sk) |
void | free_keys (public_key **pk, int8_t **sk) |
#define free_keys NS(free_keys) |
Definition at line 31 of file ctidh_api.h.
#define init_keys NS(init_keys) |
Definition at line 25 of file ctidh_api.h.
Definition at line 23 of file ctidh_api.h.
Referenced by secsidh_derive().
Definition at line 21 of file ctidh_api.h.
Referenced by secsidh_keygen().
#define pkgen NS(pkgen) |
Definition at line 29 of file ctidh_api.h.
#define skgen NS(skgen) |
Definition at line 27 of file ctidh_api.h.
void free_keys | ( | public_key ** | pk, |
int8_t ** | sk ) |
void init_keys | ( | public_key ** | pk, |
int8_t ** | sk ) |
bool internal_derive | ( | fp * | ss, |
public_key *const | pk, | ||
private_key *const | sk ) |
Definition at line 63 of file ctidh_api.c.
References public_key::A, action, fp_copy, and validate.
void internal_keygen | ( | public_key * | pk, |
private_key * | sk ) |
Definition at line 46 of file ctidh_api.c.
References public_key::A, action, base, ctidh_private, fulltorsion_points, and public_key::seed.
void pkgen | ( | public_key * | pk, |
int8_t *const | sk ) |
Definition at line 85 of file ctidh_api.c.
void skgen | ( | int8_t * | sk | ) |
Definition at line 80 of file ctidh_api.c.
References ctidh_private.