Hi.
I read "The FTFC module's Cryptographic Services Engine (CSEc) implements a comprehensive
set of cryptographic functions as described in the SHE Functional Specification,
including:" in s32k-rm.
So it means that CSEc command is run by FTFC.
And, I guess the CSEc command is launched by clearing CCIF flag.
because : "The operation will start as indicated by CCIF transitioning from 1 to 0. The operation will
complete and set CCIF to 1 again. At this point the user may read the PRAM to verify or
transfer results as applicable." in s32k-rm page 884.
But any flash program command is also launched by clearing CCIF flag.
So what happened if during flash program command is executing, trying to launch CSEc command?
for example : CSEC_DRV_EncryptECB
I think in CSEC_DRV_StartEncDecECBCmd, the CCIF Flag will be cleared.
but in that situation, CCIF flag is already 0 because flash program command is executing.
the CSEc command will be executed? or not?
Please give me any advice
Thanks
Best Regards
Phillip