From: Niels Möller Date: Thu, 10 Apr 2014 17:24:45 +0000 (+0200) Subject: Update copyright headers for dual licensing, testsuite directory. X-Git-Tag: nettle_3.0_release_20140607~80 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b03b7696ce8446a76124586c4630b39d0c70f1c9;p=thirdparty%2Fnettle.git Update copyright headers for dual licensing, testsuite directory. --- diff --git a/testsuite/arctwo-test.c b/testsuite/arctwo-test.c index 73880bee..d91d522a 100644 --- a/testsuite/arctwo-test.c +++ b/testsuite/arctwo-test.c @@ -1,23 +1,34 @@ -/* nettle, low-level cryptographics library - * - * Copyright (C) 2004 Simon Josefsson - * Copyright (C) 2004 Niels Möller - * - * 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., 51 Franklin Street, Fifth Floor, Boston, - * MA 02111-1301, USA. - */ +/* arctwo-test.c + + Copyright (C) 2004 Simon Josefsson + Copyright (C) 2004 Niels Möller + + This file is part of GNU Nettle. + + GNU Nettle is free software: you can redistribute it and/or + modify it under the terms of either: + + * the GNU Lesser General Public License as published by the Free + Software Foundation; either version 3 of the License, or (at your + option) any later version. + + or + + * 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. + + 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/. +*/ #include "testutils.h" #include "arctwo.h" diff --git a/testsuite/ccm-test.c b/testsuite/ccm-test.c index a3efb3d1..1fe77096 100644 --- a/testsuite/ccm-test.c +++ b/testsuite/ccm-test.c @@ -1,6 +1,38 @@ /* ccm-test.c - * - * Self-test and vectors for CCM mode ciphers using AES-128 and AES-256. The + + Self-test and vectors for CCM mode ciphers using AES-128 and AES-256. + + Copyright (C) 2014 Exegin Technologies Limited + Copyright (C) 2014 Owen Kirby + + This file is part of GNU Nettle. + + GNU Nettle is free software: you can redistribute it and/or + modify it under the terms of either: + + * the GNU Lesser General Public License as published by the Free + Software Foundation; either version 3 of the License, or (at your + option) any later version. + + or + + * 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. + + 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/. +*/ + +/* The * test vectors have been collected from the following standards: * NIST SP800-38C * RFC 3610 @@ -8,26 +40,6 @@ * IEEE P1619.1/D22 July 2007 (draft version) */ -/* nettle, low-level cryptographics library - * - * Copyright (C) 2014 Exegin Technologies Limited - * Copyright (C) 2014 Owen Kirby - * - * 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., 51 Franklin Street, Fifth Floor, Boston, - * MA 02111-1301, USA. - */ #include "testutils.h" #include "aes.h" #include "ccm.h" diff --git a/testsuite/chacha-test.c b/testsuite/chacha-test.c index 8f698da6..8c5630da 100644 --- a/testsuite/chacha-test.c +++ b/testsuite/chacha-test.c @@ -1,28 +1,36 @@ /* chacha-test.c - * - * Test program for the ChaCha stream cipher implementation. - */ - -/* nettle, low-level cryptographics library - * - * Copyright (C) 2013 Joachim Strömbergson - * Copyright (C) 2012, 2014 Niels Möller - * - * 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., 51 Franklin Street, Fifth Floor, Boston, - * MA 02111-1301, USA. - */ + + Test program for the ChaCha stream cipher implementation. + + Copyright (C) 2013 Joachim Strömbergson + Copyright (C) 2012, 2014 Niels Möller + + This file is part of GNU Nettle. + + GNU Nettle is free software: you can redistribute it and/or + modify it under the terms of either: + + * the GNU Lesser General Public License as published by the Free + Software Foundation; either version 3 of the License, or (at your + option) any later version. + + or + + * 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. + + 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/. +*/ #include "testutils.h"