diff options
author | Niels Möller <nisse@lysator.liu.se> | 2013-04-26 13:43:57 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2013-04-26 13:43:57 +0200 |
commit | 86fdb2ce31177028de997b98cc71b5027cf0bc1c (patch) | |
tree | 36354b55648781af22b5dc6c32862d2f3f70a6af /base16.h | |
parent | eb7c996e529a49b5eedeb064df275378486987d7 (diff) | |
download | nettle-86fdb2ce31177028de997b98cc71b5027cf0bc1c.tar.gz |
Use size_t rather than unsigned for base16, base64, nettle_bufer and sexp related functions.
Diffstat (limited to 'base16.h')
-rw-r--r-- | base16.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -54,7 +54,7 @@ base16_encode_single(uint8_t *dst, /* Always stores BASE16_ENCODE_LENGTH(length) digits in dst. */ void base16_encode_update(uint8_t *dst, - unsigned length, + size_t length, const uint8_t *src); @@ -90,9 +90,9 @@ base16_decode_single(struct base16_decode_ctx *ctx, * too small. FIXME: Return some error instead? */ int base16_decode_update(struct base16_decode_ctx *ctx, - unsigned *dst_length, + size_t *dst_length, uint8_t *dst, - unsigned src_length, + size_t src_length, const uint8_t *src); /* Returns 1 on success. */ |