Contiki-NG

Header file for the cc2538 ECC driver. More...

#include "contiki.h"
#include "dev/pka.h"
#include <stdint.h>

Go to the source code of this file.

Functions

ECC functions
Note
Not all sequencer functions are implemented in this driver look at the CC2538 manual for a complete list.
uint8_t ecc_mul_start (uint32_t *scalar, ec_point_t *ec_point, ecc_curve_info_t *curve, uint32_t *result_vector, struct process *process)
 Starts ECC Multiplication. More...
 
uint8_t ecc_mul_get_result (ec_point_t *ec_point, uint32_t result_vector)
 Gets the result of ECC Multiplication. More...
 
uint8_t ecc_mul_gen_pt_start (uint32_t *scalar, ecc_curve_info_t *curve, uint32_t *result_vector, struct process *process)
 Starts the ECC Multiplication with Generator point. More...
 
uint8_t ecc_mul_gen_pt_get_result (ec_point_t *ec_point, uint32_t result_vector)
 Gets the result of ECC Multiplication with Generator point. More...
 
uint8_t ecc_add_start (ec_point_t *ec_point1, ec_point_t *ec_point2, ecc_curve_info_t *curve, uint32_t *result_vector, struct process *process)
 Starts the ECC Addition. More...
 
uint8_t ecc_add_get_result (ec_point_t *ptOutEcPt, uint32_t ui32ResultLoc)
 Gets the result of the ECC Addition. More...
 

Detailed Description

Header file for the cc2538 ECC driver.

Definition in file ecc-driver.h.