summaryrefslogtreecommitdiff
path: root/gcm.h
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2014-01-29 15:13:54 +0100
committerNiels Möller <nisse@lysator.liu.se>2014-01-29 15:13:54 +0100
commit587855374c50562acf598660e173e76c6e3195bb (patch)
tree2a8169192ca0c6df7cdbf230094f497680996a67 /gcm.h
parentf508b1fe613f06c571bdc1997cd006f95874d4cb (diff)
downloadnettle-587855374c50562acf598660e173e76c6e3195bb.tar.gz
Dropped length argument from nettle_set_key_func.set_key-changes
Diffstat (limited to 'gcm.h')
-rw-r--r--gcm.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/gcm.h b/gcm.h
index f0548516..bee45318 100644
--- a/gcm.h
+++ b/gcm.h
@@ -167,8 +167,7 @@ gcm_digest(struct gcm_ctx *ctx, const struct gcm_key *key,
struct gcm_aes128_ctx GCM_CTX(struct aes128_ctx);
void
-gcm_aes128_set_key(struct gcm_aes128_ctx *ctx,
- size_t length, const uint8_t *key);
+gcm_aes128_set_key(struct gcm_aes128_ctx *ctx, const uint8_t *key);
/* FIXME: Define _update and _set_iv as some kind of aliaes,
there's nothing aes-specific. */
@@ -194,8 +193,7 @@ gcm_aes128_digest(struct gcm_aes128_ctx *ctx,
struct gcm_aes192_ctx GCM_CTX(struct aes192_ctx);
void
-gcm_aes192_set_key(struct gcm_aes192_ctx *ctx,
- size_t length, const uint8_t *key);
+gcm_aes192_set_key(struct gcm_aes192_ctx *ctx, const uint8_t *key);
void
gcm_aes192_update (struct gcm_aes192_ctx *ctx,
@@ -219,8 +217,7 @@ gcm_aes192_digest(struct gcm_aes192_ctx *ctx,
struct gcm_aes256_ctx GCM_CTX(struct aes256_ctx);
void
-gcm_aes256_set_key(struct gcm_aes256_ctx *ctx,
- size_t length, const uint8_t *key);
+gcm_aes256_set_key(struct gcm_aes256_ctx *ctx, const uint8_t *key);
void
gcm_aes256_update (struct gcm_aes256_ctx *ctx,