mirror of
https://github.com/apple/swift-crypto
synced 2026-11-27 04:54:21 +00:00
Add support for new Android overlay, swiftlang/swift#74758 (#286)
This commit is contained in:
1 parent
7cb61135cb
commit
8fa345c208
2 files changed
+7
No files matched your search
@@ -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.
|
||||
///
|
||||
|
||||
Reference in new issue
Block a user