summaryrefslogtreecommitdiff
path: root/serpent-set-key.c
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2013-04-26 09:23:44 +0200
committerNiels Möller <nisse@lysator.liu.se>2013-04-26 09:23:44 +0200
commit3eb603d0d810b9298f5624aaa8a293c4b51e4b2a (patch)
treedfc2ec4ca53377b1735d507bc1c8ba3a249aa5b1 /serpent-set-key.c
parent2b49c1792d48a99eff57a01bf31a8f5e765115c4 (diff)
downloadnettle-3eb603d0d810b9298f5624aaa8a293c4b51e4b2a.tar.gz
Use size_t rather than unsigned for all cipher-related functions.
Diffstat (limited to 'serpent-set-key.c')
-rw-r--r--serpent-set-key.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/serpent-set-key.c b/serpent-set-key.c
index ae854fc4..ace57537 100644
--- a/serpent-set-key.c
+++ b/serpent-set-key.c
@@ -316,7 +316,7 @@ serpent_key_pad (const uint8_t *key, unsigned int key_length,
/* Initialize CONTEXT with the key KEY of KEY_LENGTH bits. */
void
serpent_set_key (struct serpent_ctx *ctx,
- unsigned length, const uint8_t * key)
+ size_t length, const uint8_t * key)
{
uint32_t w[8];
uint32_t (*keys)[4];