User Activity

I can't get ECDH working for CURVE25519 using the STM32 HAL / crypto lib. This may be an issue with the somewhat confusing constants for this library. I can get the NIST curves working with ECDH. The trouble I have is it seems there are two cmox_ecc_...
I'm trying to create ECDSA keys on a STM32WL55 using the X-Cube/HAL Crypto library. I can generate NIST keys no problem, however when I try using the Brainpool curves, it mostly returns the following error: CMOX_ECC_ERR_WRONG_RANDOM ((cmox_ecc_retval...
This is probably a *** question, but I was wondering if there is a difference in performance between the following C statements given b is a standard boolean:bool b = false; //... if (b == false) //... if (!b) //...Will gcc in STM32 Cube IDE translat...
I have a timer (TIM15) setup in trigger slave mode which uses CH1 for edge detect, and output compare on CH2. I have it working nicely to have the output low during the initial delay until the CNT reaches autoreload ARR. Then the output goes high as ...
If you put an MCU in sleep mode with WFI, such as the STM32L452, you are supposed to suspend the SysTick and resume it after. Usually this is done in the main thread context. However, when you have an interrupt, I believe the next instruction will be...