From ab8cbd8f7c824a3311c1878157e8b6d7721e470d Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sat, 8 Sep 2018 12:54:58 +0000 Subject: Some changes to the crypto infrastructure. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12252 110e8d01-0319-4d1e-a829-52ad28d1bb01 --- os/hal/include/hal_crypto.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'os/hal/include/hal_crypto.h') 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 */ -- cgit v1.2.3