Macros | |
#define | PARAM_P 0x100257d4; |
#define | PARAM_R 0x100257f8; |
#define | PARAM_A 0x1002581c; |
#define | PARAM_B 0x10025840; |
#define | PARAM_GX 0x10025864; |
#define | PARAM_GY 0x10025888; |
Typedefs | |
typedef uint8_t(* | ecc_keygen_t) (uint32_t *, uint32_t *, uint32_t *, uint32_t *) |
typedef uint8_t(* | ecdsa_sign_t) (uint32_t *, uint32_t *, uint32_t *, uint32_t *, uint32_t *) |
typedef uint8_t(* | ecdsa_verify_t) (uint32_t *, uint32_t *, uint32_t *, uint32_t *, uint32_t *) |
typedef uint8_t(* | ecdh_computeSharedSecret_t) (uint32_t *, uint32_t *, uint32_t *, uint32_t *, uint32_t *) |
Functions | |
void | ECC_initialize (uint32_t *pWorkzone) |
Pass pointer to ECC memory allocation to ECC engine. More... | |
uint8_t | ECC_generateKey (uint32_t *randString, uint32_t *privateKey, uint32_t *publicKey_x, uint32_t *publicKey_y) |
Generate a key. More... | |
uint8_t | ECC_ECDSA_sign (uint32_t *secretKey, uint32_t *text, uint32_t *randString, uint32_t *sign1, uint32_t *sign2) |
Sign data. More... | |
uint8_t | ECC_ECDSA_verify (uint32_t *publicKey_x, uint32_t *publicKey_y, uint32_t *text, uint32_t *sign1, uint32_t *sign2) |
Verify signature. More... | |
uint8_t | ECC_ECDH_computeSharedSecret (uint32_t *privateKey, uint32_t *publicKey_x, uint32_t *publicKey_y, uint32_t *sharedSecret_x, uint32_t *sharedSecret_y) |
Compute the shared secret. More... | |
Variables | |
ecc_keygen_t | ecc_generatekey = (ecc_keygen_t)(0x1001f94d) |
ecdsa_sign_t | ecc_ecdsa_sign = (ecdsa_sign_t)(0x10010381) |
ecdsa_verify_t | ecc_ecdsa_verify = (ecdsa_verify_t)(0x1000c805) |
ecdh_computeSharedSecret_t | ecdh_computeSharedSecret = (ecdh_computeSharedSecret_t)(0x10023485) |
#define PARAM_A 0x1002581c; |
Referenced by ECC_initialize().
#define PARAM_B 0x10025840; |
Referenced by ECC_initialize().
#define PARAM_GX 0x10025864; |
Referenced by ECC_initialize().
#define PARAM_GY 0x10025888; |
Referenced by ECC_initialize().
#define PARAM_P 0x100257d4; |
Referenced by ECC_initialize().
#define PARAM_R 0x100257f8; |
Referenced by ECC_initialize().
typedef uint8_t(* ecc_keygen_t) (uint32_t *, uint32_t *, uint32_t *, uint32_t *) |
typedef uint8_t(* ecdh_computeSharedSecret_t) (uint32_t *, uint32_t *, uint32_t *, uint32_t *, uint32_t *) |
typedef uint8_t(* ecdsa_sign_t) (uint32_t *, uint32_t *, uint32_t *, uint32_t *, uint32_t *) |
typedef uint8_t(* ecdsa_verify_t) (uint32_t *, uint32_t *, uint32_t *, uint32_t *, uint32_t *) |
ecdsa_sign_t ecc_ecdsa_sign = (ecdsa_sign_t)(0x10010381) |
Referenced by ECC_ECDSA_sign().
ecdsa_verify_t ecc_ecdsa_verify = (ecdsa_verify_t)(0x1000c805) |
Referenced by ECC_ECDSA_verify().
ecc_keygen_t ecc_generatekey = (ecc_keygen_t)(0x1001f94d) |
Referenced by ECC_generateKey().
ecdh_computeSharedSecret_t ecdh_computeSharedSecret = (ecdh_computeSharedSecret_t)(0x10023485) |
Referenced by ECC_ECDH_computeSharedSecret().