aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-09-08 12:54:58 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-09-08 12:54:58 +0000
commitab8cbd8f7c824a3311c1878157e8b6d7721e470d (patch)
treed82a10430b547335fda2e94799e08207d247c170 /os/hal/include
parent2dbd855684b925c7a57982d883abcc9e0ecec10c (diff)
downloadChibiOS-ab8cbd8f7c824a3311c1878157e8b6d7721e470d.tar.gz
ChibiOS-ab8cbd8f7c824a3311c1878157e8b6d7721e470d.tar.bz2
ChibiOS-ab8cbd8f7c824a3311c1878157e8b6d7721e470d.zip
Some changes to the crypto infrastructure.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12252 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/hal/include')
-rw-r--r--os/hal/include/hal_crypto.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/os/hal/include/hal_crypto.h b/os/hal/include/hal_crypto.h
index 78f164692..4df1a45c3 100644
--- a/os/hal/include/hal_crypto.h
+++ b/os/hal/include/hal_crypto.h
@@ -31,13 +31,6 @@
/* Driver constants. */
/*===========================================================================*/
-/**
- * @brief Maximum size of a key for all supported algorithms.
- * @note It could be redefined by the LLD or the crypto fallback
- * implementations.
- */
-#define HAL_CRY_MAX_KEY_SIZE 32
-
/*===========================================================================*/
/* Driver pre-compile time settings. */
/*===========================================================================*/
@@ -165,9 +158,6 @@ typedef struct {
struct CRYDriver {
crystate_t state;
const CRYConfig *config;
- cryalgorithm_t key0_type;
- size_t key0_size;
- uint8_t key0_buffer[HAL_CRY_MAX_KEY_SIZE];
};
#endif /* HAL_CRY_ENFORCE_FALLBACK == TRUE */