Differences From Artifact [10ea7023d1]:
- File src/OFSHA384Or512Hash.h — part of check-in [e0a330b377] at 2019-09-29 20:53:32 on branch trunk — Reduce ivar scopes (user: js, size: 1209) [annotate] [blame] [check-ins using] [more...]
To Artifact [e24eeb0338]:
- File
src/OFSHA384Or512Hash.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: 1239) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
37 38 39 40 41 42 43 44 45 46 47 48 49 | union of_sha384_or_512_hash_buffer { uint8_t bytes[128]; uint64_t words[80]; } 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_sha384_or_512_hash_buffer { uint8_t bytes[128]; uint64_t words[80]; } buffer; size_t bufferLength; } *_iVars; @private bool _allowsSwappableMemory; bool _calculated; OF_RESERVE_IVARS(4) } @end OF_ASSUME_NONNULL_END |