Hi,

I ported ECC part of wolfSSL embedded SSL to cortexM0 and got it working.

But the memory requirement is huge (9k including heap and stack).

1. Is it expected?

2. How to reduce RAM requirement?
    I tried setting SMALL_STACK, but it does not works on my port. And actually as per document it will decrease stack but increase heap, so net gain will not be that much.


PS.
I posted a related question at
http://www.yassl.com/forums/topic407-ec … iable.html

Hi,

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.
i.e
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?

Regards