aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include
diff options
context:
space:
mode:
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 */