/* Checks whether the specified HASH interrupt has occurred or not.  */
ITStatus HASH_GetITStatus(uint32_t HASH_IT)
/* Checks whether the specified HASH interrupt has occurred or not.  */
ITStatus HASH_GetITStatus(uint32_t HASH_IT)
{
  ITStatus bitstatus = RESET;
  uint32_t tmpreg = 0;
  assert_param(IS_HASH_GET_IT(HASH_IT));
  tmpreg =  HASH->SR;
  if (((HASH->IMR & tmpreg) & HASH_IT) != RESET)
  {
    bitstatus = SET;
  }
  else
  {
    bitstatus = RESET;
  }
  return bitstatus;
}