ecc_key

An ECC key

version(LTC_MECC)
extern (C) nothrow
struct ecc_key {}

Members

Variables

dp
ltc_ecc_set_type* dp;

pointer to domain parameters; either points to NIST curves (identified by idx >= 0) or user supplied curve

idx
int idx;

Index into the ltc_ecc_sets[] for the parameters of this curve; if -1, then this key is using user supplied curve in dp

k
void* k;

The private key

pubkey
ecc_point pubkey;

The public key

type
int type;

Type of key, PK_PRIVATE or PK_PUBLIC

Meta