debian/0000755000000000000000000000000012151435645007174 5ustar debian/nettle-bin.manpages0000644000000000000000000000013011617253717012750 0ustar debian/sexp-conv.1 debian/pkcs1-conv.1 debian/nettle-lfib-stream.1 debian/nettle-hash.1 debian/libnettle4.install0000644000000000000000000000003211617255625012631 0ustar usr/lib/*/libnettle*.so.* debian/copyright0000644000000000000000000003165111771325277011143 0ustar Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=174 Upstream-Name: Nettle Upstream-Contact: Niels Möller Source: http://www.lysator.liu.se/~nisse/nettle/ Copyright: © 2001-2011 Niels Möller Some parts are Copyright © the Free Software Foundation and various people. See below and source code comments for details. License: LGPL-2.1+ Comment: Nettle is distributed under the GNU Lesser General Public License (LGPL). A few of the individual files are in the public domain. To find the current status of particular files, you have to read the copyright notices at the top of the files. . A list of the supported algorithms, their origins and licenses (from the manual): . AES The implementation of the AES cipher (also known as rijndael) is written by Rafael Sevilla. Assembler for x86 by Rafael Sevilla and Niels Möller, Sparc assembler by Niels Möller. Released under the LGPL. . ARCFOUR The implementation of the ARCFOUR (also known as RC4) cipher is written by Niels Möller. Released under the LGPL. . ARCTWO The implementation of the ARCTWO (also known as RC2) cipher is written by Nikos Mavroyanopoulos and modified by Werner Koch and Simon Josefsson. Released under the LGPL. . BLOWFISH The implementation of the BLOWFISH cipher is written by Werner Koch, copyright owned by the Free Software Foundation. Also hacked by Simon Josefsson and Niels Möller. Released under the LGPL. . CAMELLIA The C implementation is by Nippon Telegraph and Telephone Corporation (NTT), heavily modified by Niels Möller. Assembler for x86 and x86_64 by Niels Möller. Released under the LGPL. . CAST128 The implementation of the CAST128 cipher is written by Steve Reid. Released into the public domain. . DES The implementation of the DES cipher is written by Dana L. How, and released under the LGPL. . MD2 The implementation of MD2 is written by Andrew Kuchling, and hacked some by Andreas Sigfridsson and Niels Möller. Python Cryptography Toolkit license (essentially public domain). . MD4 This is almost the same code as for MD5 below, with modifications by Marcus Comstedt. Released into the public domain. . MD5 The implementation of the MD5 message digest is written by Colin Plumb. It has been hacked some more by Andrew Kuchling and Niels Möller. Released into the public domain. . SERPENT The implementation of the SERPENT is based on the code in libgcrypt, copyright owned by the Free Software Foundation. Adapted to Nettle by Simon Josefsson and heavily modified by Niels Möller. Assembly for x86_64 by Niels Möller. Released under the LGPL. . SHA1 The C implementation of the SHA1 message digest is written by Peter Gutmann, and hacked some more by Andrew Kuchling and Niels Möller. Released into the public domain. Assembler for x86 by Niels Möller, released under the LGPL. . SHA224, SHA256, SHA384, and SHA512 Written by Niels Möller, using Peter Gutmann's SHA1 code as a model. Released under the LGPL. . TWOFISH The implementation of the TWOFISH cipher is written by Ruud de Rooij. Released under the LGPL. . RSA Written by Niels Möller, released under the LGPL. Uses the GMP library for bignum operations. . DSA Written by Niels Möller, released under the LGPL. Uses the GMP library for bignum operations. Files: * Copyright: © 2001-2011 Niels Möller License: LGPL-2.1+ Files: aes-set-* Copyright: © 2000, 2001, 2002 Rafael R. Sevilla, Niels Möller License: LGPL-2.1+ Files: arctwo* Copyright: © 2003 Nikos Mavroyanopoulos © 2004 Simon Josefsson © 2004 Free Software Foundation, Inc. © 2002, 2004 Niels Möller License: LGPL-2.1+ Files: base64.h base64-meta.c Copyright: © 2002 Dan Egnor © 2002 Niels Möller License: LGPL-2.1+ Files: blowfish.c Copyright: © 1998, 2001, 2002, 2003 Free Software Foundation, Inc. © 2010 Simon Josefsson License: LGPL-2.1+ Files: blowfish.h Copyright: © 1998, 2001 Free Software Foundation, Inc. © 1998, 2001 Ray Dassen © 1998, 2001 Niels Möller License: LGPL-2.1+ Files: camellia-table.c camellia-crypt-internal.c Copyright: © 2006, 2007 NTT (Nippon Telegraph and Telephone Corporation) © 2010 Niels Möller License: LGPL-2.1+ Files: der2dsa.c Copyright: © 2005, 2009 Niels Möller © 2009 Magnus Holmgren License: LGPL-2.1+ Files: desCode.h descode.README desdata.c desinfo.c Copyright: © 2002 Dana L. How License: LGPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program 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 Library General Public License for more details. . You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. . On Debian GNU/Linux systems, the complete text of the GNU Library General Public License, version 2, can be found in /usr/share/common-licenses/LGPL-2. Files: des.c des.h Copyright: © 1992 Dana L. How © 1997, 2001 Niels Möller License: LGPL-2.1+ Files: gcm.c gcm.h Copyright: © 2011 Katholieke Universiteit Leuven © 2011 Niels Möller License: LGPL-2.1+ Files: md2.c Copyright: © ? Andrew Kuchling © 2003 Andreas Sigfridsson © 2003 Niels Möller License: LGPL-2.1+ Files: md4.c Copyright: © 2003 Marcus Comstedt © 2003 Niels Möller License: LGPL-2.1+ Files: md5.c md5-compress.c Copyright: © Colin Plumb, Andrew Kuchling © 2001 Niels Möller License: LGPL-2.1+ Files: memxor.c Copyright: © 1991,1993, 1995 Free Software Foundation, Inc. © 2010 Niels Möller License: LGPL-2.1+ Files: ripemd160.c ripemd160-compress.c Copyright: © 1998, 2001, 2002, 2003 Free Software Foundation, Inc. License: LGPL-2.1+ Files: ripemd160-meta.c ripemd160.h Copyright: © 2011 Andres Mejia License: LGPL-2.1+ Files: serpent-encrypt.c serpent-decrypt.c serpent-set-key.c Copyright: © 1998 Ross Anderson, Eli Biham, Lars Knudsen © 2003, 2004, 2005 Free Software Foundation, Inc. © 2010, 2011 Simon Josefsson © 2011 Niels Möller License: LGPL-2.1+ Files: sha* Copyright: © 2001, 2004 Peter Gutmann, Andrew Kuchling, Niels Möller License: LGPL-2.1+ Files: twofish* Copyright: © 1999 Ruud de Rooij © 1999 J.H.M. Dassen (Ray) © 2001 Niels Möller License: LGPL-2.1+ Files: dsa2sexp.c Copyright: © 2002, 2009 Niels Möller © 2009 Magnus Holmgren License: LGPL-2.1+ Files: testsuite/des-compat-test.c Copyright: © 1995-1997 Eric Young (eay@cryptsoft.com) License: other Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. All advertising materials mentioning features or use of this software must display the following acknowledgement: "This product includes cryptographic software written by Eric Young (eay@cryptsoft.com)" The word 'cryptographic' can be left out if the rouines from the library being used are not cryptographic related :-). 4. If you include any Windows specific code (or a derivative thereof) from the apps directory (application code) you must include an acknowledgement: "This product includes software written by Tim Hudson (tjh@cryptsoft.com)" . THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: tools/pkcs1-conv.c Copyright: © 2005, 2009 Niels Möller © 2009 Magnus Holmgren License: LGPL-2.1+ Files: x86*/aes-*-internal.asm Copyright: © 2001, 2002, 2005, 2008 Rafael R. Sevilla © 2001, 2002, 2005, 2008 Niels Möller License: LGPL-2.1+ Files: tools/getopt* Copyright: © 1987-2001 Free Software Foundation, Inc. License: GPL-2+ Files: config.guess config.sub Copyright: © 1992-2003 Free Software Foundation, Inc. License: GPL-2+ As a special exception to the GNU General Public License, if you distribute this file as part of a program that contains a configuration script generated by Autoconf, you may include it under the same distribution terms that you use for the rest of that program. Files: debian/* Copyright: none License: public-domain I believe that most files in debian/ hardly contains any creative expression eligible for copyright. Files: debian/sexp-conv.1 Copyright: © 2002 Timshel Knoll © 2007 Magnus Holmgren License: GPL-2 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 dated June. 1991. . This program 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 General Public License for more details. . You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. . On Debian GNU/Linux systems, the complete text of the GNU General Public License, version 2, can be found in /usr/share/common-licenses/GPL-2. Comment: This manpage was copied from the lsh-utils package. Timshel didn't explicitly select a license for his packaging work, but I think that it can be considered released under the same license as LSH itself. Files: debian/pkcs1-conv.1 debian/nettle-lfib-stream.1 Copyright: © 2007 Magnus Holmgren License: GAP Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. License: LGPL-2.1+ 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 this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian GNU/Linux systems, the complete text of the newest version of the GNU Lesser General Public License can be found in /usr/share/common-licenses/LGPL. License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program 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 General Public License for more details. . You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. . On Debian GNU/Linux systems, the complete text of the newest version of the GNU General Public License can be found in /usr/share/common-licenses/GPL. debian/nettle-hash.10000644000000000000000000000420511617264611011472 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH SEXP\-CONV 1 "July 2011" "nettle 2.2" "Nettle tools" .\" Please adjust this date whenever revising the manpage. .SH NAME nettle\-hash \- compute message digests .SH SYNOPSIS .B nettle-hash -a .I ALGORITHM .RI [ OPTIONS ] .RI [ FILE ]... .SH DESCRIPTION This manual page documents briefly the .B nettle\-hash command. This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. Instead, it has documentation in the GNU Info format; see below. .PP .\" TeX users may be more comfortable with the \fB\fP and .\" \fI\fP escape sequences to invode bold face and italics, .\" respectively. \fBnettle\-hash\fP is a program that computes various message digests. The output is different from the familiar md5sum and sha*sum family. For each file, the file name and a colon is printed first, unless input is read from standard input, in which case nothing is printed. Then the hash is printed in chunks of 64 bits (16 hexadecimal digits) followed by the name of the algorithm. In raw (binary) mode, the hash is not split in chunks and is not followed by a newline. .SH OPTIONS This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. For a complete description, see the Info files. .TP .B \-a, \-\-algorithm=\fIalgorithm\fP Compute hash using \fIalgorithm\fP. .TP .B \-l, \-\-length=\fIlength\fP Truncate digests at \fIlength\fP octets. It is an error to specify a \fIlength\fP greater than the normal length of the selected digest. .TP .B \-\-list List supported hash algorithms. .TP .B \-\-help Show summary of options. .TP .B \-V, \-\-version Show version of program. .SH SEE ALSO .BR md5sum (1), .BR sha1sum (1), etc. .SH AUTHOR This manual page was originally written by Magnus Holmgren , for the Debian GNU/Linux system (but may be used by others). debian/nettle-bin.links0000644000000000000000000000006211514646372012300 0ustar usr/share/doc/libnettle4 usr/share/doc/nettle-bin debian/source/0000755000000000000000000000000012151435563010473 5ustar debian/source/format0000644000000000000000000000001411515371153011676 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000056512141245013010216 0ustar version=3 opts=uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)[\-\.]?\d*)$/$1~$2/ \ ftp://ftp.lysator.liu.se/pub/security/lsh/nettle-(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz)) opts=uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)[\-\.]?\d*)$/$1~$2/ \ http://www.lysator.liu.se/~nisse/archive/nettle-(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz)) debian/libhogweed2.install0000644000000000000000000000003311617255625012757 0ustar usr/lib/*/libhogweed*.so.* debian/patches/0000755000000000000000000000000012151435563010622 5ustar debian/nettle-lfib-stream.10000644000000000000000000000375311002464660012755 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH NETTLE\-LFIB\-STREAM 1 "June 2007" "nettle 1.15" "Nettle tools" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME nettle\-lfib\-stream \- pseudorandom generator .SH SYNOPSIS .B nettle\-lfib\-stream .RI [ seed ] .SH DESCRIPTION This manual page documents briefly the .B nettle\-lfib\-stream command. This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. .PP .\" TeX users may be more comfortable with the \fB\fP and .\" \fI\fP escape sequences to invode bold face and italics, .\" respectively. \fBnettle\-lfib\-stream\fP outputs a sequence of pseudorandom (non-cryptographic) bytes, using Knuth's lagged fibonacci generator, optionally using the integer \fIseed\fR as the seed. If no seed is given, \fBtime\fR(2) is used. .PP \fBWarning:\fP The stream is useful for testing, but should not be used to generate cryptographic keys or anything else that needs real randomness. .SH SEE ALSO http://en.wikipedia.org/wiki/Lagged_Fibonacci_generator .SH AUTHOR This manual page was written by Magnus Holmgren , for the Debian GNU/Linux system (but may be used by others). .SH COPYRIGHT Copyright © 2007 Magnus Holmgren. .P Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. debian/nettle-dev.info0000644000000000000000000000001411235142250012100 0ustar nettle.info debian/libnettle4.symbols0000644000000000000000000001720412141245001012640 0ustar libnettle.so.4 libnettle4 #MINVER# _nettle_aes_decrypt@Base 0 _nettle_aes_encrypt@Base 0 _nettle_aes_encrypt_table@Base 0 _nettle_camellia_crypt@Base 0 _nettle_camellia_table@Base 0 _nettle_md5_compress@Base 0 _nettle_ripemd160_compress@Base 2.3 _nettle_salsa20_core@Base 2.6 _nettle_sha1_compress@Base 0 _nettle_sha256_compress@Base 0 _nettle_sha3_pad@Base 2.6 _nettle_sha3_update@Base 2.6 _nettle_sha512_compress@Base 0 _nettle_umac_l2@Base 2.7 _nettle_umac_l2_final@Base 2.7 _nettle_umac_l2_init@Base 2.7 _nettle_umac_l3@Base 2.7 _nettle_umac_l3_init@Base 2.7 _nettle_umac_nh@Base 2.7 _nettle_umac_nh_n@Base 2.7 _nettle_umac_poly128@Base 2.7 _nettle_umac_poly64@Base 2.7 _nettle_umac_set_key@Base 2.7 _nettle_write_be32@Base 0 _nettle_write_le32@Base 2.3 _nettle_write_le64@Base 2.6 memxor3@Base 0 memxor@Base 0 nettle_MD5Final@Base 0 nettle_MD5Init@Base 0 nettle_MD5Update@Base 0 nettle_aes128@Base 0 nettle_aes192@Base 0 nettle_aes256@Base 0 nettle_aes_decrypt@Base 0 nettle_aes_encrypt@Base 0 nettle_aes_invert_key@Base 0 nettle_aes_set_decrypt_key@Base 0 nettle_aes_set_encrypt_key@Base 0 nettle_arcfour128@Base 0 nettle_arcfour_crypt@Base 0 nettle_arcfour_set_key@Base 0 nettle_arctwo128@Base 0 nettle_arctwo40@Base 0 nettle_arctwo64@Base 0 nettle_arctwo_decrypt@Base 0 nettle_arctwo_encrypt@Base 0 nettle_arctwo_gutmann128@Base 0 nettle_arctwo_set_key@Base 0 nettle_arctwo_set_key_ekb@Base 0 nettle_arctwo_set_key_gutmann@Base 0 nettle_armors@Base 2.2 nettle_base16@Base 0 nettle_base16_decode_final@Base 0 nettle_base16_decode_init@Base 0 nettle_base16_decode_single@Base 0 nettle_base16_decode_update@Base 0 nettle_base16_encode_single@Base 0 nettle_base16_encode_update@Base 0 nettle_base64@Base 0 nettle_base64_decode_final@Base 0 nettle_base64_decode_init@Base 0 nettle_base64_decode_single@Base 0 nettle_base64_decode_update@Base 0 nettle_base64_encode_final@Base 0 nettle_base64_encode_group@Base 0 nettle_base64_encode_init@Base 0 nettle_base64_encode_raw@Base 0 nettle_base64_encode_single@Base 0 nettle_base64_encode_update@Base 0 nettle_blowfish_decrypt@Base 0 nettle_blowfish_encrypt@Base 0 nettle_blowfish_set_key@Base 0 nettle_buffer_clear@Base 0 nettle_buffer_copy@Base 0 nettle_buffer_grow@Base 0 nettle_buffer_init@Base 0 nettle_buffer_init_realloc@Base 0 nettle_buffer_init_size@Base 0 nettle_buffer_reset@Base 0 nettle_buffer_space@Base 0 nettle_buffer_write@Base 0 nettle_camellia128@Base 0 nettle_camellia192@Base 0 nettle_camellia256@Base 0 nettle_camellia_crypt@Base 0 nettle_camellia_invert_key@Base 0 nettle_camellia_set_decrypt_key@Base 0 nettle_camellia_set_encrypt_key@Base 0 nettle_cast128@Base 0 nettle_cast128_decrypt@Base 0 nettle_cast128_encrypt@Base 0 nettle_cast128_set_key@Base 0 nettle_cbc_decrypt@Base 0 nettle_cbc_encrypt@Base 0 nettle_ciphers@Base 2.2 nettle_ctr_crypt@Base 0 nettle_des3_decrypt@Base 0 nettle_des3_encrypt@Base 0 nettle_des3_set_key@Base 0 nettle_des_check_parity@Base 0 nettle_des_decrypt@Base 0 nettle_des_encrypt@Base 0 nettle_des_fix_parity@Base 0 nettle_des_set_key@Base 0 nettle_gcm_aes_decrypt@Base 2.2 nettle_gcm_aes_digest@Base 2.2 nettle_gcm_aes_encrypt@Base 2.2 nettle_gcm_aes_set_iv@Base 2.2 nettle_gcm_aes_set_key@Base 2.2 nettle_gcm_aes_update@Base 2.2 nettle_gcm_decrypt@Base 2.2 nettle_gcm_digest@Base 2.2 nettle_gcm_encrypt@Base 2.2 nettle_gcm_set_iv@Base 2.2 nettle_gcm_set_key@Base 2.2 nettle_gcm_update@Base 2.2 nettle_gosthash94@Base 2.6 nettle_gosthash94_digest@Base 2.6 nettle_gosthash94_init@Base 2.6 nettle_gosthash94_update@Base 2.6 nettle_hashes@Base 2.2 nettle_hmac_digest@Base 0 nettle_hmac_md5_digest@Base 0 nettle_hmac_md5_set_key@Base 0 nettle_hmac_md5_update@Base 0 nettle_hmac_ripemd160_digest@Base 2.3 nettle_hmac_ripemd160_set_key@Base 2.3 nettle_hmac_ripemd160_update@Base 2.3 nettle_hmac_set_key@Base 0 nettle_hmac_sha1_digest@Base 0 nettle_hmac_sha1_set_key@Base 0 nettle_hmac_sha1_update@Base 0 nettle_hmac_sha224_digest@Base 0 nettle_hmac_sha224_set_key@Base 0 nettle_hmac_sha256_digest@Base 0 nettle_hmac_sha256_set_key@Base 0 nettle_hmac_sha256_update@Base 0 nettle_hmac_sha384_digest@Base 0 nettle_hmac_sha384_set_key@Base 0 nettle_hmac_sha512_digest@Base 0 nettle_hmac_sha512_set_key@Base 0 nettle_hmac_sha512_update@Base 0 nettle_hmac_update@Base 0 nettle_knuth_lfib_get@Base 0 nettle_knuth_lfib_get_array@Base 0 nettle_knuth_lfib_init@Base 0 nettle_knuth_lfib_random@Base 0 nettle_md2@Base 0 nettle_md2_digest@Base 0 nettle_md2_init@Base 0 nettle_md2_update@Base 0 nettle_md4@Base 0 nettle_md4_digest@Base 0 nettle_md4_init@Base 0 nettle_md4_update@Base 0 nettle_md5@Base 0 nettle_md5_digest@Base 0 nettle_md5_init@Base 0 nettle_md5_update@Base 0 nettle_openssl_des_cbc_cksum@Base 0 nettle_openssl_des_cbc_encrypt@Base 0 nettle_openssl_des_check_key@Base 0 nettle_openssl_des_ecb3_encrypt@Base 0 nettle_openssl_des_ecb_encrypt@Base 0 nettle_openssl_des_ede3_cbc_encrypt@Base 0 nettle_openssl_des_is_weak_key@Base 0 nettle_openssl_des_key_sched@Base 0 nettle_openssl_des_ncbc_encrypt@Base 0 nettle_openssl_des_set_odd_parity@Base 0 nettle_pbkdf2@Base 2.6 nettle_pbkdf2_hmac_sha1@Base 2.6 nettle_pbkdf2_hmac_sha256@Base 2.6 nettle_realloc@Base 0 nettle_ripemd160@Base 2.3 nettle_ripemd160_digest@Base 2.3 nettle_ripemd160_init@Base 2.3 nettle_ripemd160_update@Base 2.3 nettle_salsa20_crypt@Base 2.5 nettle_salsa20_set_iv@Base 2.5 nettle_salsa20_set_key@Base 2.5 nettle_salsa20r12_crypt@Base 2.7 nettle_serpent128@Base 0 nettle_serpent192@Base 0 nettle_serpent256@Base 0 nettle_serpent_decrypt@Base 0 nettle_serpent_encrypt@Base 0 nettle_serpent_set_key@Base 0 nettle_sha1@Base 0 nettle_sha1_digest@Base 0 nettle_sha1_init@Base 0 nettle_sha1_update@Base 0 nettle_sha224@Base 0 nettle_sha224_digest@Base 0 nettle_sha224_init@Base 0 nettle_sha256@Base 0 nettle_sha256_digest@Base 0 nettle_sha256_init@Base 0 nettle_sha256_update@Base 0 nettle_sha384@Base 0 nettle_sha384_digest@Base 0 nettle_sha384_init@Base 0 nettle_sha3_224@Base 2.6 nettle_sha3_224_digest@Base 2.6 nettle_sha3_224_init@Base 2.6 nettle_sha3_224_update@Base 2.6 nettle_sha3_256@Base 2.6 nettle_sha3_256_digest@Base 2.6 nettle_sha3_256_init@Base 2.6 nettle_sha3_256_update@Base 2.6 nettle_sha3_384@Base 2.6 nettle_sha3_384_digest@Base 2.6 nettle_sha3_384_init@Base 2.6 nettle_sha3_384_update@Base 2.6 nettle_sha3_512@Base 2.6 nettle_sha3_512_digest@Base 2.6 nettle_sha3_512_init@Base 2.6 nettle_sha3_512_update@Base 2.6 nettle_sha3_permute@Base 2.6 nettle_sha512@Base 0 nettle_sha512_digest@Base 0 nettle_sha512_init@Base 0 nettle_sha512_update@Base 0 nettle_twofish128@Base 0 nettle_twofish192@Base 0 nettle_twofish256@Base 0 nettle_twofish_decrypt@Base 0 nettle_twofish_encrypt@Base 0 nettle_twofish_set_key@Base 0 nettle_umac128_digest@Base 2.7 nettle_umac128_set_key@Base 2.7 nettle_umac128_set_nonce@Base 2.7 nettle_umac128_update@Base 2.7 nettle_umac32_digest@Base 2.7 nettle_umac32_set_key@Base 2.7 nettle_umac32_set_nonce@Base 2.7 nettle_umac32_update@Base 2.7 nettle_umac64_digest@Base 2.7 nettle_umac64_set_key@Base 2.7 nettle_umac64_set_nonce@Base 2.7 nettle_umac64_update@Base 2.7 nettle_umac96_digest@Base 2.7 nettle_umac96_set_key@Base 2.7 nettle_umac96_set_nonce@Base 2.7 nettle_umac96_update@Base 2.7 nettle_xrealloc@Base 0 nettle_yarrow256_fast_reseed@Base 0 nettle_yarrow256_init@Base 0 nettle_yarrow256_is_seeded@Base 0 nettle_yarrow256_needed_sources@Base 0 nettle_yarrow256_random@Base 0 nettle_yarrow256_seed@Base 0 nettle_yarrow256_slow_reseed@Base 0 nettle_yarrow256_update@Base 0 nettle_yarrow_key_event_estimate@Base 0 nettle_yarrow_key_event_init@Base 0 debian/nettle-dev.docs0000644000000000000000000000006711235142250012105 0ustar README NEWS descore.README TODO nettle.html nettle.pdf debian/libhogweed2.symbols0000644000000000000000000001642612142536645013014 0ustar libhogweed.so.2 libhogweed2 #MINVER# _nettle_cnd_copy@Base 2.7 _nettle_dsa_sign@Base 0 _nettle_dsa_verify@Base 0 _nettle_ecc_generic_modp@Base 2.7 _nettle_ecc_generic_modq@Base 2.7 _nettle_ecc_generic_redc@Base 2.7 _nettle_ecc_hash@Base 2.7 _nettle_ecc_mod@Base 2.7 _nettle_ecc_modp_add@Base 2.7 _nettle_ecc_modp_addmul_1@Base 2.7 _nettle_ecc_modp_inv@Base 2.7 _nettle_ecc_modp_mul@Base 2.7 _nettle_ecc_modp_mul_1@Base 2.7 _nettle_ecc_modp_sqr@Base 2.7 _nettle_ecc_modp_sub@Base 2.7 _nettle_ecc_modp_sub_1@Base 2.7 _nettle_ecc_modp_submul_1@Base 2.7 _nettle_ecc_modq_add@Base 2.7 _nettle_ecc_modq_inv@Base 2.7 _nettle_ecc_modq_mul@Base 2.7 _nettle_ecc_modq_random@Base 2.7 _nettle_generate_pocklington_prime@Base 0 _nettle_gmp_alloc_limbs@Base 2.7 _nettle_gmp_free_limbs@Base 2.7 _nettle_mpn_set_base256@Base 2.7 _nettle_mpz_limbs_cmp@Base 2.7 _nettle_mpz_limbs_copy@Base 2.7 _nettle_mpz_limbs_finish@Base 2.7 _nettle_mpz_limbs_modify@Base 2.7 _nettle_mpz_limbs_read@Base 2.7 _nettle_mpz_limbs_read_n@Base 2.7 _nettle_mpz_limbs_write@Base 2.7 _nettle_mpz_roinit_n@Base 2.7 _nettle_mpz_set_n@Base 2.7 _nettle_pkcs1_signature_prefix@Base 2.5 _nettle_rsa_blind@Base 2.5 _nettle_rsa_check_size@Base 0 _nettle_rsa_unblind@Base 2.5 _nettle_rsa_verify@Base 0 _nettle_sec_add_1@Base 2.7 _nettle_sec_modinv@Base 2.7 _nettle_sec_sub_1@Base 2.7 _nettle_sec_tabselect@Base 2.7 nettle_R_SignFinal@Base 0 nettle_R_SignInit@Base 0 nettle_R_SignUpdate@Base 0 nettle_R_VerifyFinal@Base 0 nettle_R_VerifyInit@Base 0 nettle_R_VerifyUpdate@Base 0 nettle_asn1_der_decode_bitstring@Base 0 nettle_asn1_der_decode_bitstring_last@Base 0 nettle_asn1_der_decode_constructed@Base 0 nettle_asn1_der_decode_constructed_last@Base 0 nettle_asn1_der_get_bignum@Base 0 nettle_asn1_der_get_uint32@Base 0 nettle_asn1_der_iterator_first@Base 0 nettle_asn1_der_iterator_next@Base 0 nettle_dsa_generate_keypair@Base 0 nettle_dsa_keypair_from_sexp_alist@Base 0 nettle_dsa_keypair_to_sexp@Base 0 nettle_dsa_openssl_private_key_from_der_iterator@Base 0 nettle_dsa_params_from_der_iterator@Base 0 nettle_dsa_private_key_clear@Base 0 nettle_dsa_private_key_init@Base 0 nettle_dsa_public_key_clear@Base 0 nettle_dsa_public_key_from_der_iterator@Base 0 nettle_dsa_public_key_init@Base 0 nettle_dsa_sha1_keypair_from_sexp@Base 0 nettle_dsa_sha1_sign@Base 0 nettle_dsa_sha1_sign_digest@Base 0 nettle_dsa_sha1_verify@Base 0 nettle_dsa_sha1_verify_digest@Base 0 nettle_dsa_sha256_keypair_from_sexp@Base 0 nettle_dsa_sha256_sign@Base 0 nettle_dsa_sha256_sign_digest@Base 0 nettle_dsa_sha256_verify@Base 0 nettle_dsa_sha256_verify_digest@Base 0 nettle_dsa_signature_clear@Base 0 nettle_dsa_signature_from_sexp@Base 0 nettle_dsa_signature_init@Base 0 (arch=any-amd64 armel armhf)nettle_ecc_192_modp@Base 2.7 (arch=any-amd64 armel armhf)nettle_ecc_224_modp@Base 2.7 (arch=any-amd64 armel armhf)nettle_ecc_256_redc@Base 2.7 (arch=any-amd64 armel armhf)nettle_ecc_384_modp@Base 2.7 (arch=any-amd64 armel armhf)nettle_ecc_521_modp@Base 2.7 nettle_ecc_a_to_j@Base 2.7 nettle_ecc_add_jja@Base 2.7 nettle_ecc_add_jja_itch@Base 2.7 nettle_ecc_add_jjj@Base 2.7 nettle_ecc_add_jjj_itch@Base 2.7 nettle_ecc_dup_jj@Base 2.7 nettle_ecc_dup_jj_itch@Base 2.7 nettle_ecc_ecdsa_sign@Base 2.7 nettle_ecc_ecdsa_sign_itch@Base 2.7 nettle_ecc_ecdsa_verify@Base 2.7 nettle_ecc_ecdsa_verify_itch@Base 2.7 nettle_ecc_j_to_a@Base 2.7 nettle_ecc_j_to_a_itch@Base 2.7 nettle_ecc_mul_a@Base 2.7 nettle_ecc_mul_a_itch@Base 2.7 nettle_ecc_mul_g@Base 2.7 nettle_ecc_mul_g_itch@Base 2.7 nettle_ecc_point_clear@Base 2.7 nettle_ecc_point_get@Base 2.7 nettle_ecc_point_init@Base 2.7 nettle_ecc_point_mul@Base 2.7 nettle_ecc_point_mul_g@Base 2.7 nettle_ecc_point_set@Base 2.7 nettle_ecc_scalar_clear@Base 2.7 nettle_ecc_scalar_get@Base 2.7 nettle_ecc_scalar_init@Base 2.7 nettle_ecc_scalar_random@Base 2.7 nettle_ecc_scalar_set@Base 2.7 nettle_ecc_size@Base 2.7 nettle_ecc_size_a@Base 2.7 nettle_ecc_size_j@Base 2.7 nettle_ecdsa_generate_keypair@Base 2.7 nettle_ecdsa_sign@Base 2.7 nettle_ecdsa_verify@Base 2.7 nettle_mpz_get_str_256@Base 0 nettle_mpz_init_set_str_256_s@Base 0 nettle_mpz_init_set_str_256_u@Base 0 nettle_mpz_random@Base 0 nettle_mpz_random_size@Base 0 nettle_mpz_set_sexp@Base 0 nettle_mpz_set_str_256_s@Base 0 nettle_mpz_set_str_256_u@Base 0 nettle_mpz_sizeinbase_256_s@Base 0 nettle_mpz_sizeinbase_256_u@Base 0 nettle_next_prime@Base 0 nettle_openssl_provate_key_from_der@Base 0 nettle_pgp_armor@Base 0 nettle_pgp_crc24@Base 0 nettle_pgp_put_header@Base 0 nettle_pgp_put_header_length@Base 0 nettle_pgp_put_length@Base 0 nettle_pgp_put_mpi@Base 0 nettle_pgp_put_public_rsa_key@Base 0 nettle_pgp_put_rsa_sha1_signature@Base 0 nettle_pgp_put_string@Base 0 nettle_pgp_put_sub_packet@Base 0 nettle_pgp_put_uint16@Base 0 nettle_pgp_put_uint32@Base 0 nettle_pgp_put_userid@Base 0 nettle_pgp_sub_packet_end@Base 0 nettle_pgp_sub_packet_start@Base 0 nettle_pkcs1_decrypt@Base 2.5 nettle_pkcs1_encrypt@Base 2.5 nettle_pkcs1_rsa_digest_encode@Base 2.5 nettle_pkcs1_rsa_md5_encode@Base 0 nettle_pkcs1_rsa_md5_encode_digest@Base 0 nettle_pkcs1_rsa_sha1_encode@Base 0 nettle_pkcs1_rsa_sha1_encode_digest@Base 0 nettle_pkcs1_rsa_sha256_encode@Base 0 nettle_pkcs1_rsa_sha256_encode_digest@Base 0 nettle_pkcs1_rsa_sha512_encode@Base 0 nettle_pkcs1_rsa_sha512_encode_digest@Base 0 nettle_random_prime@Base 0 nettle_rsa_compute_root@Base 0 nettle_rsa_decrypt@Base 0 nettle_rsa_decrypt_tr@Base 2.5 nettle_rsa_encrypt@Base 0 nettle_rsa_generate_keypair@Base 0 nettle_rsa_keypair_from_der@Base 0 nettle_rsa_keypair_from_sexp@Base 0 nettle_rsa_keypair_from_sexp_alist@Base 0 nettle_rsa_keypair_to_openpgp@Base 0 nettle_rsa_keypair_to_sexp@Base 0 nettle_rsa_md5_sign@Base 0 nettle_rsa_md5_sign_digest@Base 0 nettle_rsa_md5_verify@Base 0 nettle_rsa_md5_verify_digest@Base 0 nettle_rsa_pkcs1_sign@Base 2.5 nettle_rsa_pkcs1_sign_tr@Base 2.5 nettle_rsa_pkcs1_verify@Base 2.5 nettle_rsa_private_key_clear@Base 0 nettle_rsa_private_key_from_der_iterator@Base 0 nettle_rsa_private_key_init@Base 0 nettle_rsa_private_key_prepare@Base 0 nettle_rsa_public_key_clear@Base 0 nettle_rsa_public_key_from_der_iterator@Base 0 nettle_rsa_public_key_init@Base 0 nettle_rsa_public_key_prepare@Base 0 nettle_rsa_sha1_sign@Base 0 nettle_rsa_sha1_sign_digest@Base 0 nettle_rsa_sha1_verify@Base 0 nettle_rsa_sha1_verify_digest@Base 0 nettle_rsa_sha256_sign@Base 0 nettle_rsa_sha256_sign_digest@Base 0 nettle_rsa_sha256_verify@Base 0 nettle_rsa_sha256_verify_digest@Base 0 nettle_rsa_sha512_sign@Base 0 nettle_rsa_sha512_sign_digest@Base 0 nettle_rsa_sha512_verify@Base 0 nettle_rsa_sha512_verify_digest@Base 0 nettle_secp_192r1@Base 2.7 nettle_secp_224r1@Base 2.7 nettle_secp_256r1@Base 2.7 nettle_secp_384r1@Base 2.7 nettle_secp_521r1@Base 2.7 nettle_sexp_format@Base 0 nettle_sexp_iterator_assoc@Base 0 nettle_sexp_iterator_check_type@Base 0 nettle_sexp_iterator_check_types@Base 0 nettle_sexp_iterator_enter_list@Base 0 nettle_sexp_iterator_exit_list@Base 0 nettle_sexp_iterator_first@Base 0 nettle_sexp_iterator_get_uint32@Base 0 nettle_sexp_iterator_next@Base 0 nettle_sexp_iterator_subexpr@Base 0 nettle_sexp_transport_format@Base 0 nettle_sexp_transport_iterator_first@Base 0 nettle_sexp_transport_vformat@Base 0 nettle_sexp_vformat@Base 0 debian/pkcs1-conv.10000644000000000000000000000710611002464660011237 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH PKCS1\-CONV 1 "June 2007" "nettle 1.15" "Nettle tools" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME pkcs1\-conv \- convert keys from PKCS#1 format to s-expression format .SH SYNOPSIS .B pkcs1-conv .RB [{ \-\-private-rsa-key | \-\-public-rsa-key | \-\-public-key-info } .RB [ \-\-base-64 ]] .RI <\ FILE .SH DESCRIPTION This manual page documents briefly the .B pkcs1\-conv command. This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. .PP .\" TeX users may be more comfortable with the \fB\fP and .\" \fI\fP escape sequences to invode bold face and italics, .\" respectively. \fBpkcs1\-conv\fP converts private and public RSA keys from PKCS #1 format to sexp format. .SH OPTIONS This program follows the usual GNU command line syntax, with long options starting with two dashes (`\-'). .PP By default pkcs1-conv expects a PEM-encapsulated RSA key on standard input, and will determine its type from the Pre-Encapsulation Boundary. To convert a DER-encoded (non PEM-encoded) key, one of the first three options below must be used: .TP .B \-\-private-rsa-key Specify that a DER-encoded RSAPrivateKey, as defined by PKCS #1 (RFC 3447), and described in section A.1.2 of its appendix A, is to be expected as input. .TP .B \-\-public-rsa-key Specify that a DER-encoded RSAPublicKey, as defined by PKCS #1 (RFC 3447), and described in section A.1.1 of its appendix A, is to be expected as input. .TP .B \-\-public-key-info Specify that a DER-encoded SubjectPublicKeyInfo, as defined by PKCS #6, and described in section A.1 of its appendix A, encapsulating an RSAPublicKey, is to be expected as input. .TP .B \-\-base-64 Together with \-\-private-rsa-key, \-\-public-rsa-key, or \-\-public-key-info, specify that base64 encoding is applied on top of the DER encoding. .TP .B \-?, \-\-help Show summary of options (not implemented). .TP .B \-V, \-\-version Show version of program. .SH DIAGNOSTICS pkcs1\-conv will complain and exit with a status of 1 if the input doesn't match expectations. In PEM mode (when no option is used), if no PEM block is found, pkcs1\-conv will output nothing but exit with a zero status. .SH EXAMPLES .nf $ openssl genrsa \-out privkey.pem $ pkcs1\-conv < privkey.pem > privkey.sexp $ openssl rsa \-in privkey.pem \-outform DER \-out privkey.der $ openssl rsa \-in privkey.pem \-outform DER \-pubout \-out pubkey.der $ pkcs1-conv \-\-rsa-private-key < privkey.der > privkey.sexp $ pkcs1-conv \-\-public-key-info < pubkey.der > pubkey.sexp .fi .SH SEE ALSO .BR ssh\-conv (1), .BR sexp\-conv (1), .BR rsa (1SSL), .BR genrsa (1SSL), RFC 3447. .SH AUTHOR This manual page was written by Magnus Holmgren for the Debian GNU/Linux system (but may be used by others). .SH COPYRIGHT Copyright © 2007 Magnus Holmgren. .P Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. debian/control0000644000000000000000000001216611771334623010606 0ustar Source: nettle Section: libs Priority: optional Maintainer: Magnus Holmgren Build-Depends: dpkg-dev (>= 1.15.7), debhelper (>= 8.1.3), libgmp10-dev, m4, autotools-dev (>= 20100122.1) Standards-Version: 3.9.3 Vcs-Svn: svn://svn.kibibyte.se/nettle/trunk Vcs-Browser: http://svn.kibibyte.se/nettle Homepage: http://www.lysator.liu.se/~nisse/nettle/ Package: libnettle4 Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: low level cryptographic library (symmetric and one-way cryptos) Nettle is a cryptographic library that is designed to fit easily in more or less any context: In crypto toolkits for object-oriented languages (C++, Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space. . It tries to solve a problem of providing a common set of cryptographic algorithms for higher-level applications by implementing a context-independent set of cryptographic algorithms. In that light, Nettle doesn't do any memory allocation or I/O, it simply provides the cryptographic algorithms for the application to use in any environment and in any way it needs. . This package contains the symmetric and one-way cryptographic algorithms. To avoid having this package depend on libgmp, the asymmetric cryptos reside in a separate library, libhogweed. Package: libhogweed2 Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: low level cryptographic library (public-key cryptos) Nettle is a cryptographic library that is designed to fit easily in more or less any context: In crypto toolkits for object-oriented languages (C++, Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space. . It tries to solve a problem of providing a common set of cryptographic algorithms for higher-level applications by implementing a context-independent set of cryptographic algorithms. In that light, Nettle doesn't do any memory allocation or I/O, it simply provides the cryptographic algorithms for the application to use in any environment and in any way it needs. . This package contains the asymmetric cryptographic algorithms, which, require the GNU multiple precision arithmetic library (libgmp) for their large integer computations. Package: nettle-dev Section: libdevel Architecture: any Depends: libnettle4 (= ${binary:Version}), libhogweed2 (= ${binary:Version}), libgmp10-dev, dpkg (>= 1.15.4) | install-info, ${misc:Depends} Replaces: libnettle-dev Conflicts: libnettle-dev Description: low level cryptographic library (development files) Nettle is a cryptographic library that is designed to fit easily in more or less any context: In crypto toolkits for object-oriented languages (C++, Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space. . It tries to solve a problem of providing a common set of cryptographic algorithms for higher-level applications by implementing a context-independent set of cryptographic algorithms. In that light, Nettle doesn't do any memory allocation or I/O, it simply provides the cryptographic algorithms for the application to use in any environment and in any way it needs. . This package contains the development files (C headers and static libraries) Package: nettle-bin Section: misc Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Breaks: lsh-utils (<< 2.0.4-dfsg-1) Replaces: lsh-utils (<< 2.0.4-dfsg-1) Suggests: lsh-doc Description: low level cryptographic library (binary tools) Nettle is a cryptographic library that is designed to fit easily in more or less any context: In crypto toolkits for object-oriented languages (C++, Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space. . It tries to solve a problem of providing a common set of cryptographic algorithms for higher-level applications by implementing a context-independent set of cryptographic algorithms. In that light, Nettle doesn't do any memory allocation or I/O, it simply provides the cryptographic algorithms for the application to use in any environment and in any way it needs. . This package contains binary utilities that accompany the library: . - nettle-lfib-stream - generates a pseudo-random stream, using the Knuth lfib (non-cryptographic) pseudo-random generator. - sexp-conv - conversion tool for handling the different flavours of sexp syntax. - pkcs1-conv - converts PKCS#1 keys to sexp format. - nettle-hash - command-line tool to compute message digests such as SHA-1. Package: nettle-dbg Section: debug Priority: extra Architecture: any Depends: libnettle4 (= ${binary:Version}) | libhogweed2 (= ${binary:Version}) | nettle-bin (= ${binary:Version}), ${misc:Depends} Description: low level cryptographic library (debugging symbols) Nettle is a cryptographic library that is designed to fit easily in more or less any context: In crypto toolkits for object-oriented languages (C++, Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space. . This package contains the debugging symbols for all binary packages. debian/changelog0000644000000000000000000003003512151435544011045 0ustar nettle (2.7.1-1) unstable; urgency=low * New upstream bugfix release. -- Magnus Holmgren Wed, 29 May 2013 19:25:35 +0200 nettle (2.7-2) unstable; urgency=low * Tag some (ECC related) symbols that only exist on some architectures. -- Magnus Holmgren Tue, 07 May 2013 22:57:14 +0200 nettle (2.7-1) unstable; urgency=low * New upstream release (Closes: #706081). * Include watch file improvements from Bart Martens via the QA system. -- Magnus Holmgren Sat, 04 May 2013 19:50:28 +0200 nettle (2.6-1) experimental; urgency=low * New upstream release. -- Magnus Holmgren Sun, 24 Mar 2013 11:38:21 +0100 nettle (2.5-1) experimental; urgency=low * New upstream release (Closes: #685855). - All symbols from nettle-internal.c have been dropped from the built library, and pkcs1_signature_prefix renamed with a leading underscore, without SONAME change, as they were all for internal use only. * debian/watch: Updated to handle -pre releases. -- Magnus Holmgren Sat, 25 Aug 2012 18:28:37 +0200 nettle (2.4-2) unstable; urgency=low * Drop README.source; not needed since the package was converted to format 3.0. * Correct errors in DEP 5-format debian/copyright. * Use dpkg-buildflags to set CFLAGS et al. * Bump Standards-Version to 3.9.3. -- Magnus Holmgren Sat, 23 Jun 2012 14:41:45 +0200 nettle (2.4-1) unstable; urgency=low * New upstream bugfix release. -- Magnus Holmgren Sat, 03 Sep 2011 17:59:01 +0200 nettle (2.3-1) unstable; urgency=low * New upstream release. * nettle-dev.install: Include pkg-config files added by upstream (Closes: #634294). * debian/copyright: Add ripemd160-related files. -- Magnus Holmgren Sat, 03 Sep 2011 00:48:54 +0200 nettle (2.2-1) unstable; urgency=low * New upstream release (Closes: #633574). - The function nettle_arcfour_stream() was dropped without changing the SONAME, because it was undocumented and untested and should not be in use. * Add symbols files and correct dependencies in shlibs files. * Update copyright information, in particular regarding blowfish and serpent, trying to follow DEP5. * Add manpage nettle-hash(1) and mention nettle-hash in description of nettle-bin. * Add multi-arch support. * Bump Standards-Version to 3.9.2. * Switch to Debhelper compat level 8. * nettle-bin: Change Conflicts from moving sexp-conv into Breaks+Replaces and drop long-obsolete conflict with libnettle1. * Improve libnettle and libhogweed package descriptions, explaining the difference between them. -- Magnus Holmgren Sat, 06 Aug 2011 19:13:56 +0200 nettle (2.1-2) unstable; urgency=low * Upload to unstable. * Increase Debhelper compat level to 7. * debian/rules: Add build-indep and build-arch targets. * debian/copyright: Add entry for dsa2sexp.c. * No longer suggest lsh-utils-doc as an alternative to lsh-doc. -- Magnus Holmgren Sun, 20 Mar 2011 01:48:24 +0100 nettle (2.1-1) experimental; urgency=low * New upstream release (Closes: #594386). Thanks to Sedat Dilek for sorting things out. - Drop rsa2sexp_algorithm_name.dpatch, 20_link_with_gmp.dpatch; incorporated upstream. - The SOVERSIONs of libnettle and libhogweed have changed to 4 and 2, respectively; update and rename debian/control, debian/libnettle3.*, debian/libhogweed1.*, and debian/nettle-bin.links accordingly. * Build-depend on the new libgmp10-dev instead of libgmp3-dev. * Convert to source package format 3.0 (quilt), using dh_autotools-dev_*config to update config.sub and config.guess files. * Handle the parallel DEB_BUILD_OPTIONS option. * Pass --libdir=/usr/lib to ./configure since it will otherwise try to be smart and pick /usr/lib32 or /usr/lib64 on certain platforms. * General tidying of debian/rules: - Remove handling of noopt option (dpkg-buildpackage sets CFLAGS). - Remove remnants of nostrip option handling. - Only pass --host to ./configure if HOST != BUILD, as is recommended. - Remove redundant compiler and configure flags. * Bump Standards-Version to 3.9.1. -- Magnus Holmgren Tue, 18 Jan 2011 23:44:49 +0100 nettle (2.0-2) unstable; urgency=low * rsa2sexp_algorithm_name.dpatch (new): Use a default algorithm name that LSH understands in the sexp representation of an RSA key, so that pkcs1-conv can be used to convert existing OpenSSH private keys. * debian/control: Add ${misc:Depends} to all packages lacking it. * debian/control: nettle-dev: Depend on dpkg (>= 1.15.4) | install-info as recommended for the transition to triggerized install-info. * Upgraded to Standards-Version 3.8.3 with the previous change. -- Magnus Holmgren Sun, 11 Oct 2009 23:27:07 +0200 nettle (2.0-1) unstable; urgency=low * Merge with experimental branch. - There was no lsh-utils 2.0.3-2 in Debian, so the conflict is with lsh-utils < 2.0.4-dfsg-1. - Drop the transitional libnettle-dev package that was in experimental. Due to the split, depending packages will need sourceful uploads anyway. * New upstream version. - Drop 30_sparc_aes_include.dpatch; incorporated upstream. * Add debug package. * nettle-dev.doc-info: Correct Section and Document. * Bump Standards-Version to 3.8.2. -- Magnus Holmgren Sun, 02 Aug 2009 17:20:28 +0200 nettle (1.16~cvs20070603-2) experimental; urgency=low * 30_sparc_aes_include.dpatch: Patch from upstream CVS, fixes FTBFS on sparc (Closes: #441265). * debian/rules: Check for Makefile instead of ignoring all `make distclean' errors. -- Magnus Holmgren Sat, 08 Sep 2007 19:58:29 +0200 nettle (1.16~cvs20070603-1) experimental; urgency=low * Upstream CVS snapshot splitting off public-key algorithms as libhogweed1. - Drop 10_cleanup.dpatch; incorporated upstream. - Rename libnettle-dev as nettle-dev. * No longer install sexp-conv as an alternative; conflict with lsh-utils (<< 2.0.3-2, which is anticipated to stop shipping an identical sexp-conv and depend on nettle-bin instead). * Link with --as-needed to avoid unnecessary NEEDED tags. -- Magnus Holmgren Mon, 11 Jun 2007 17:36:08 +0200 nettle (1.15-6) unstable; urgency=low * No longer install sexp-conv as an alternative; conflict with lsh-utils prior to 2.0.4-dfsg-1, which depends on nettle-bin instead of shipping a copy of sexp-conv (Closes: #510942). Drop nettle-bin.postinst and nettle-bin.prerm (nettle-bin.prerm will remove the alternative on upgrade, which is actually a bug, but works out fine in this case). * Switch to Debhelper level 5. Remove files that don't exist from install lists (copied from a template, apparently). * Upgrade to Standards-Version 3.8.1: + Add debian/README.source (§ 4.9). * Add debian/libnettle2.symbols. -- Magnus Holmgren Mon, 13 Apr 2009 22:52:44 +0200 nettle (1.15-5) unstable; urgency=low * New maintainer email address. * Bring debian/control format up-to-date with Homepage and Vcs fields. * Add machine-readable copyright information to debian/copyright and clarify licensing of nettle-lfib-stream.1 and pkcs1-conv.1. The machine-readable information may not be completely accurate at this point due to the many different authors and licenses. * Don't ignore make potential distclean errors. * debian/libnettle-dev.doc-base: Change section to Programming/C following the abolishion of the Apps section. * Bump Standards-Version to 3.7.3 without any changes. -- Magnus Holmgren Sun, 20 Apr 2008 00:40:55 +0200 nettle (1.15-4) unstable; urgency=low * Add manpage for nettle-lfib-stream(1) (Closes: #413293). * Add manpage for pkcs1-conv(1) (Closes: #413294). * Correct manpage for sexp-conv(1). -- Magnus Holmgren Mon, 11 Jun 2007 13:37:53 +0200 nettle (1.15-3) unstable; urgency=low * Use dh_install instead of dh_movefiles. * Run "make check" by default. * Ship nettle.pdf in libnettle-dev. * Include PDF and Info formats in doc-base control file. * Clean up the libnettle-dev examples directory. There should only be source files. Note that most of the examples aren't made to be compiled outside of the nettle source tree, except sha-example.c, which is the example found in the documentation. * Move descore.README and TODO from libnettle2.docs to libnettle-dev.docs, and also add README and NEWS to the latter. * Make debian/copyright more correct. * Add pkcs1-conv to nettle-bin package description. -- Magnus Holmgren Wed, 06 Jun 2007 14:35:13 +0200 nettle (1.15-2) unstable; urgency=high * Fix serious regression: The -lgmp added in 1.8-1 fell off in 1.15-1 (Closes: #415034). * Use dpatch to handle patches. * Make package binNMUable. * Add XS-Vcs-* fields to debian/control. * Make dependencies on libnettle2 versioned. -- Magnus Holmgren Tue, 15 May 2007 16:15:19 +0200 nettle (1.15-1) unstable; urgency=low * New maintainer (Closes: #411677). * New upstream version. The non-free IETF RFC has been removed by upstream. * Updated Standards-Version to 3.7.2 without any changes. * Converted doc-base and copyright files to UTF-8. * Added extra cleanup to clean target of debian/rules so that dpkg-buildpackage can be run more than once. * debian/watch: updated. * debian/control: added autotools-dev as a build-dependency. * debian/rules: don't include config.guess and config.sub in .diff.gz. -- Magnus Holmgren Thu, 1 Mar 2007 19:29:49 +0100 nettle (1.14.1-1) unstable; urgency=low * Removed non-DFSG file from the archive and disabled the corresponding test case * Source package contains non-free IETF RFC/I-D's (Closes: #393400) * Since there is no upstream release available, a "fake" version number is added to the version. -- Marek Habersack Wed, 18 Oct 2006 09:47:03 +0200 nettle (1.14-1) unstable; urgency=low * The latest upstream version -- Marek Habersack Tue, 9 May 2006 21:41:17 +0200 nettle (1.12-3) unstable; urgency=high * Force a recompile to match the new libgmp3 package name -- Marek Habersack Tue, 19 Jul 2005 12:01:28 +0200 nettle (1.12-2) unstable; urgency=high * Make libnettle-dev depend on libgmp3-dev -- Marek Habersack Tue, 8 Mar 2005 02:19:01 +0100 nettle (1.12-1) unstable; urgency=high * The latest upstream release * sexp-conv is installed as sexp-conv.nettle and registered with the alternatives system now. * added the sexp-conv mainpage borrowed from the lsh-utils package. -- Marek Habersack Tue, 30 Nov 2004 01:45:49 +0100 nettle (1.10-1) unstable; urgency=low * The latest upstream version -- Marek Habersack Tue, 4 May 2004 15:56:02 +0200 nettle (1.9-1) unstable; urgency=low * The latest upstream release -- Marek Habersack Mon, 16 Feb 2004 02:53:34 +0100 nettle (1.8-1) unstable; urgency=low * The latest upstream release * libnettle1 links directly against gmp now to avoid problems with programs linking to libnettle without referencing -lgmp explicitly. * libnettle1 is gone - upstream changed the SOVERSION to 2 -- Marek Habersack Wed, 14 Jan 2004 22:27:19 +0100 nettle (1.7-3) unstable; urgency=low * Don't drink and drive, or another doc-base fix -- Marek Habersack Mon, 10 Nov 2003 19:07:20 -0500 nettle (1.7-2) unstable; urgency=low * Fixed the doc-base problem with the missing Section field -- Marek Habersack Sun, 9 Nov 2003 22:06:09 -0500 nettle (1.7-1) unstable; urgency=low * Initial Release. -- Marek Habersack Tue, 4 Nov 2003 18:23:07 +0100 debian/compat0000644000000000000000000000000211617265725010400 0ustar 8 debian/rules0000755000000000000000000000475311771325664010273 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # GNU copyright 1997 to 1999 by Joey Hess. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # These are used for cross-compiling and for saving the configure script # from having to guess our platform (since we know it already) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) buildflags = --build=$(DEB_BUILD_GNU_TYPE) else buildflags = --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) endif parallel = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) ifneq (,$(parallel)) jobsflag = -j$(parallel) endif config.status: configure dh_testdir # Add here commands to configure the package. dh_autotools-dev_updateconfig ./configure $(buildflags) \ --prefix=/usr \ --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \ --enable-shared \ --disable-dependency-tracking \ $(shell DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed dpkg-buildflags --export=configure) build: build-stamp build-stamp: config.status dh_testdir # Add here commands to compile the package. $(MAKE) $(jobsflag) MAKEINFO='makeinfo --enable-encoding' ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) $(MAKE) check endif touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp # Add here commands to clean up after the build process. [ ! -f Makefile ] || $(MAKE) distclean dh_autotools-dev_restoreconfig dh_clean install: build dh_testdir dh_testroot dh_prep dh_installdirs # Add here commands to install the package into debian/tmp $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp # Build architecture-independent files here. build-indep: binary-indep: # Nothing to do # Build architecture-dependent files here. build-arch: build binary-arch: build-arch install dh_testdir dh_testroot dh_install -a --sourcedir=debian/tmp dh_link -a dh_installchangelogs -a ChangeLog dh_installdocs -a dh_installexamples -a dh_installinfo -a dh_installman -a dh_strip -a --dbg-package=nettle-dbg dh_compress -a -X.pdf dh_fixperms -a dh_makeshlibs -a -V dh_installdeb -a dh_shlibdeps -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a binary: binary-arch .PHONY: build build-indep build-arch clean clean-patched binary-indep binary-arch binary install debian/nettle-dev.examples0000644000000000000000000000003611235142250012767 0ustar sha-example.c examples/*.[ch] debian/nettle-bin.install0000644000000000000000000000001310631530402012603 0ustar /usr/bin/* debian/libhogweed2.links0000644000000000000000000000006311514646372012433 0ustar usr/share/doc/libnettle4 usr/share/doc/libhogweed2 debian/sexp-conv.10000644000000000000000000000616011170713030011166 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH SEXP\-CONV 1 "June 2007" "nettle 1.15" "Nettle tools" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME sexp\-conv \- convert s-expression to a different encoding .SH SYNOPSIS Conversion: .br .B sexp-conv .RI [ OPTION ]... .RI <\ INPUT-SEXP .PP Fingerprinting: .br .B sexp-conv --hash\fR[\fB=\fP\fIalgorithm\fP] .RI [ OPTION ]... .RI <\ INPUT-SEXP .SH DESCRIPTION This manual page documents briefly the .B sexp\-conv command. This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. Instead, it has documentation in the GNU Info format; see below. .PP .\" TeX users may be more comfortable with the \fB\fP and .\" \fI\fP escape sequences to invode bold face and italics, .\" respectively. \fBsexp\-conv\fP is a program that converts S-expressions. It automatically detects the s-expression syntax variant of the input. It is primarily used by the `lsh' packages, which stores keys and most other objects on disk in that format, but may be of other use as well. .SH OPTIONS This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. For a complete description, see the Info files. .TP .B \-\-hash=\fIalgorithm\fP Output only the hash of the s-expression, using \fIalgorithm\fP (default: sha1). .TP .B \-\-raw\-hash Alias for \-\-hash, for compatibility with lsh 1.x. .TP .B \-\-once Process exactly one s-expression. .TP .B \-\-spki\-hash Output an SPKI hash for the object. \fBNot yet implemented.\fP .TP .B \-s, \-\-syntax=\fIformat\fP Variant of S-expression to output. Valid S-expression formats are: transport, canonical (binary), advanced, and hex (same as advanced, but numbers in hex instead of base64). .TP .B \-w, \-\-width=\fIwidth\fP Limit output to lines of \fIwidth\fP characters (has no effect on canonical syntax). Zero means no limit. .TP .B \-?, \-\-help Show summary of options. .TP .B \-V, \-\-version Show version of program. .SH SEE ALSO .BR ssh-conv (1), .BR lsh (1), .BR lshd (8), http://theworld.com/~cme/spki.txt. .br The programs are documented fully by the .IR "sexp" section under the .IR "Getting Started" header of the lsh info page, available via the Info system. .SH BUGS This program should be documented in the nettle manual, not in the lsh manual. .SH AUTHOR This manual page was originally written by Timshel Knoll , for the Debian GNU/Linux system (but may be used by others). Edited by Magnus Holmgren . debian/libnettle4.docs0000644000000000000000000000001411514646372012112 0ustar NEWS README debian/nettle-dev.install0000644000000000000000000000011211630256473012626 0ustar usr/include/* usr/lib/*/lib*.a usr/lib/*/lib*.so usr/lib/*/pkgconfig/*.pc debian/nettle-dev.doc-base0000644000000000000000000000110711235330330012624 0ustar Document: nettle-dev Title: Debian Nettle Manual Author: Niels Möller Abstract: This document describes the nettle low-level cryptographic library. You can use the library directly from your C programs, or (recommended) write or use an object-oriented wrapper for your favorite language or application. Section: Programming Format: HTML Files: /usr/share/doc/nettle-dev/nettle.html Index: /usr/share/doc/nettle-dev/nettle.html Format: PDF Files: /usr/share/doc/nettle-dev/nettle.pdf Format: Info Files: /usr/share/info/nettle.info.gz Index: /usr/share/info/nettle.info.gz