diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-06-13 08:26:09 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-06-13 08:26:09 +0000 |
commit | faa3f10780033c09bea25862b4c2c6f168b8f31e (patch) | |
tree | 327c2eacb16e5c7bf96668f9d563b260dff66913 /os/hal/include | |
parent | ad0f9349ae74976f054fc0aba35c0ec82c2837c8 (diff) | |
download | ChibiOS-faa3f10780033c09bea25862b4c2c6f168b8f31e.tar.gz ChibiOS-faa3f10780033c09bea25862b4c2c6f168b8f31e.tar.bz2 ChibiOS-faa3f10780033c09bea25862b4c2c6f168b8f31e.zip |
Missing dummy structures.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12093 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/hal/include')
-rw-r--r-- | os/hal/include/hal_crypto.h | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/os/hal/include/hal_crypto.h b/os/hal/include/hal_crypto.h index a31dbcd8c..2b0ad6b0e 100644 --- a/os/hal/include/hal_crypto.h +++ b/os/hal/include/hal_crypto.h @@ -177,29 +177,45 @@ struct CRYDriver { #endif
#if (HAL_CRY_USE_FALLBACK == FALSE) && (CRY_LLD_SUPPORTS_SHA1 == FALSE)
-/* Stub @p SHA1Context structure type declaration. It is not provided by the
- LLD and the fallback is not enabled.*/
+/* Stub @p SHA1Context structure type declaration. It is not provided by
+ the LLD and the fallback is not enabled.*/
typedef struct {
uint32_t dummy;
} SHA1Context;
#endif
#if (HAL_CRY_USE_FALLBACK == FALSE) && (CRY_LLD_SUPPORTS_SHA256 == FALSE)
-/* Stub @p SHA256Context structure type declaration. It is not provided by the
- LLD and the fallback is not enabled.*/
+/* Stub @p SHA256Context structure type declaration. It is not provided by
+ the LLD and the fallback is not enabled.*/
typedef struct {
uint32_t dummy;
} SHA256Context;
#endif
#if (HAL_CRY_USE_FALLBACK == FALSE) && (CRY_LLD_SUPPORTS_SHA512 == FALSE)
-/* Stub @p SHA512Context structure type declaration. It is not provided by the
- LLD and the fallback is not enabled.*/
+/* Stub @p SHA512Context structure type declaration. It is not provided by
+ the LLD and the fallback is not enabled.*/
typedef struct {
uint32_t dummy;
} SHA512Context;
#endif
+#if (HAL_CRY_USE_FALLBACK == FALSE) && (CRY_LLD_SUPPORTS_HMAC_SHA256 == FALSE)
+/* Stub @p HMACSHA256Context structure type declaration. It is not provided by
+ the LLD and the fallback is not enabled.*/
+typedef struct {
+ uint32_t dummy;
+} HMACSHA256Context;
+#endif
+
+#if (HAL_CRY_USE_FALLBACK == FALSE) && (CRY_LLD_SUPPORTS_HMAC_SHA512 == FALSE)
+/* Stub @p HMACSHA512Context structure type declaration. It is not provided by
+ the LLD and the fallback is not enabled.*/
+typedef struct {
+ uint32_t dummy;
+} HMACSHA512Context;
+#endif
+
/*===========================================================================*/
/* Driver macros. */
/*===========================================================================*/
|