Commit c0042966 authored by Niels Möller's avatar Niels Möller
Browse files

(base64_encode_length, base64_decode_length): New

functions, corresponding to the macros with the same name.

Rev: src/nettle/base64-meta.c:1.3
parent b50028ee
......@@ -24,5 +24,18 @@
#include "base64.h"
/* Same as the macros with the same name */
static unsigned
base64_encode_length(unsigned length)
return BASE64_ENCODE_LENGTH(length);
static unsigned
base64_decode_length(unsigned length)
return BASE64_DECODE_LENGTH(length);
const struct nettle_armor nettle_base64
= _NETTLE_ARMOR(base64, BASE64);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment