/* Enables or disables auto-start message padding and calculation of the final message digest at the end of DMA transfer.  */
void HASH_AutoStartDigest(FunctionalState NewState)
/* Enables or disables auto-start message padding and calculation of the final message digest at the end of DMA transfer.  */
void HASH_AutoStartDigest(FunctionalState NewState)
{
  assert_param(IS_FUNCTIONAL_STATE(NewState));
  if (NewState != DISABLE)
  {
    HASH->CR &= ~HASH_CR_MDMAT;
  }
  else
  {
    HASH->CR |= HASH_CR_MDMAT;
  }
}