@@ -17,24 +17,29 @@ #import "OFCryptoHash.h" OF_ASSUME_NONNULL_BEGIN +@class OFSecureData; + /*! * @class OFRIPEMD160Hash OFRIPEMD160Hash.h ObjFW/OFRIPEMD160Hash.h * * @brief A class which provides methods to create a RIPEMD-160 hash. */ @interface OFRIPEMD160Hash: OFObject { - uint32_t _state[5]; - uint64_t _bits; - union of_ripemd_160_hash_buffer { - uint8_t bytes[64]; - uint32_t words[16]; - } _buffer; - size_t _bufferLength; + OFSecureData *_iVarsData; + struct of_ripemd160_hash_ivars { + uint32_t state[5]; + 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