/* Checks whether the specified CRYP flag is set or not.  */
FlagStatus CRYP_GetFlagStatus(uint8_t CRYP_FLAG)
/* Checks whether the specified CRYP flag is set or not.  */
FlagStatus CRYP_GetFlagStatus(uint8_t CRYP_FLAG)
{
  FlagStatus bitstatus = RESET;
  uint32_t tempreg = 0;
  assert_param(IS_CRYP_GET_FLAG(CRYP_FLAG));
  if ((CRYP_FLAG & FLAG_MASK) != 0x00) 
  {
    tempreg = CRYP->RISR;
  }
  else
  {
    tempreg = CRYP->SR;
  }
  if ((tempreg & CRYP_FLAG ) != (uint8_t)RESET)
  {
    bitstatus = SET;
  }
  else
  {
    bitstatus = RESET;
  }
  return  bitstatus;
}