Search found 62 matches

by MalteJ
Wed Jan 11, 2017 1:06 pm
Forum: ESP-IDF
Topic: TLS handshake speeds: RSA is faster than ECC!?
Replies: 7
Views: 12748

Re: TLS handshake speeds: RSA is faster than ECC!?

The 'RSA' peripheral actually is a more general modular math module. If memory serves, this is what ECC uses as well. ah yeah, I just saw it is basically a bignum accelerator. Thank you! Well, then I would say it would be great to see "enhanced hw crypto performance" on the ESP32 v2 roadmap ;) Best...
by MalteJ
Wed Jan 11, 2017 12:39 pm
Forum: ESP-IDF
Topic: TLS handshake speeds: RSA is faster than ECC!?
Replies: 7
Views: 12748

Re: TLS handshake speeds: RSA is faster than ECC!?

As far as I can see you have no ECC accelerator registers somewhere in your SDK:
https://github.com/espressif/esp-idf/bl ... ypto_reg.h

So I expect ECC is completely done in software?

Malte
by MalteJ
Wed Jan 11, 2017 12:39 am
Forum: ESP-IDF
Topic: TLS handshake speeds: RSA is faster than ECC!?
Replies: 7
Views: 12748

Re: TLS handshake speeds: RSA is faster than ECC!?

Is it possible that currently only RSA is handled using hardware acceleration but no ECC? I can find some RSA crypto stuff in components/mbedtls/port/esp_bignum.c but I cannot find any ECC stuff. Even in the ESP32 Technical Reference there is no chapter about the ECC accelerator. Dear Espressif deve...
by MalteJ
Tue Jan 10, 2017 9:17 pm
Forum: ESP-IDF
Topic: TLS handshake speeds: RSA is faster than ECC!?
Replies: 7
Views: 12748

TLS handshake speeds: RSA is faster than ECC!?

Hi, I am currently working on a TLS secured webserver running on esp32. To get started I have used the example 10_openssl_server. When I execute a GET request using the provided 2048 bit RSA key and certificate it takes about 1.6 seconds to complete the request. Most of the time is used for handshak...
by MalteJ
Mon Jan 09, 2017 4:38 pm
Forum: ESP-IDF
Topic: Problems connecting to WiFi
Replies: 25
Views: 46143

Re: Problems connecting to WiFi

no, it's just about checking out the esp-idf master and then doing a git submodule update to checkout the referenced versions.
I am not trying to checkout all master branches in the submodules!
by MalteJ
Mon Jan 09, 2017 2:29 pm
Forum: ESP-IDF
Topic: Problems connecting to WiFi
Replies: 25
Views: 46143

Re: Problems connecting to WiFi

deti__ wrote: Why did nobody tell that the SDK is broken currently?
I thought so, too. But when you checkout master again it is still working, isn't it?
by MalteJ
Mon Jan 09, 2017 2:06 pm
Forum: ESP-IDF
Topic: Problems connecting to WiFi
Replies: 25
Views: 46143

Re: Problems connecting to WiFi

deti__ wrote:Checked out everything again and still there is no difference.

Deti
For me it worked after checking out tag "v1.0".

Code: Select all

git fetch --all --tags --prune
git checkout tag/v1.0
by MalteJ
Mon Jan 09, 2017 1:25 am
Forum: ESP-IDF
Topic: ESP-IDF template not working?
Replies: 6
Views: 10635

Re: ESP-IDF template not working?

I have had a similar problem:
http://www.esp32.com/viewtopic.php?f=13&t=904

Best,
Malte
by MalteJ
Mon Jan 09, 2017 1:06 am
Forum: ESP-IDF
Topic: Problems connecting to WiFi
Replies: 25
Views: 46143

Re: Problems connecting to WiFi

Deti,
maybe this helps:

go into your esp-idf directory and execute "git pull origin master && git checkout master && git submodule update"
Then go to your project and do a "make clean".
Then compile.

Does it help?

Best,
Malte
by MalteJ
Mon Jan 09, 2017 1:00 am
Forum: ESP-IDF
Topic: Problems connecting to WiFi
Replies: 25
Views: 46143

Re: Problems connecting to WiFi

OK, it's working now. I do not know what has happened. I have cleaned, checked out older versions from git, updated submodules, cleaned, built, checkout master again, cleaned, built, everything multiple times and now it works. I am sorry, I cannot reproduce the error. I have changed nothing on my Wi...