feat(st-crypto): add STM32MP21 SAES driver support

This patch makes this driver compatible with STM32MP21 SoC.
This implies bit-field modification and also support of 192 bit key
size. Please note that on STM32MP21, the CCF bit from ISR register is
no more replicated in SR register. Directly read CCF from ISR register.

Explicitly disable STM32_SAES_CRYP2 flag on STM32MP1 platform on which
the feature is not supported.
This avoids warnings when enabling -Wundef flag.

Signed-off-by: Maxime Méré <maxime.mere@foss.st.com>
Change-Id: Ic3a55c68e5052099b001e61adeca25edd887e631
5 files changed