-
-
Notifications
You must be signed in to change notification settings - Fork 117
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
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
…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
…t to BearSSLClient
…ries are compiled too.
…s core contains bugs)
…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)
…INA module via SerialNINAPassthrough
aentinger
added a commit
to arduino-libraries/WiFiNINA
that referenced
this pull request
Nov 18, 2020
…ery soon as arduino/nina-fw#57 will be merged)
** 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.. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add a "transport" that transparently interacts with the ECCx08 crypto chip and performs client authentication.