ecc_curve
const struct ecc_curve *curve)
const struct ecc_curve *curve)
const struct ecc_curve *curve)
static void apply_z(u64 *x1, u64 *y1, u64 *z, const struct ecc_curve *curve)
u64 *p_initial_z, const struct ecc_curve *curve)
const struct ecc_curve *curve)
const struct ecc_curve *curve)
u64 *initial_z, const struct ecc_curve *curve,
const struct ecc_curve *curve)
const struct ecc_curve *curve)
static int __ecc_is_key_valid(const struct ecc_curve *curve,
const struct ecc_curve *curve = ecc_get_curve(curve_id);
const struct ecc_curve *curve = ecc_get_curve(curve_id);
const struct ecc_curve *curve = ecc_get_curve(curve_id);
int ecc_is_pubkey_valid_partial(const struct ecc_curve *curve,
int ecc_is_pubkey_valid_full(const struct ecc_curve *curve,
const struct ecc_curve *curve = ecc_get_curve(curve_id);
const struct ecc_curve *ecc_get_curve25519(void)
const struct ecc_curve *ecc_get_curve(unsigned int curve_id)
const struct ecc_curve *curve)
static struct ecc_curve nist_p521 = {
static const struct ecc_curve ecc_25519 = {
static struct ecc_curve nist_p192 = {
static struct ecc_curve nist_p256 = {
static struct ecc_curve nist_p384 = {
const struct ecc_curve *curve;
const struct ecc_curve *curve = ctx->curve;
const struct ecc_curve *curve; /* curve from oid */
static const struct ecc_curve *get_curve_by_oid(enum OID oid)
static struct ecc_curve gost_cp256c = {
static struct ecc_curve gost_tc512a = {
static struct ecc_curve gost_tc512b = {
static struct ecc_curve gost_cp256a = {
static struct ecc_curve gost_cp256b = {
const struct ecc_curve *curve = ecc_get_curve(ctx->curve_id);
const struct ecc_curve *curve;
const struct ecc_curve *curve)
const struct ecc_curve *curve,
const struct ecc_curve *curve,
const struct ecc_curve *curve,
static int kmb_ecc_is_key_valid(const struct ecc_curve *curve,
static int kmb_ecc_gen_privkey(const struct ecc_curve *curve, u64 *privkey)
const struct ecc_curve *curve = tctx->curve;
const struct ecc_curve *curve = tctx->curve;
const struct ecc_curve *curve = tctx->curve;
const struct ecc_curve *curve = tctx->curve;
const struct ecc_curve *ecc_get_curve(unsigned int curve_id);
const struct ecc_curve *ecc_get_curve25519(void);
int ecc_is_pubkey_valid_partial(const struct ecc_curve *curve,
int ecc_is_pubkey_valid_full(const struct ecc_curve *curve,
const struct ecc_curve *curve);