ObjFW  Diff

Differences From Artifact [fe33092934]:

To Artifact [72d5a8c0be]:


101
102
103
104
105
106
107








108
109
110
 *	 @ref setKey:length:.
 *
 * @warning This invalidates any pointer previously returned by @ref digest. If
 *	    you are still interested in the previous digest, you need to memcpy
 *	    it yourself before calling @ref reset!
 */
- (void)reset;








@end

OF_ASSUME_NONNULL_END







>
>
>
>
>
>
>
>



101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
 *	 @ref setKey:length:.
 *
 * @warning This invalidates any pointer previously returned by @ref digest. If
 *	    you are still interested in the previous digest, you need to memcpy
 *	    it yourself before calling @ref reset!
 */
- (void)reset;

/*!
 * @brief This is like @ref reset, but also zeroes the hashed key and all state.
 *
 * @warning After calling this, you *must* set a new key before reusing the
 *	    HMAC!
 */
- (void)zero;
@end

OF_ASSUME_NONNULL_END