crypto: stm32 - Fix empty message processing