apple / swift-nio-ssl

TLS Support for SwiftNIO, based on BoringSSL.
https://swiftpackageindex.com/apple/swift-nio-ssl/main/documentation/niossl
Apache License 2.0
387 stars 139 forks source link

Port SecureBytes from Swift Crypto to use with TLS-PSK #366

Closed agnosticdev closed 2 years ago

agnosticdev commented 2 years ago

Motivation:

Porting SecureBytes to NIOSSLSecureBytes for using in (Add TLS-PSK Support #360).

Modifications:

Addition and modification of SecureBytes to work within SwiftNIO SSL. Added additional test cases.

Result:

NIOSSLSecureBytes will be ported for usage in a later PR with TLS-PSK.

agnosticdev commented 2 years ago

Ping @Lukasa for review feedback on this one.

agnosticdev commented 2 years ago

@Lukasa do you want me to rebase the updates from https://github.com/apple/swift-nio-ssl/pull/368 ?

agnosticdev commented 2 years ago

Thank you!