From b8a91ebf46a927801866e99bb5a66ab00651424e Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 15 Apr 2014 16:40:48 +0200 Subject: common: Add z-base-32 encoder. * common/zb32.c: New. * common/t-zb32.c: New. * common/Makefile.am (common_sources): Add zb82.c (module_tests): Add t-zb32. --- common/util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common/util.h') diff --git a/common/util.h b/common/util.h index 4b3cbfc4d..4dad163c3 100644 --- a/common/util.h +++ b/common/util.h @@ -164,6 +164,8 @@ gpg_error_t b64dec_proc (struct b64state *state, void *buffer, size_t length, gpg_error_t b64dec_finish (struct b64state *state); +/*-- zb32.c --*/ +char *zb32_encode (const void *data, unsigned int databits); /*-- sexputil.c */ -- cgit v1.2.3