17 #import "OFCryptoHash.h"
19 OF_ASSUME_NONNULL_BEGIN
26 OF_SUBCLASSING_RESTRICTED
30 bool _allowsSwappableMemory;
44 @property (readonly, nonatomic)
bool allowsSwappableMemory;
52 @property (readonly, nonatomic)
const unsigned char *digest
53 OF_RETURNS_INNER_POINTER;
58 @property (readonly, nonatomic)
size_t digestSize;
68 allowsSwappableMemory: (
bool)allowsSwappableMemory;
70 - (instancetype)init OF_UNAVAILABLE;
81 allowsSwappableMemory: (
bool)allowsSwappableMemory
82 OF_DESIGNATED_INITIALIZER;
96 - (void)setKey: (const
void *)key length: (
size_t)length;
104 - (void)updateWithBuffer: (const
void *)buffer length: (
size_t)length;
128 OF_ASSUME_NONNULL_END
struct objc_object * id
A pointer to any object.
Definition: ObjFWRT.h:90
struct objc_class * Class
A pointer to a class.
Definition: ObjFWRT.h:85
A class which provides methods to calculate an HMAC.
Definition: OFHMAC.h:28
The root class for all other classes inside ObjFW.
Definition: OFObject.h:520
A protocol for classes providing cryptographic hash functions.
Definition: OFCryptoHash.h:29