lwIP - A Lightweight TCP/IP stack - Patches: patch #9823, altcp_tls_mbedtls.c: add...
You are not allowed to post comments on this tracker with your current authentication level.
patch #9823: altcp_tls_mbedtls.c: add restartable feature
Submitter: | Giuseppe Modugno <giusloq> | ||
Submitted: | Thu 27 Jun 2019 09:57:43 AM UTC | ||
Category: | apps | Priority: | 5 - Normal |
Status: | None | Privacy: | Public |
Assigned to: | None | Open/Closed: | Open |
Planned Release: | None |
Jump to the original submission
Tue 15 Oct 2019 10:30:09 AM UTC, comment #8: |
David GIRAULT <dgirault> |
Tue 15 Oct 2019 10:07:19 AM UTC, comment #7: OK, so for your setup, tcp_poll (500ms) might be enough. For the software implementations, where the restartable feature should just be a "yield, let other connections be serived, too", it is clearly too slow as the CPU might do nothing for 500ms. |
Simon Goldschmidt <goldsimon>![]() |
Tue 15 Oct 2019 10:02:24 AM UTC, comment #6:
|
David GIRAULT <dgirault> |
Fri 11 Oct 2019 07:59:16 AM UTC, comment #5:
|
Giuseppe Modugno <giusloq> |
Fri 11 Oct 2019 07:57:03 AM UTC, comment #4:
|
Giuseppe Modugno <giusloq> |
Wed 09 Oct 2019 05:42:34 PM UTC, comment #3: Wait, just found out I haven't been following mbedTLS development:
|
Simon Goldschmidt <goldsimon>![]() |
Wed 09 Oct 2019 05:35:54 PM UTC, comment #2: The question is whether our poll interval (500ms) is fast enough for a decent TLS performance...
|
Simon Goldschmidt <goldsimon>![]() |
Wed 09 Oct 2019 10:01:33 AM UTC, comment #1: Hi Giuseppe,
|
David GIRAULT <dgirault> |
Thu 27 Jun 2019 09:57:43 AM UTC, original submission:
mbedTLS features an option named MBEDTLS_ECP_RESTARTABLE[1] that is very useful in NO_SYS=1 platforms and when ECP calculus takes a long time (as in many modern MCUs without crypto engine). I'm using a Cortex_M3 LPC1768 and the TLS handshake takes around 5-10 seconds.
|
Giuseppe Modugno <giusloq> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follows 1 latest change.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2019-06-27 | giusloq | Attached File | - | ![]() |
Added patch.diff, #47139 |
commentaire #7 :
Just have time to read this link. And you're right, this is only relevant on SW implementation.
The timeout value must be configurable at compile time to allow tunning according application needs.
Additionally, restartable ECP isn't available in still maintained 2.7 branch. So lwIP ALTCP should take care of that.