summaryrefslogtreecommitdiff
path: root/gcm-aes256.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcm-aes256.c')
-rw-r--r--gcm-aes256.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcm-aes256.c b/gcm-aes256.c
index 3fb6c680..f15bb9ab 100644
--- a/gcm-aes256.c
+++ b/gcm-aes256.c
@@ -32,9 +32,8 @@
#include "gcm.h"
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)
{
- assert (length == AES256_KEY_SIZE);
GCM_SET_KEY(ctx, aes256_set_encrypt_key, aes256_encrypt, key);
}