Missing dummy structures.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12093 110e8d01-0319-4d1e-a829-52ad28d1bb01
This commit is contained in:
Giovanni Di Sirio 2018-06-13 08:26:09 +00:00
parent ad0f9349ae
commit faa3f10780
1 changed files with 22 additions and 6 deletions

View File

@ -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. */
/*===========================================================================*/