Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ let package = Package(
],
dependencies: [
.package(url: "https://github.com/apple/swift-nio.git", from: "2.81.0"),
.package(url: "https://github.com/apple/swift-crypto.git", "1.0.0"..<"5.0.0"),
// 4.5.0 is the first release with the public `MLKEM768` API
// (`Sources/Crypto/KEM/MLKEM.swift`), used by
// `MLKEM768X25519KeyExchange` for the post-quantum hybrid KEX.
.package(url: "https://github.com/apple/swift-crypto.git", "4.5.0"..<"5.0.0"),
.package(url: "https://github.com/apple/swift-atomics.git", from: "1.0.2"),
],
targets: [
Expand Down
2 changes: 1 addition & 1 deletion Sources/NIOSSH/Key Exchange/EllipticCurveKeyExchange.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import Foundation
protocol EllipticCurveKeyExchangeProtocol: _NIOSSHSendableMetatype {
init(ourRole: SSHConnectionRole, previousSessionIdentifier: ByteBuffer?)

func initiateKeyExchangeClientSide(allocator: ByteBufferAllocator) -> SSHMessage.KeyExchangeECDHInitMessage
mutating func initiateKeyExchangeClientSide(allocator: ByteBufferAllocator) -> SSHMessage.KeyExchangeECDHInitMessage

mutating func completeKeyExchangeServerSide(
clientKeyExchangeMessage message: SSHMessage.KeyExchangeECDHInitMessage,
Expand Down
Loading