diff options
author | Niels Möller <nisse@lysator.liu.se> | 2011-02-13 15:33:07 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2011-02-13 15:33:07 +0100 |
commit | 4961af0a52912d3bc43518d8d5ba17b7f8d60561 (patch) | |
tree | 5b241dd585161084b2cebcfa6611f6985a758d6b /gcm-aes.c | |
parent | ccba0ebe59d083f04e865375aaf2ff441561fcc1 (diff) | |
download | nettle-4961af0a52912d3bc43518d8d5ba17b7f8d60561.tar.gz |
* gcm.h (GCM_UPDATE): Renamed, from...
(GCM_AUTH): ...old name.
* gcm-aes.c (gcm_aes_update): Renamed, from...
(gcm_aes_auth): ...old name.
* gcm.c (gcm_update): Renamed, and fixed an assert. From...
(gcm_auth): ...old name.
Rev: nettle/ChangeLog:1.150
Rev: nettle/gcm-aes.c:1.3
Rev: nettle/gcm.c:1.14
Rev: nettle/gcm.h:1.11
Diffstat (limited to 'gcm-aes.c')
-rw-r--r-- | gcm-aes.c | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -39,13 +39,11 @@ gcm_aes_set_iv(struct gcm_aes_ctx *ctx, gcm_set_iv(&ctx->gcm, &ctx->key, length, iv); } -/* FIXME: Rename to gcm_aes_update, for consistency with other hash - and mac functions? */ void -gcm_aes_auth(struct gcm_aes_ctx *ctx, unsigned length, const uint8_t *data) +gcm_aes_update(struct gcm_aes_ctx *ctx, unsigned length, const uint8_t *data) { - GCM_AUTH(ctx, (nettle_crypt_func *) aes_encrypt, - length, data); + GCM_UPDATE(ctx, (nettle_crypt_func *) aes_encrypt, + length, data); } void |