ObjFW  Diff

Differences From Artifact [8064412ceb]:

  • File src/OFRIPEMD160Hash.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: 1187) [more...]

To Artifact [a2ac38baf0]:

  • File src/OFRIPEMD160Hash.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: 1217)

35
36
37
38
39
40
41

42
43
44
45
46
		uint64_t bits;
		union of_ripemd160_hash_buffer {
			uint8_t bytes[64];
			uint32_t words[16];
		} 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_ripemd160_hash_buffer {
			uint8_t bytes[64];
			uint32_t words[16];
		} buffer;
		size_t bufferLength;
	} *_iVars;
	bool _allowsSwappableMemory;
	bool _calculated;
}
@end

OF_ASSUME_NONNULL_END