Differences From Artifact [f45a134709]:
- File
src/OFSHA1Hash.h
— part of check-in
[496695d778]
at
2019-09-29 19:35:38
on branch trunk
— Either restrict subclassing or reserve ivar space
This allows ABI stability with the fragile ABI. (user: js, size: 1153) [annotate] [blame] [check-ins using] [more...]
To Artifact [a51d9c4a1d]:
- File
src/OFSHA1Hash.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: 1183) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
35 36 37 38 39 40 41 42 43 44 45 46 | uint64_t bits; union of_sha1_hash_buffer { uint8_t bytes[64]; uint32_t words[80]; } buffer; size_t bufferLength; } *_iVars; bool _calculated; } @end OF_ASSUME_NONNULL_END | > | 35 36 37 38 39 40 41 42 43 44 45 46 47 | uint64_t bits; union of_sha1_hash_buffer { uint8_t bytes[64]; uint32_t words[80]; } buffer; size_t bufferLength; } *_iVars; bool _allowsSwappableMemory; bool _calculated; } @end OF_ASSUME_NONNULL_END |