-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
182: Initial changes for async support r=jethrogb a=AdrianCX Splitting #163 into separate parts. Also rebased since `@raoulstrackx` already helped with some pieces of the PR above. Code does the following: - Minor update to comments on Pk (revisited the latest code to check if any issues, none found) - verify with sig len 0 makes mbedtls assume default siglen and potentially overflow instead of stopping. - EntropyHolder can have different sources, either shared or not (request from another older PR) - Ported ALPN changes from `@mzohreva` branch - NullTerminatedList - Split off HandshakeContext and made it a sort of base class to Context so we can use it safely. (lots of ideas from `@jethrogb` here) - Made Context < T > as opposed to using Any, makes life easier for async and a lot of other use cases. Co-authored-by: Adrian Cruceru <adrian.cruceru@fortanix.com>
- Loading branch information
Showing
5 changed files
with
250 additions
and
94 deletions.
There are no files selected for viewing
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
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
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
Oops, something went wrong.