49 #ifndef ECC_ALGORITHM_H_
50 #define ECC_ALGORITHM_H_
58 struct process *process;
67 } ecc_compare_state_t;
80 struct process *process;
83 ecc_curve_info_t *curve_info;
93 } ecc_multiply_state_t;
101 PT_THREAD(ecc_multiply(ecc_multiply_state_t *state));
106 struct process *process;
109 ecc_curve_info_t *curve_info;
116 uint32_t k_e_inv[12];
122 uint32_t signature_s[24];
123 } ecc_dsa_sign_state_t;
133 PT_THREAD(ecc_dsa_sign(ecc_dsa_sign_state_t *state));
138 struct process *process;
141 ecc_curve_info_t *curve_info;
142 uint32_t signature_r[12];
143 uint32_t signature_s[12];
158 } ecc_dsa_verify_state_t;
170 PT_THREAD(ecc_dsa_verify(ecc_dsa_verify_state_t *state));
Header file for the cc2538 ECC driver.
PT_THREAD(ecc_compare(ecc_compare_state_t *state))
Do a compare of two big numbers.
int32_t ecc_compare(const uint32_t *a, const uint32_t *b)
Compares the value of a with the value of b.
Header file for the cc2538 BigNum driver.