cc2538: pka: Fix include paths breakage
The PKA drivers and examples were full of include paths missing the appropriate prefix, or using angle brackets instead of double quotes or the other way around. Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>
This commit is contained in:
parent
0eab95ec4c
commit
f78a132395
|
@ -50,12 +50,12 @@
|
|||
* bignum_divide_start bignum_divide_get_result (division)
|
||||
* bignum_cmp_start bignum_cmp_get_result (comparison)
|
||||
*/
|
||||
#include "bignum-driver.h"
|
||||
#include "dev/bignum-driver.h"
|
||||
|
||||
#include "stdio.h"
|
||||
#include <stdio.h>
|
||||
|
||||
#include "reg.h"
|
||||
#include "nvic.h"
|
||||
#include "dev/nvic.h"
|
||||
|
||||
#define ASSERT(IF) if(!(IF)) { return PKA_STATUS_INVALID_PARAM; }
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
#define BIGNUM_DRIVER_H_
|
||||
|
||||
#include "contiki.h"
|
||||
#include "pka.h"
|
||||
#include "dev/pka.h"
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
|
|
@ -35,15 +35,15 @@
|
|||
* \file
|
||||
* Implementation of the cc2538 ECC Algorithms
|
||||
*/
|
||||
#include <contiki.h>
|
||||
#include <process.h>
|
||||
#include "contiki.h"
|
||||
#include "sys/process.h"
|
||||
|
||||
#include <limits.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "ecc-algorithm.h"
|
||||
#include "ecc-driver.h"
|
||||
#include "pka.h"
|
||||
#include "dev/ecc-algorithm.h"
|
||||
#include "dev/ecc-driver.h"
|
||||
#include "dev/pka.h"
|
||||
|
||||
#define CHECK_RESULT(...) \
|
||||
state->result = __VA_ARGS__; \
|
||||
|
|
|
@ -49,8 +49,8 @@
|
|||
#ifndef ECC_ALGORITHM_H_
|
||||
#define ECC_ALGORITHM_H_
|
||||
|
||||
#include "bignum-driver.h"
|
||||
#include "ecc-driver.h"
|
||||
#include "dev/bignum-driver.h"
|
||||
#include "dev/ecc-driver.h"
|
||||
|
||||
typedef struct {
|
||||
/* Containers for the State */
|
||||
|
|
|
@ -32,8 +32,8 @@
|
|||
* \addtogroup c2538-ecc-curves
|
||||
* @{
|
||||
*/
|
||||
#include <contiki.h>
|
||||
#include <ecc-driver.h>
|
||||
#include "contiki.h"
|
||||
#include "dev/ecc-driver.h"
|
||||
|
||||
/* [NIST P-256, X9.62 prime256v1] */
|
||||
static const uint32_t nist_p_256_p[8] = { 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0x00000000,
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
* \file
|
||||
* Implementation of the cc2538 ECC driver
|
||||
*/
|
||||
#include "ecc-driver.h"
|
||||
#include "dev/ecc-driver.h"
|
||||
#include "reg.h"
|
||||
#include "dev/nvic.h"
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
#define ECC_DRIVER_H_
|
||||
|
||||
#include "contiki.h"
|
||||
#include "pka.h"
|
||||
#include "dev/pka.h"
|
||||
|
||||
#include <stdint.h>
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
|
|
@ -45,11 +45,11 @@
|
|||
* Example demonstrating ECDH on the cc2538dk platform
|
||||
*/
|
||||
#include "contiki.h"
|
||||
#include "ecc-algorithm.h"
|
||||
#include "ecc-curve.h"
|
||||
#include "random.h"
|
||||
#include "rtimer.h"
|
||||
#include "pt.h"
|
||||
#include "dev/ecc-algorithm.h"
|
||||
#include "dev/ecc-curve.h"
|
||||
#include "lib/random.h"
|
||||
#include "sys/rtimer.h"
|
||||
#include "sys/pt.h"
|
||||
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -45,10 +45,10 @@
|
|||
* Example demonstrating ECDSA-Sign on the cc2538dk platform
|
||||
*/
|
||||
#include "contiki.h"
|
||||
#include "ecc-algorithm.h"
|
||||
#include "ecc-curve.h"
|
||||
#include "rtimer.h"
|
||||
#include "pt.h"
|
||||
#include "dev/ecc-algorithm.h"
|
||||
#include "dev/ecc-curve.h"
|
||||
#include "sys/rtimer.h"
|
||||
#include "sys/pt.h"
|
||||
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -45,10 +45,10 @@
|
|||
* Example demonstrating ECDSA-Verify on the cc2538dk platform
|
||||
*/
|
||||
#include "contiki.h"
|
||||
#include "ecc-algorithm.h"
|
||||
#include "ecc-curve.h"
|
||||
#include "rtimer.h"
|
||||
#include "pt.h"
|
||||
#include "dev/ecc-algorithm.h"
|
||||
#include "dev/ecc-curve.h"
|
||||
#include "sys/rtimer.h"
|
||||
#include "sys/pt.h"
|
||||
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
|
Loading…
Reference in a new issue