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

Update copyright headers for dual licensing, tools directory.

parent f9283cb1
/* input.c */ /* input.c
/* nettle, low-level cryptographics library Copyright (C) 2002, 2003, 2008 Niels Möller
*
* Copyright (C) 2002, 2003 Niels Möller This file is part of GNU Nettle.
*
* The nettle library is free software; you can redistribute it and/or modify GNU Nettle is free software: you can redistribute it and/or
* it under the terms of the GNU Lesser General Public License as published by modify it under the terms of either:
* the Free Software Foundation; either version 2.1 of the License, or (at your
* option) any later version. * the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 3 of the License, or (at your
* The nettle library is distributed in the hope that it will be useful, but option) any later version.
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public or
* License for more details.
* * the GNU General Public License as published by the Free
* You should have received a copy of the GNU Lesser General Public License Software Foundation; either version 2 of the License, or (at your
* along with the nettle library; see the file COPYING.LIB. If not, write to option) any later version.
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02111-1301, USA. or both in parallel, as here.
*/
GNU Nettle 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 copies of the GNU General Public License and
the GNU Lesser General Public License along with this program. If
not, see http://www.gnu.org/licenses/.
*/
#if HAVE_CONFIG_H #if HAVE_CONFIG_H
# include "config.h" # include "config.h"
......
/* input.h */ /* input.h
/* nettle, low-level cryptographics library Copyright (C) 2002, 2003 Niels Möller
*
* Copyright (C) 2002, 2003 Niels Möller This file is part of GNU Nettle.
*
* The nettle library is free software; you can redistribute it and/or modify GNU Nettle is free software: you can redistribute it and/or
* it under the terms of the GNU Lesser General Public License as published by modify it under the terms of either:
* the Free Software Foundation; either version 2.1 of the License, or (at your
* option) any later version. * the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 3 of the License, or (at your
* The nettle library is distributed in the hope that it will be useful, but option) any later version.
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public or
* License for more details.
* * the GNU General Public License as published by the Free
* You should have received a copy of the GNU Lesser General Public License Software Foundation; either version 2 of the License, or (at your
* along with the nettle library; see the file COPYING.LIB. If not, write to option) any later version.
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02111-1301, USA. or both in parallel, as here.
*/
GNU Nettle 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 copies of the GNU General Public License and
the GNU Lesser General Public License along with this program. If
not, see http://www.gnu.org/licenses/.
*/
#ifndef NETTLE_TOOLS_INPUT_H_INCLUDED #ifndef NETTLE_TOOLS_INPUT_H_INCLUDED
#define NETTLE_TOOLS_INPUT_H_INCLUDED #define NETTLE_TOOLS_INPUT_H_INCLUDED
......
/* misc.c */ /* misc.c
/* nettle, low-level cryptographics library Copyright (C) 2002, 2003, 2011 Niels Möller
*
* Copyright (C) 2002, 2003 Niels Möller This file is part of GNU Nettle.
*
* The nettle library is free software; you can redistribute it and/or modify GNU Nettle is free software: you can redistribute it and/or
* it under the terms of the GNU Lesser General Public License as published by modify it under the terms of either:
* the Free Software Foundation; either version 2.1 of the License, or (at your
* option) any later version. * the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 3 of the License, or (at your
* The nettle library is distributed in the hope that it will be useful, but option) any later version.
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public or
* License for more details.
* * the GNU General Public License as published by the Free
* You should have received a copy of the GNU Lesser General Public License Software Foundation; either version 2 of the License, or (at your
* along with the nettle library; see the file COPYING.LIB. If not, write to option) any later version.
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02111-1301, USA. or both in parallel, as here.
*/
GNU Nettle 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 copies of the GNU General Public License and
the GNU Lesser General Public License along with this program. If
not, see http://www.gnu.org/licenses/.
*/
#if HAVE_CONFIG_H #if HAVE_CONFIG_H
# include "config.h" # include "config.h"
......
/* misc.h */ /* misc.h
/* nettle, low-level cryptographics library Copyright (C) 2002, 2003, 2008, 2011 Niels Möller
*
* Copyright (C) 2002, 2003 Niels Möller This file is part of GNU Nettle.
*
* The nettle library is free software; you can redistribute it and/or modify GNU Nettle is free software: you can redistribute it and/or
* it under the terms of the GNU Lesser General Public License as published by modify it under the terms of either:
* the Free Software Foundation; either version 2.1 of the License, or (at your
* option) any later version. * the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 3 of the License, or (at your
* The nettle library is distributed in the hope that it will be useful, but option) any later version.
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public or
* License for more details.
* * the GNU General Public License as published by the Free
* You should have received a copy of the GNU Lesser General Public License Software Foundation; either version 2 of the License, or (at your
* along with the nettle library; see the file COPYING.LIB. If not, write to option) any later version.
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02111-1301, USA. or both in parallel, as here.
*/
GNU Nettle 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 copies of the GNU General Public License and
the GNU Lesser General Public License along with this program. If
not, see http://www.gnu.org/licenses/.
*/
#ifndef NETTLE_TOOLS_MISC_H_INCLUDED #ifndef NETTLE_TOOLS_MISC_H_INCLUDED
#define NETTLE_TOOLS_MISC_H_INCLUDED #define NETTLE_TOOLS_MISC_H_INCLUDED
......
/* nettle-hash.c /* nettle-hash.c
*
* General hashing tool. */ General hashing tool.
/* nettle, low-level cryptographics library Copyright (C) 2011, 2013 Niels Möller
*
* Copyright (C) 2011 Niels Möller This file is part of GNU Nettle.
*
* The nettle library is free software; you can redistribute it and/or modify GNU Nettle is free software: you can redistribute it and/or
* it under the terms of the GNU Lesser General Public License as published by modify it under the terms of either:
* the Free Software Foundation; either version 2.1 of the License, or (at your
* option) any later version. * the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 3 of the License, or (at your
* The nettle library is distributed in the hope that it will be useful, but option) any later version.
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public or
* License for more details.
* * the GNU General Public License as published by the Free
* You should have received a copy of the GNU Lesser General Public License Software Foundation; either version 2 of the License, or (at your
* along with the nettle library; see the file COPYING.LIB. If not, write to option) any later version.
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02111-1301, USA. or both in parallel, as here.
*/
GNU Nettle 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 copies of the GNU General Public License and
the GNU Lesser General Public License along with this program. If
not, see http://www.gnu.org/licenses/.
*/
#if HAVE_CONFIG_H #if HAVE_CONFIG_H
# include "config.h" # include "config.h"
......
/* lfib-stream.c /* lfib-stream.c
*
* Generates a pseudorandom stream, using the Knuth lfib Generates a pseudorandom stream, using the Knuth lfib
* (non-cryptographic) pseudorandom generator. (non-cryptographic) pseudorandom generator.
*
*/ Copyright (C) 2003 Niels Möller
/* nettle, low-level cryptographics library This file is part of GNU Nettle.
*
* Copyright (C) 2003 Niels Möller GNU Nettle is free software: you can redistribute it and/or
* modify it under the terms of either:
* 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 GNU Lesser General Public License as published by the Free
* the Free Software Foundation; either version 2.1 of the License, or (at your Software Foundation; either version 3 of the License, or (at your
* option) any later version. option) any later version.
*
* The nettle library is distributed in the hope that it will be useful, but or
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public * the GNU General Public License as published by the Free
* License for more details. Software Foundation; either version 2 of the License, or (at your
* option) any later version.
* 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 or both in parallel, as here.
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02111-1301, USA. GNU Nettle 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 copies of the GNU General Public License and
the GNU Lesser General Public License along with this program. If
not, see http://www.gnu.org/licenses/.
*/
#if HAVE_CONFIG_H #if HAVE_CONFIG_H
# include "config.h" # include "config.h"
......
/* nettle-pbkdf2.c /* nettle-pbkdf2.c
*
* Command-line tool for pbkdf2 hashing. */ Command-line tool for pbkdf2 hashing.
/* nettle, low-level cryptographics library Copyright (C) 2013 Niels Möller
*
* Copyright (C) 2013 Niels Möller This file is part of GNU Nettle.
*
* The nettle library is free software; you can redistribute it and/or modify GNU Nettle is free software: you can redistribute it and/or
* it under the terms of the GNU Lesser General Public License as published by modify it under the terms of either:
* the Free Software Foundation; either version 2.1 of the License, or (at your
* option) any later version. * the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 3 of the License, or (at your
* The nettle library is distributed in the hope that it will be useful, but option) any later version.
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public or
* License for more details.
* * the GNU General Public License as published by the Free
* You should have received a copy of the GNU Lesser General Public License Software Foundation; either version 2 of the License, or (at your
* along with the nettle library; see the file COPYING.LIB. If not, write to option) any later version.
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02111-1301, USA. or both in parallel, as here.
*/
GNU Nettle 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 copies of the GNU General Public License and
the GNU Lesser General Public License along with this program. If
not, see http://www.gnu.org/licenses/.
*/
#if HAVE_CONFIG_H #if HAVE_CONFIG_H
# include "config.h" # include "config.h"
......
/* output.c */ /* output.c
/* nettle, low-level cryptographics library Copyright (C) 2002, 2003, 2009 Niels Möller
*
* Copyright (C) 2002, 2003 Niels Möller This file is part of GNU Nettle.
*
* The nettle library is free software; you can redistribute it and/or modify GNU Nettle is free software: you can redistribute it and/or
* it under the terms of the GNU Lesser General Public License as published by modify it under the terms of either:
* the Free Software Foundation; either version 2.1 of the License, or (at your
* option) any later version. * the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 3 of the License, or (at your
* The nettle library is distributed in the hope that it will be useful, but option) any later version.
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public or
* License for more details.
* * the GNU General Public License as published by the Free
* You should have received a copy of the GNU Lesser General Public License Software Foundation; either version 2 of the License, or (at your
* along with the nettle library; see the file COPYING.LIB. If not, write to option) any later version.
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02111-1301, USA. or both in parallel, as here.
*/
GNU Nettle 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 copies of the GNU General Public License and
the GNU Lesser General Public License along with this program. If
not, see http://www.gnu.org/licenses/.
*/
#if HAVE_CONFIG_H #if HAVE_CONFIG_H
# include "config.h" # include "config.h"
......
/* output.h */ /* output.h
/* nettle, low-level cryptographics library Copyright (C) 2002, 2003 Niels Möller
*
* Copyright (C) 2002, 2003 Niels Möller This file is part of GNU Nettle.
*
* The nettle library is free software; you can redistribute it and/or modify GNU Nettle is free software: you can redistribute it and/or
* it under the terms of the GNU Lesser General Public License as published by modify it under the terms of either:
* the Free Software Foundation; either version 2.1 of the License, or (at your
* option) any later version. * the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 3 of the License, or (at your
* The nettle library is distributed in the hope that it will be useful, but option) any later version.
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public or
* License for more details.
* * the GNU General Public License as published by the Free
* You should have received a copy of the GNU Lesser General Public License Software Foundation; either version 2 of the License, or (at your
* along with the nettle library; see the file COPYING.LIB. If not, write to option) any later version.
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02111-1301, USA. or both in parallel, as here.
*/
GNU Nettle 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 copies of the GNU General Public License and
the GNU Lesser General Public License along with this program. If
not, see http://www.gnu.org/licenses/.
*/
#ifndef NETTLE_TOOLS_OUTPUT_H_INCLUDED #ifndef NETTLE_TOOLS_OUTPUT_H_INCLUDED
#define NETTLE_TOOLS_OUTPUT_H_INCLUDED #define NETTLE_TOOLS_OUTPUT_H_INCLUDED
......
/* parse.c */ /* parse.c
/* nettle, low-level cryptographics library Copyright (C) 2002, 2003, 2008 Niels Möller
*
* Copyright (C) 2002, 2003 Niels Möller This file is part of GNU Nettle.
*
* The nettle library is free software; you can redistribute it and/or modify GNU Nettle is free software: you can redistribute it and/or
* it under the terms of the GNU Lesser General Public License as published by modify it under the terms of either:
* the Free Software Foundation; either version 2.1 of the License, or (at your
* option) any later version. * the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 3 of the License, or (at your
* The nettle library is distributed in the hope that it will be useful, but option) any later version.
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public or
* License for more details.
* * the GNU General Public License as published by the Free
* You should have received a copy of the GNU Lesser General Public License Software Foundation; either version 2 of the License, or (at your
* along with the nettle library; see the file COPYING.LIB. If not, write to option) any later version.
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02111-1301, USA. or both in parallel, as here.
*/
GNU Nettle 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 copies of the GNU General Public License and
the GNU Lesser General Public License along with this program. If
not, see http://www.gnu.org/licenses/.
*/
#if HAVE_CONFIG_H #if HAVE_CONFIG_H
# include "config.h" # include "config.h"
......
/* parse.h */ /* parse.h
/* nettle, low-level cryptographics library Copyright (C) 2002, 2003 Niels Möller
*
* Copyright (C) 2002, 2003 Niels Möller This file is part of GNU Nettle.
*
* The nettle library is free software; you can redistribute it and/or modify GNU Nettle is free software: you can redistribute it and/or
* it under the terms of the GNU Lesser General Public License as published by modify it under the terms of either:
* the Free Software Foundation; either version 2.1 of the License, or (at your
* option) any later version. * the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 3 of the License, or (at your
* The nettle library is distributed in the hope that it will be useful, but option) any later version.
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public or
* License for more details.
* * the GNU General Public License as published by the Free
* You should have received a copy of the GNU Lesser General Public License Software Foundation; either version 2 of the License, or (at your
* along with the nettle library; see the file COPYING.LIB. If not, write to option) any later version.
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02111-1301, USA. or both in parallel, as here.
*/
GNU Nettle 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 copies of the GNU General Public License and
the GNU Lesser General Public License along with this program. If
not, see http://www.gnu.org/licenses/.
*/
#ifndef NETTLE_TOOLS_PARSE_H_INCLUDED #ifndef NETTLE_TOOLS_PARSE_H_INCLUDED
#define NETTLE_TOOLS_PARSE_H_INCLUDED #define NETTLE_TOOLS_PARSE_H_INCLUDED
......
/* pkcs1-conv.c /* pkcs1-conv.c
*
* Converting pkcs#1 and similar keys to sexp format. */ Converting pkcs#1 and related keys to sexp format.
/* nettle, low-level cryptographics library Copyright (C) 2005, 2009 Niels Möller, Magnus Holmgren
* Copyright (C) 2014 Niels Möller
* Copyright (C) 2005, 2009 Niels Möller, Magnus Holmgren
* Copyright (C) 2014 Niels Möller This file is part of GNU Nettle.
*
* The nettle library is free software; you can redistribute it and/or modify GNU Nettle is free software: you can redistribute it and/or
* it under the terms of the GNU Lesser General Public License as published by modify it under the terms of either:
* the Free Software Foundation; either version 2.1 of the License, or (at your
* option) any later version. * the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 3 of the License, or (at your
* The nettle library is distributed in the hope that it will be useful, but option) any later version.
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public or
* License for more details.
* * the GNU General Public License as published by the Free
* You should have received a copy of the GNU Lesser General Public License Software Foundation; either version 2 of the License, or (at your
* along with the nettle library; see the file COPYING.LIB. If not, write to option) any later version.
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02111-1301, USA. or both in parallel, as here.
*/
GNU Nettle 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 copies of the GNU General Public License and