Crypto API cleanup.

This commit is contained in:
Jonathan Hui
2017-03-02 10:24:55 -08:00
parent 1455b612f9
commit 51c7253e4a
6 changed files with 10 additions and 9 deletions
-1
View File
@@ -64,7 +64,6 @@ PRETTY_SUBDIRS = \
include_HEADERS = \
openthread/link_raw.h \
openthread.h \
openthread-crypto.h \
openthread-diag.h \
openthread-icmp6.h \
openthread-ip6.h \
+1
View File
@@ -37,6 +37,7 @@
#include <openthread-types.h>
#include "openthread/crypto.h"
#include "openthread/message.h"
#include "openthread/tasklet.h"
+1
View File
@@ -30,6 +30,7 @@ include $(abs_top_nlbuild_autotools_dir)/automake/pre.am
openthread_headers = \
coap.h \
crypto.h \
message.h \
tasklet.h \
udp.h \
+1 -1
View File
@@ -40,6 +40,7 @@ CPPFLAGS_COMMON = \
SOURCES_COMMON = \
openthread.cpp \
api/crypto_api.cpp \
api/message_api.cpp \
api/tasklet_api.cpp \
api/udp_api.cpp \
@@ -57,7 +58,6 @@ SOURCES_COMMON = \
crypto/aes_ccm.cpp \
crypto/aes_ecb.cpp \
crypto/hmac_sha256.cpp \
crypto/openthread-crypto.cpp \
crypto/mbedtls.cpp \
crypto/sha256.cpp \
mac/mac.cpp \
@@ -28,15 +28,15 @@
/**
* @file
* This file implements the C APIs for openthread crypto library.
* This file implements the OpenThread Crypto API.
*/
#include <openthread.h>
#include <common/debug.hpp>
#include <common/code_utils.hpp>
#include <openthread-crypto.h>
#include <crypto/hmac_sha256.hpp>
#include <crypto/aes_ccm.hpp>
#include "openthread/crypto.h"
#include "common/debug.hpp"
#include "common/code_utils.hpp"
#include "crypto/hmac_sha256.hpp"
#include "crypto/aes_ccm.hpp"
using namespace Thread::Crypto;