diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2011-03-23 11:34:47 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2011-03-23 11:34:47 +0100 |
commit | d83027b19bd25835cdfb467f56ac3481d75f7976 (patch) | |
tree | 5a716e2c884e2e8fe298faa5b80c41fdd7dfe9e3 /nettle-meta-armors.c | |
parent | 392b6d7d7f47c015183ada125d0e45f8433af49e (diff) | |
download | nettle-d83027b19bd25835cdfb467f56ac3481d75f7976.tar.gz |
Contributed by Daniel Kahn Gillmor:
* testsuite/Makefile.in (TS_NETTLE_SOURCES): Added
meta-hash-test.c, meta-cipher-test.c, and meta-armor-test.c.
* nettle.texinfo: Document nettle_hashes and nettle_ciphers.
* nettle-meta.h: Declare algorithm lists nettle_ciphers,
nettle_hashes, nettle_armors.
* Makefile.in (nettle_SOURCES): Added nettle-meta-hashes.c,
nettle-meta-ciphers.c, and nettle-meta-armors.c.
* nettle-meta-armors.c: New file.
* nettle-meta-ciphers.c: New file.
* nettle-meta-hashes.c: New file.
Rev: nettle/ChangeLog:1.159
Rev: nettle/Makefile.in:1.32
Rev: nettle/nettle-meta-armors.c:1.1
Rev: nettle/nettle-meta-ciphers.c:1.1
Rev: nettle/nettle-meta-hashes.c:1.1
Rev: nettle/nettle-meta.h:1.10
Rev: nettle/nettle.texinfo:1.22
Diffstat (limited to 'nettle-meta-armors.c')
-rw-r--r-- | nettle-meta-armors.c | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/nettle-meta-armors.c b/nettle-meta-armors.c new file mode 100644 index 00000000..360006d8 --- /dev/null +++ b/nettle-meta-armors.c @@ -0,0 +1,34 @@ +/* nettle-meta-armors.c */ + +/* nettle, low-level cryptographics library + * + * Copyright (C) 2011 Daniel Kahn Gillmor + * + * The nettle library is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation; either version 2.1 of the License, or (at your + * option) any later version. + * + * The nettle library is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with the nettle library; see the file COPYING.LIB. If not, write to + * the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, + * MA 02111-1307, USA. + */ + +#if HAVE_CONFIG_H +# include "config.h" +#endif + +#include <stddef.h> +#include "nettle-meta.h" + +const struct nettle_armor * const nettle_armors[] = { + &nettle_base64, + &nettle_base16, + NULL +}; |