diff options
author | Niels Möller <nisse@lysator.liu.se> | 2013-04-26 09:23:44 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2013-04-26 09:23:44 +0200 |
commit | 3eb603d0d810b9298f5624aaa8a293c4b51e4b2a (patch) | |
tree | dfc2ec4ca53377b1735d507bc1c8ba3a249aa5b1 /salsa20-set-key.c | |
parent | 2b49c1792d48a99eff57a01bf31a8f5e765115c4 (diff) | |
download | nettle-3eb603d0d810b9298f5624aaa8a293c4b51e4b2a.tar.gz |
Use size_t rather than unsigned for all cipher-related functions.
Diffstat (limited to 'salsa20-set-key.c')
-rw-r--r-- | salsa20-set-key.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/salsa20-set-key.c b/salsa20-set-key.c index da4d6432..661aacc2 100644 --- a/salsa20-set-key.c +++ b/salsa20-set-key.c @@ -41,7 +41,7 @@ void salsa20_set_key(struct salsa20_ctx *ctx, - unsigned length, const uint8_t *key) + size_t length, const uint8_t *key) { static const uint32_t sigma[4] = { /* "expand 32-byte k" */ |