Differences From Artifact [e39de03a34]:
- File src/OFSHA224Or256Hash.h — part of check-in [e0a330b377] at 2019-09-29 20:53:32 on branch trunk — Reduce ivar scopes (user: js, size: 1205) [annotate] [blame] [check-ins using] [more...]
To Artifact [b17aa63913]:
- File
src/OFSHA224Or256Hash.h
— part of check-in
[e629dc83a9]
at
2019-12-27 00:41:54
on branch trunk
— OFSecureData: Add allowsSwappableMemory property
With this property, it's possible to specify whether the memory should
be protected from swapping or not. This makes it easier for e.g. the
crypto hash classes: They can now just always use OFSecureData without
wasting unswappable memory if it's not needed. (user: js, size: 1235) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
37 38 39 40 41 42 43 44 45 46 47 48 49 | union of_sha224_or_256_hash_buffer { uint8_t bytes[64]; uint32_t words[64]; } buffer; size_t bufferLength; } *_iVars; @private bool _calculated; OF_RESERVE_IVARS(4) } @end OF_ASSUME_NONNULL_END | > | 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | union of_sha224_or_256_hash_buffer { uint8_t bytes[64]; uint32_t words[64]; } buffer; size_t bufferLength; } *_iVars; @private bool _allowsSwappableMemory; bool _calculated; OF_RESERVE_IVARS(4) } @end OF_ASSUME_NONNULL_END |