summaryrefslogtreecommitdiff
path: root/base16.h
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2015-03-12 20:51:55 +0100
committerNiels Möller <nisse@lysator.liu.se>2015-03-12 20:59:24 +0100
commitb175384e4312a9ee0b8432fd411f4b968da8d557 (patch)
treefbe87e0ec26913ea1d2150426ea13e162b205d3c /base16.h
parentf8ef502e30c5f2c5e12d43a2c49790862934f065 (diff)
downloadnettle-b175384e4312a9ee0b8432fd411f4b968da8d557.tar.gz
Micro optimization of base64 and base16 context structs.
Diffstat (limited to 'base16.h')
-rw-r--r--base16.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/base16.h b/base16.h
index 3facfd4e..2579c0ef 100644
--- a/base16.h
+++ b/base16.h
@@ -74,8 +74,8 @@ base16_encode_update(uint8_t *dst,
struct base16_decode_ctx
{
- unsigned word; /* Leftover bits */
- unsigned bits; /* Number buffered bits */
+ unsigned char word; /* Leftover bits */
+ unsigned char bits; /* Number buffered bits */
};
void