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
1 change: 0 additions & 1 deletion Sources/Crypto/Keys/EC/BoringSSL/Ed25519_boring.swift
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ extension Curve25519.Signing {
@usableFromInline
var keyBytes: [UInt8]

@inlinable
init<D: ContiguousBytes>(rawRepresentation: D) throws {
self.keyBytes = try rawRepresentation.withUnsafeBytes { keyBytesPtr in
guard keyBytesPtr.count == 32 else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ struct OpenSSLNISTCurvePublicKeyImpl<Curve: OpenSSLSupportedNISTCurve> {
self.key = try BoringSSLECPublicKeyWrapper(compressedRepresentation: compressedRepresentation)
}

@inlinable
init(wrapping key: BoringSSLECPublicKeyWrapper<Curve>) {
self.key = key
}
Expand Down
1 change: 0 additions & 1 deletion Sources/Crypto/Keys/EC/BoringSSL/X25519Keys_boring.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ extension Curve25519.KeyAgreement {
@usableFromInline
var keyBytes: [UInt8]

@inlinable
init<D: ContiguousBytes>(rawRepresentation: D) throws {
self.keyBytes = try rawRepresentation.withUnsafeBytes { dataPtr in
guard dataPtr.count == Curve25519.KeyAgreement.keySizeBytes else {
Expand Down