Topic: ECC timing performance is variable?
I am playing around with the ECC implementation in wolfssl-2.7.0
I have stripped down the code to what is required for ECC and have ported it to a Cortex-M0.
I am using Keil ARM-MDK and its simulator for development.
What I find is that the time it takes to do a multiplication (ecc_mulmod()) varies according with Key K input for the same G.
Timefor(K1 * G) != Timefor(K2 * G)
I have got time varying from 400ms to 5sec
I think this is expected(?)
If so how to find out the worst case time?
Also how to estimate worst case stack and heap requirement?