cancel
Showing results for 
Search instead for 
Did you mean: 

Are x-cube-cryptolib V.4 cmox_ functions reentrant?

mcasoni
Associate

Hi, I planned of implementing this library in a new STM32G4 application. I have no RTOS, and I need to make  cryptographic functions calls from both main loop and interrupts. So, instead of wasting time in building a thread-safe scheduling mechanism that's perhaps not necessary, it would be very helpful knowing in advance what cryptolib functions are already reentrant... if not the entire library. Another doubts is regarding HAL's: Cryptolib examples are all based on HAL's, but I only use the LL library. I tried some cryptolib functions adapting the CRC module initialization to LL's and they seem working fine. However getting an explicit confirmation that the entire x-cube-cryptolib is actually NOT based on HAL's would speed its implementation up. Thanks!

 

0 REPLIES 0