23 #ifndef CRYPTO_GHASH_h
24 #define CRYPTO_GHASH_h
35 void reset(
const void *key);
36 void update(
const void *data,
size_t len);
37 void finalize(
void *token,
size_t len);
Implementation of the GHASH message authenticator.
void update(const void *data, size_t len)
Updates the message authenticator with more data.
GHASH()
Constructs a new GHASH message authenticator.
void reset(const void *key)
Resets the GHASH message authenticator for a new session.
void clear()
Clears the authenticator's state, removing all sensitive data.
void pad()
Pads the input stream with zero bytes to a multiple of 16.
void finalize(void *token, size_t len)
Finalizes the authentication process and returns the token.
~GHASH()
Destroys this GHASH message authenticator.