Add support for new Android overlay, swiftlang/swift#74758 (#286)

This commit is contained in:
finagolfin authored and GitHub committed 2024-10-21 15:30:06 +00:00
1 parent 7cb61135cb
commit 8fa345c208
2 files changed
+7

No files matched your search

+3
View File
@@ -15,6 +15,9 @@
@_exported import CryptoKit
#else
import Foundation
#if canImport(Android)
import Android
#endif
/// A standards-based implementation of an HMAC-based Key Derivation Function
/// (HKDF).
@@ -21,6 +21,10 @@ import Foundation
@_implementationOnly import CCryptoBoringSSL
@_implementationOnly import CCryptoBoringSSLShims
#if canImport(Android)
import Android
#endif
internal struct BoringSSLScrypt {
/// Derives a secure key using the provided passphrase and salt.
///