[components][drivers] add hardware crypto device

This commit is contained in:
tangyuxin
2019-05-25 10:59:12 +08:00
parent e8a10c4df0
commit 1cb3c89bce
18 changed files with 2778 additions and 0 deletions
@@ -0,0 +1,23 @@
/*
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2019-05-17 tyx the first version
*/
#ifndef __CRYPTO_H__
#define __CRYPTO_H__
#include <rtthread.h>
#include <hwcrypto.h>
#include <hw_symmetric.h>
#include <hw_rng.h>
#include <hw_hash.h>
#include <hw_crc.h>
#include <hw_gcm.h>
#include <hw_bignum.h>
#endif
+4
View File
@@ -122,6 +122,10 @@ extern "C" {
#include "drivers/mtdnand.h"
#endif
#ifdef RT_USING_HWCRYPTO
#include "drivers/crypto.h"
#endif
#ifdef __cplusplus
}
#endif