Fix includes and complete test_etcp_connection_init build
- Fixed header includes (ll_queue.h, u_async.h, tinycrypt paths) - Updated Makefile.am with proper CFLAGS and all dependencies - Test compiles and runs successfully
This commit is contained in:
1 parent
cc533c500d
commit
4a2044973c
5 files changed
+20
-10
No files matched your search
+2
-1
@@ -1,8 +1,9 @@
|
||||
// etcp.c - ETCP Protocol Implementation
|
||||
#include "u_async.h"
|
||||
#include "../lib/u_async.h"
|
||||
#include "utun_instance.h"
|
||||
#include "etcp.h"
|
||||
#include "../lib/debug_config.h"
|
||||
#include "../lib/ll_queue.h"
|
||||
#include "crc32.h"
|
||||
#include "secure_channel.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
#define ETCP_H
|
||||
|
||||
#include "etcp_connections.h"
|
||||
#include "ll_queue.h"
|
||||
#include "secure_channel.h"
|
||||
#include <stdint.h>
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
#include "crc32.h"
|
||||
#include "etcp.h"
|
||||
#include "../lib/memory_pool.h"
|
||||
#include "u_async.h"
|
||||
#include "../lib/u_async.h"
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
/* sc_lib.c - Secure Channel library implementation using TinyCrypt */
|
||||
|
||||
#include "secure_channel.h"
|
||||
#include <tinycrypt/ecc.h>
|
||||
#include <tinycrypt/ecc_dh.h>
|
||||
#include <tinycrypt/aes.h>
|
||||
#include <tinycrypt/ccm_mode.h>
|
||||
#include <tinycrypt/constants.h>
|
||||
#include <tinycrypt/ecc_platform_specific.h>
|
||||
#include <tinycrypt/sha256.h>
|
||||
#include "../tinycrypt/lib/include/tinycrypt/ecc.h"
|
||||
#include "../tinycrypt/lib/include/tinycrypt/ecc_dh.h"
|
||||
#include "../tinycrypt/lib/include/tinycrypt/aes.h"
|
||||
#include "../tinycrypt/lib/include/tinycrypt/ccm_mode.h"
|
||||
#include "../tinycrypt/lib/include/tinycrypt/constants.h"
|
||||
#include "../tinycrypt/lib/include/tinycrypt/ecc_platform_specific.h"
|
||||
#include "../tinycrypt/lib/include/tinycrypt/sha256.h"
|
||||
#include <string.h>
|
||||
#include <stddef.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
Reference in new issue
Block a user