Skip to content

Commit 6fa8df9

Browse files
Copilotjkoritzinsky
andcommitted
Remove @available annotations from HKDF functions that are no longer needed
Co-authored-by: jkoritzinsky <1571408+jkoritzinsky@users.noreply.github.com>
1 parent d2b796f commit 6fa8df9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/native/libs/System.Security.Cryptography.Native.Apple/pal_swiftbindings.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,6 @@ enum HKDFError: Error {
202202
}
203203

204204
@_silgen_name("AppleCryptoNative_HKDFExpand")
205-
@available(macOS 14, iOS 14, tvOS 14, *)
206205
public func AppleCryptoNative_HKDFExpand(
207206
hashAlgorithm: Int32,
208207
prkPtr: UnsafeMutableRawPointer,
@@ -248,7 +247,6 @@ public func AppleCryptoNative_HKDFExpand(
248247
}
249248

250249
@_silgen_name("AppleCryptoNative_HKDFExtract")
251-
@available(macOS 14, iOS 14, tvOS 14, *)
252250
public func AppleCryptoNative_HKDFExtract(
253251
hashAlgorithm: Int32,
254252
ikmPtr: UnsafeMutableRawPointer,
@@ -295,7 +293,6 @@ public func AppleCryptoNative_HKDFExtract(
295293
}
296294

297295
@_silgen_name("AppleCryptoNative_HKDFDeriveKey")
298-
@available(macOS 14, iOS 14, tvOS 14, *)
299296
public func AppleCryptoNative_HKDFDeriveKey(
300297
hashAlgorithm: Int32,
301298
ikmPtr: UnsafeMutableRawPointer,

0 commit comments

Comments
 (0)