mirror of
https://github.com/apple/swift-crypto
synced 2026-11-28 05:04:21 +00:00
Add macCatalyst and visionOS to available platforms (#348)
This commit is contained in:
1 parent
e2285965a8
commit
e8d6eba1fe
146 files changed
+673
-673
No files matched your search
@@ -17,13 +17,13 @@
|
||||
import Foundation
|
||||
|
||||
/// A type that represents a message authentication code.
|
||||
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
||||
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
|
||||
public protocol MessageAuthenticationCode: Hashable, ContiguousBytes, CustomStringConvertible, Sequence where Element == UInt8 {
|
||||
/// The number of bytes in the message authentication code.
|
||||
var byteCount: Int { get }
|
||||
}
|
||||
|
||||
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
||||
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, macCatalyst 13, visionOS 1.0, *)
|
||||
extension MessageAuthenticationCode {
|
||||
/// Returns a Boolean value indicating whether two message authentication
|
||||
/// codes are equal.
|
||||
|
||||
Reference in new issue
Block a user