Skip to content

Commit

Permalink
Add support for new Android overlay, swiftlang/swift#74758
Browse files Browse the repository at this point in the history
  • Loading branch information
finagolfin committed Oct 20, 2024
1 parent 7cb6113 commit d43f4ac
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Sources/Crypto/Key Derivation/HKDF.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
///
Expand Down

0 comments on commit d43f4ac

Please sign in to comment.