diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-08-25 00:09:19 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-08-25 00:09:19 +0200 |
commit | f2d84afd9d8373bf2778d1a1635384000c03f887 (patch) | |
tree | 42af8a7430278871e3a1b1e14006099aa50eae80 /src/crypto/mac/ghash/pclmulqdq/ghash_pclmulqdq.h | |
parent | 9855a34f48acf6ae3aaeba9ec37756da41507e64 (diff) | |
download | fastd-f2d84afd9d8373bf2778d1a1635384000c03f887.tar fastd-f2d84afd9d8373bf2778d1a1635384000c03f887.zip |
MAC: rename hash() to digest() and change length unit from blocks to bytes
Diffstat (limited to 'src/crypto/mac/ghash/pclmulqdq/ghash_pclmulqdq.h')
-rw-r--r-- | src/crypto/mac/ghash/pclmulqdq/ghash_pclmulqdq.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/mac/ghash/pclmulqdq/ghash_pclmulqdq.h b/src/crypto/mac/ghash/pclmulqdq/ghash_pclmulqdq.h index bd10de4..f1a3f52 100644 --- a/src/crypto/mac/ghash/pclmulqdq/ghash_pclmulqdq.h +++ b/src/crypto/mac/ghash/pclmulqdq/ghash_pclmulqdq.h @@ -36,5 +36,5 @@ fastd_mac_state_t * fastd_ghash_pclmulqdq_init(const uint8_t *key); -bool fastd_ghash_pclmulqdq_hash(const fastd_mac_state_t *state, fastd_block128_t *out, const fastd_block128_t *in, size_t n_blocks); +bool fastd_ghash_pclmulqdq_digest(const fastd_mac_state_t *state, fastd_block128_t *out, const fastd_block128_t *in, size_t length); void fastd_ghash_pclmulqdq_free(fastd_mac_state_t *state); |