summaryrefslogtreecommitdiff
path: root/nettle-types.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 /nettle-types.h
parentf508b1fe613f06c571bdc1997cd006f95874d4cb (diff)
downloadnettle-587855374c50562acf598660e173e76c6e3195bb.tar.gz
Dropped length argument from nettle_set_key_func.set_key-changes
Diffstat (limited to 'nettle-types.h')
-rw-r--r--nettle-types.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/nettle-types.h b/nettle-types.h
index 148ac4df..fe3c5246 100644
--- a/nettle-types.h
+++ b/nettle-types.h
@@ -2,7 +2,7 @@
/* nettle, low-level cryptographics library
*
- * Copyright (C) 2005 Niels Möller
+ * Copyright (C) 2005, 2014 Niels Möller
*
* The nettle library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
@@ -52,9 +52,7 @@ typedef void nettle_progress_func(void *ctx, int c);
typedef void *nettle_realloc_func(void *ctx, void *p, size_t length);
/* Ciphers */
-typedef void nettle_set_key_func(void *ctx,
- size_t length,
- const uint8_t *key);
+typedef void nettle_set_key_func(void *ctx, const uint8_t *key);
/* Uses a void * for cipher contexts.