Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port BearSSL + crypto integration to NINA #57

Merged
merged 137 commits into from
Jan 28, 2021

Conversation

facchinm
Copy link
Member

Add a "transport" that transparently interacts with the ECCx08 crypto chip and performs client authentication.

Me No Dev and others added 30 commits January 7, 2016 16:31
Since there is no start condition interrupt
Limitations:
- available only returns 1 or 0
- connect(ip, port) not implemented
- trust anchors hard coded in file
- requires _gettimeofday implementation in sketch
… is NULL

This let’s us use it in Client::available()
By using br_sslio_read(ctx, NULL, len) hack
Used to return _gettimeofday value
…h if dst is NULL"

This reverts commit 2bd615f380611fc26dd5ecdb916a91f90f9763ae.
This reverts commit 30b1db8865ac4cc6c5468f43ba7725378afab4e0.
…on Arduino"

This reverts commit 0d353757d75a2c83129d220bf3dc731e08a2669a.
aentinger and others added 20 commits September 2, 2020 12:48
…all the functions necessary for compiling ArduinoBearSSL
…include int br_sslio_read_available(br_sslio_context *cc); and int br_sslio_peek(br_sslio_context *cc, void *dst, size_t len);"
…and could not be instantiated) due to pruning due to fitting in this minimal core
…X08CertClass::generatePublicKey whey are performing a 64 byte read from the ECCX08. Although the previously used Ringbuffer was 64 bytes large it contained in fact a bug that reduced it's effective size to 63 bytes which resulted in an infinite loop.
… (which anyway don't include the ArduinoIoTCloud TAs)
@facchinm facchinm requested a review from aentinger November 16, 2020 19:06
aentinger added a commit to arduino-libraries/WiFiNINA that referenced this pull request Nov 18, 2020
@aentinger
Copy link
Contributor

aentinger commented Jan 28, 2021

Board FwUpd IoT BLE WiFiSSL
Nano 33 IoT ✔️ ** ✔️ ✔️ ✔️
MKR WiFi 1010 ✔️
Uno WiFi Rev.2 ✔️ ** ✔️ ✔️ ✔️

** Did not work at the beginning but after flashing nina-fw one more time manually, started working. After one succes it has started not working again..
2021/01/28 09:55:28 Connecting to programmer
2021/01/28 09:55:28 Opened the serial port with baud rate 115200
2021/01/28 09:55:30 Sync with programmer
2021/01/28 09:55:30 Programmer is not responding

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants