From: Niels Möller Date: Thu, 10 Apr 2014 18:37:15 +0000 (+0200) Subject: Update copyright headers for dual licensing, x86_64 directory. X-Git-Tag: nettle_3.0_release_20140607~79 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55fa6144c74c2664f941eafa6b4b815223aeaae3;p=thirdparty%2Fnettle.git Update copyright headers for dual licensing, x86_64 directory. --- diff --git a/x86_64/aes-decrypt-internal.asm b/x86_64/aes-decrypt-internal.asm index f3451deb..43f2f394 100644 --- a/x86_64/aes-decrypt-internal.asm +++ b/x86_64/aes-decrypt-internal.asm @@ -1,22 +1,35 @@ -C nettle, low-level cryptographics library -C -C Copyright (C) 2001, 2002, 2005, Rafael R. Sevilla, Niels Möller -C Copyright (C) 2008, 2013 Niels Möller -C -C The nettle library is free software; you can redistribute it and/or modify -C it under the terms of the GNU Lesser General Public License as published by -C the Free Software Foundation; either version 2.1 of the License, or (at your -C option) any later version. -C -C The nettle library is distributed in the hope that it will be useful, but -C WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -C or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public -C License for more details. -C -C You should have received a copy of the GNU Lesser General Public License -C along with the nettle library; see the file COPYING.LIB. If not, write to -C the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, -C MA 02111-1301, USA. +C x86_64/aes-decrypt-internal.asm + +ifelse(< + Copyright (C) 2001, 2002, 2005, Rafael R. Sevilla, Niels Möller + Copyright (C) 2008, 2013 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_src() diff --git a/x86_64/aes-encrypt-internal.asm b/x86_64/aes-encrypt-internal.asm index 27b031b5..dfb498f5 100644 --- a/x86_64/aes-encrypt-internal.asm +++ b/x86_64/aes-encrypt-internal.asm @@ -1,22 +1,36 @@ -C nettle, low-level cryptographics library -C -C Copyright (C) 2001, 2002, 2005, Rafael R. Sevilla, Niels Möller -C Copyright (C) 2008, 2013 Niels Möller -C -C The nettle library is free software; you can redistribute it and/or modify -C it under the terms of the GNU Lesser General Public License as published by -C the Free Software Foundation; either version 2.1 of the License, or (at your -C option) any later version. -C -C The nettle library is distributed in the hope that it will be useful, but -C WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -C or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public -C License for more details. -C -C You should have received a copy of the GNU Lesser General Public License -C along with the nettle library; see the file COPYING.LIB. If not, write to -C the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, -C MA 02111-1301, USA. +C x86_64/aes-encrypt-internal.asm + + +ifelse(< + Copyright (C) 2001, 2002, 2005, Rafael R. Sevilla, Niels Möller + Copyright (C) 2008, 2013 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_src() diff --git a/x86_64/camellia-crypt-internal.asm b/x86_64/camellia-crypt-internal.asm index b8d201e3..c6032a5d 100644 --- a/x86_64/camellia-crypt-internal.asm +++ b/x86_64/camellia-crypt-internal.asm @@ -1,21 +1,34 @@ -C nettle, low-level cryptographics library -C -C Copyright (C) 2010, Niels Möller -C -C The nettle library is free software; you can redistribute it and/or modify -C it under the terms of the GNU Lesser General Public License as published by -C the Free Software Foundation; either version 2.1 of the License, or (at your -C option) any later version. -C -C The nettle library is distributed in the hope that it will be useful, but -C WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -C or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public -C License for more details. -C -C You should have received a copy of the GNU Lesser General Public License -C along with the nettle library; see the file COPYING.LIB. If not, write to -C the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, -C MA 02111-1301, USA. +C x86_64/camellia-crypt-internal.asm + +ifelse(< + Copyright (C) 2010, 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/. +>) C Performance, cycles per block C diff --git a/x86_64/chacha-core-internal.asm b/x86_64/chacha-core-internal.asm index 15e45718..9e5dc394 100644 --- a/x86_64/chacha-core-internal.asm +++ b/x86_64/chacha-core-internal.asm @@ -1,21 +1,34 @@ -C nettle, low-level cryptographics library -C -C Copyright (C) 2012, 2014 Niels Möller -C -C The nettle library is free software; you can redistribute it and/or modify -C it under the terms of the GNU Lesser General Public License as published by -C the Free Software Foundation; either version 2.1 of the License, or (at your -C option) any later version. -C -C The nettle library is distributed in the hope that it will be useful, but -C WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -C or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public -C License for more details. -C -C You should have received a copy of the GNU Lesser General Public License -C along with the nettle library; see the file COPYING.LIB. If not, write to -C the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, -C MA 02111-1301, USA. +C x86_64/chacha-core-internal.asm + +ifelse(< + 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/. +>) define(, <%rdi>) define(, <%rsi>) diff --git a/x86_64/ecc-192-modp.asm b/x86_64/ecc-192-modp.asm index f3fe4958..9024b46b 100644 --- a/x86_64/ecc-192-modp.asm +++ b/x86_64/ecc-192-modp.asm @@ -1,21 +1,34 @@ -C nettle, low-level cryptographics library -C -C Copyright (C) 2013 Niels Möller -C -C The nettle library is free software; you can redistribute it and/or modify -C it under the terms of the GNU Lesser General Public License as published by -C the Free Software Foundation; either version 2.1 of the License, or (at your -C option) any later version. -C -C The nettle library is distributed in the hope that it will be useful, but -C WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -C or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public -C License for more details. -C -C You should have received a copy of the GNU Lesser General Public License -C along with the nettle library; see the file COPYING.LIB. If not, write to -C the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, -C MA 02111-1301, USA. +C x86_64/ecc-192-modp.asm + +ifelse(< + Copyright (C) 2013 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/. +>) .file "ecc-192-modp.asm" diff --git a/x86_64/ecc-224-modp.asm b/x86_64/ecc-224-modp.asm index b759e1f2..73e9b216 100644 --- a/x86_64/ecc-224-modp.asm +++ b/x86_64/ecc-224-modp.asm @@ -1,21 +1,34 @@ -C nettle, low-level cryptographics library -C -C Copyright (C) 2013 Niels Möller -C -C The nettle library is free software; you can redistribute it and/or modify -C it under the terms of the GNU Lesser General Public License as published by -C the Free Software Foundation; either version 2.1 of the License, or (at your -C option) any later version. -C -C The nettle library is distributed in the hope that it will be useful, but -C WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -C or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public -C License for more details. -C -C You should have received a copy of the GNU Lesser General Public License -C along with the nettle library; see the file COPYING.LIB. If not, write to -C the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, -C MA 02111-1301, USA. +C x86_64/ecc-224-modp.asm + +ifelse(< + Copyright (C) 2013 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/. +>) .file "ecc-224-modp.asm" diff --git a/x86_64/ecc-256-redc.asm b/x86_64/ecc-256-redc.asm index dc7ea340..56dfa174 100644 --- a/x86_64/ecc-256-redc.asm +++ b/x86_64/ecc-256-redc.asm @@ -1,21 +1,34 @@ -C nettle, low-level cryptographics library -C -C Copyright (C) 2013 Niels Möller -C -C The nettle library is free software; you can redistribute it and/or modify -C it under the terms of the GNU Lesser General Public License as published by -C the Free Software Foundation; either version 2.1 of the License, or (at your -C option) any later version. -C -C The nettle library is distributed in the hope that it will be useful, but -C WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -C or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public -C License for more details. -C -C You should have received a copy of the GNU Lesser General Public License -C along with the nettle library; see the file COPYING.LIB. If not, write to -C the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, -C MA 02111-1301, USA. +C x86_64/ecc-256-redc.asm + +ifelse(< + Copyright (C) 2013 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/. +>) .file "ecc-256-redc.asm" diff --git a/x86_64/ecc-384-modp.asm b/x86_64/ecc-384-modp.asm index 698838fd..de9a5151 100644 --- a/x86_64/ecc-384-modp.asm +++ b/x86_64/ecc-384-modp.asm @@ -1,21 +1,34 @@ -C nettle, low-level cryptographics library -C -C Copyright (C) 2013 Niels Möller -C -C The nettle library is free software; you can redistribute it and/or modify -C it under the terms of the GNU Lesser General Public License as published by -C the Free Software Foundation; either version 2.1 of the License, or (at your -C option) any later version. -C -C The nettle library is distributed in the hope that it will be useful, but -C WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -C or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public -C License for more details. -C -C You should have received a copy of the GNU Lesser General Public License -C along with the nettle library; see the file COPYING.LIB. If not, write to -C the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, -C MA 02111-1301, USA. +C x86_64/ecc-384-modp.asm + +ifelse(< + Copyright (C) 2013 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/. +>) .file "ecc-384-modp.asm" diff --git a/x86_64/ecc-521-modp.asm b/x86_64/ecc-521-modp.asm index afe3d2aa..69dc1f06 100644 --- a/x86_64/ecc-521-modp.asm +++ b/x86_64/ecc-521-modp.asm @@ -1,21 +1,34 @@ -C nettle, low-level cryptographics library -C -C Copyright (C) 2013 Niels Möller -C -C The nettle library is free software; you can redistribute it and/or modify -C it under the terms of the GNU Lesser General Public License as published by -C the Free Software Foundation; either version 2.1 of the License, or (at your -C option) any later version. -C -C The nettle library is distributed in the hope that it will be useful, but -C WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -C or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public -C License for more details. -C -C You should have received a copy of the GNU Lesser General Public License -C along with the nettle library; see the file COPYING.LIB. If not, write to -C the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, -C MA 02111-1301, USA. +C x86_64/ecc-521-modp.asm + +ifelse(< + Copyright (C) 2013 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/. +>) .file "ecc-521-modp.asm" diff --git a/x86_64/gcm-hash8.asm b/x86_64/gcm-hash8.asm index e742cec6..f74f2f4b 100644 --- a/x86_64/gcm-hash8.asm +++ b/x86_64/gcm-hash8.asm @@ -1,21 +1,34 @@ -C nettle, low-level cryptographics library -C -C Copyright (C) 2013, Niels Möller -C -C The nettle library is free software; you can redistribute it and/or modify -C it under the terms of the GNU Lesser General Public License as published by -C the Free Software Foundation; either version 2.1 of the License, or (at your -C option) any later version. -C -C The nettle library is distributed in the hope that it will be useful, but -C WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -C or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public -C License for more details. -C -C You should have received a copy of the GNU Lesser General Public License -C along with the nettle library; see the file COPYING.LIB. If not, write to -C the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, -C MA 02111-1301, USA. +C x86_64/gcm-hash8.asm + +ifelse(< + Copyright (C) 2013 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/. +>) C Register usage: diff --git a/x86_64/md5-compress.asm b/x86_64/md5-compress.asm index 2fda6d5c..49cc3385 100644 --- a/x86_64/md5-compress.asm +++ b/x86_64/md5-compress.asm @@ -1,21 +1,34 @@ -C nettle, low-level cryptographics library -C -C Copyright (C) 2005, 2013 Niels Möller -C -C The nettle library is free software; you can redistribute it and/or modify -C it under the terms of the GNU Lesser General Public License as published by -C the Free Software Foundation; either version 2.1 of the License, or (at your -C option) any later version. -C -C The nettle library is distributed in the hope that it will be useful, but -C WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -C or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public -C License for more details. -C -C You should have received a copy of the GNU Lesser General Public License -C along with the nettle library; see the file COPYING.LIB. If not, write to -C the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, -C MA 02111-1301, USA. +C x86_64/md5-compress.asm + +ifelse(< + Copyright (C) 2005, 2013 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/. +>) C Registers: diff --git a/x86_64/memxor.asm b/x86_64/memxor.asm index e2e8ca74..e14e31a1 100644 --- a/x86_64/memxor.asm +++ b/x86_64/memxor.asm @@ -1,21 +1,34 @@ -C nettle, low-level cryptographics library -C -C Copyright (C) 2010, Niels Möller -C -C The nettle library is free software; you can redistribute it and/or modify -C it under the terms of the GNU Lesser General Public License as published by -C the Free Software Foundation; either version 2.1 of the License, or (at your -C option) any later version. -C -C The nettle library is distributed in the hope that it will be useful, but -C WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -C or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public -C License for more details. -C -C You should have received a copy of the GNU Lesser General Public License -C along with the nettle library; see the file COPYING.LIB. If not, write to -C the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, -C MA 02111-1301, USA. +C x86_64/memxor.asm + +ifelse(< + Copyright (C) 2010, 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/. +>) C Register usage: define(, <%rax>) C Originally in %rdi diff --git a/x86_64/poly1305-internal.asm b/x86_64/poly1305-internal.asm index 453c62b2..c780d122 100644 --- a/x86_64/poly1305-internal.asm +++ b/x86_64/poly1305-internal.asm @@ -1,21 +1,34 @@ -C nettle, low-level cryptographics library -C -C Copyright (C) 2013 Niels Möller -C -C The nettle library is free software; you can redistribute it and/or modify -C it under the terms of the GNU Lesser General Public License as published by -C the Free Software Foundation; either version 2.1 of the License, or (at your -C option) any later version. -C -C The nettle library is distributed in the hope that it will be useful, but -C WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -C or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public -C License for more details. -C -C You should have received a copy of the GNU Lesser General Public License -C along with the nettle library; see the file COPYING.LIB. If not, write to -C the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, -C MA 02111-1301, USA. +C x86_64/poly1305-internal.asm + +ifelse(< + Copyright (C) 2013 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/. +>) .file "poly1305-internal.asm" diff --git a/x86_64/salsa20-core-internal.asm b/x86_64/salsa20-core-internal.asm index 0e0cdf6a..4ef07be0 100644 --- a/x86_64/salsa20-core-internal.asm +++ b/x86_64/salsa20-core-internal.asm @@ -1,21 +1,34 @@ -C nettle, low-level cryptographics library -C -C Copyright (C) 2012 Niels Möller -C -C The nettle library is free software; you can redistribute it and/or modify -C it under the terms of the GNU Lesser General Public License as published by -C the Free Software Foundation; either version 2.1 of the License, or (at your -C option) any later version. -C -C The nettle library is distributed in the hope that it will be useful, but -C WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -C or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public -C License for more details. -C -C You should have received a copy of the GNU Lesser General Public License -C along with the nettle library; see the file COPYING.LIB. If not, write to -C the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, -C MA 02111-1301, USA. +C x86_64/salsa20-core-internal.asm + +ifelse(< + Copyright (C) 2012 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/. +>) define(, <%rdi>) define(, <%rsi>) diff --git a/x86_64/salsa20-crypt.asm b/x86_64/salsa20-crypt.asm index 1333e642..cc1d58ca 100644 --- a/x86_64/salsa20-crypt.asm +++ b/x86_64/salsa20-crypt.asm @@ -1,21 +1,34 @@ -C nettle, low-level cryptographics library -C -C Copyright (C) 2012 Niels Möller -C -C The nettle library is free software; you can redistribute it and/or modify -C it under the terms of the GNU Lesser General Public License as published by -C the Free Software Foundation; either version 2.1 of the License, or (at your -C option) any later version. -C -C The nettle library is distributed in the hope that it will be useful, but -C WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -C or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public -C License for more details. -C -C You should have received a copy of the GNU Lesser General Public License -C along with the nettle library; see the file COPYING.LIB. If not, write to -C the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, -C MA 02111-1301, USA. +C x86_64/salsa20-crypt.asm + +ifelse(< + Copyright (C) 2012 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/. +>) define(, <%rdi>) define(, <%rsi>) diff --git a/x86_64/serpent-decrypt.asm b/x86_64/serpent-decrypt.asm index e2ad5ecb..ee4bf9ad 100644 --- a/x86_64/serpent-decrypt.asm +++ b/x86_64/serpent-decrypt.asm @@ -1,21 +1,34 @@ -C nettle, low-level cryptographics library -C -C Copyright (C) 2011 Niels Möller -C -C The nettle library is free software; you can redistribute it and/or modify -C it under the terms of the GNU Lesser General Public License as published by -C the Free Software Foundation; either version 2.1 of the License, or (at your -C option) any later version. -C -C The nettle library is distributed in the hope that it will be useful, but -C WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -C or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public -C License for more details. -C -C You should have received a copy of the GNU Lesser General Public License -C along with the nettle library; see the file COPYING.LIB. If not, write to -C the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, -C MA 02111-1301, USA. +C x86_64/serpent-decrypt.asm + +ifelse(< + Copyright (C) 2011 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_src() diff --git a/x86_64/serpent-encrypt.asm b/x86_64/serpent-encrypt.asm index b3c6563b..d6636537 100644 --- a/x86_64/serpent-encrypt.asm +++ b/x86_64/serpent-encrypt.asm @@ -1,21 +1,34 @@ -C nettle, low-level cryptographics library -C -C Copyright (C) 2011 Niels Möller -C -C The nettle library is free software; you can redistribute it and/or modify -C it under the terms of the GNU Lesser General Public License as published by -C the Free Software Foundation; either version 2.1 of the License, or (at your -C option) any later version. -C -C The nettle library is distributed in the hope that it will be useful, but -C WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -C or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public -C License for more details. -C -C You should have received a copy of the GNU Lesser General Public License -C along with the nettle library; see the file COPYING.LIB. If not, write to -C the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, -C MA 02111-1301, USA. +C x86_64/serpent-encrypt.asm + +ifelse(< + Copyright (C) 2011 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_src() diff --git a/x86_64/serpent.m4 b/x86_64/serpent.m4 index aaae224a..c19bc4e4 100644 --- a/x86_64/serpent.m4 +++ b/x86_64/serpent.m4 @@ -1,21 +1,34 @@ -C nettle, low-level cryptographics library -C -C Copyright (C) 2011 Niels Möller -C -C The nettle library is free software; you can redistribute it and/or modify -C it under the terms of the GNU Lesser General Public License as published by -C the Free Software Foundation; either version 2.1 of the License, or (at your -C option) any later version. -C -C The nettle library is distributed in the hope that it will be useful, but -C WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -C or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public -C License for more details. -C -C You should have received a copy of the GNU Lesser General Public License -C along with the nettle library; see the file COPYING.LIB. If not, write to -C the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, -C MA 02111-1301, USA. +C x86_64/serpent.m4 + +ifelse(< + Copyright (C) 2011 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/. +>) C WROL(count, w) define(, < diff --git a/x86_64/sha1-compress.asm b/x86_64/sha1-compress.asm index 4bc551fe..e48a13c3 100644 --- a/x86_64/sha1-compress.asm +++ b/x86_64/sha1-compress.asm @@ -1,21 +1,34 @@ -C nettle, low-level cryptographics library -C -C Copyright (C) 2004, 2008, 2013 Niels Möller -C -C The nettle library is free software; you can redistribute it and/or modify -C it under the terms of the GNU Lesser General Public License as published by -C the Free Software Foundation; either version 2.1 of the License, or (at your -C option) any later version. -C -C The nettle library is distributed in the hope that it will be useful, but -C WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -C or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public -C License for more details. -C -C You should have received a copy of the GNU Lesser General Public License -C along with the nettle library; see the file COPYING.LIB. If not, write to -C the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, -C MA 02111-1301, USA. +C x86_64/sha1-compress.asm + +ifelse(< + Copyright (C) 2004, 2008, 2013 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/. +>) C Register usage. KVALUE and INPUT share a register. define(,<%eax>)dnl diff --git a/x86_64/sha256-compress.asm b/x86_64/sha256-compress.asm index 385654c2..5b7d0dcd 100644 --- a/x86_64/sha256-compress.asm +++ b/x86_64/sha256-compress.asm @@ -1,21 +1,34 @@ -C nettle, low-level cryptographics library -C -C Copyright (C) 2013 Niels Möller -C -C The nettle library is free software; you can redistribute it and/or modify -C it under the terms of the GNU Lesser General Public License as published by -C the Free Software Foundation; either version 2.1 of the License, or (at your -C option) any later version. -C -C The nettle library is distributed in the hope that it will be useful, but -C WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -C or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public -C License for more details. -C -C You should have received a copy of the GNU Lesser General Public License -C along with the nettle library; see the file COPYING.LIB. If not, write to -C the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, -C MA 02111-1301, USA. +C x86_64/sha256-compress.asm + +ifelse(< + Copyright (C) 2013 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/. +>) .file "sha256-compress.asm" define(, <%rdi>) diff --git a/x86_64/sha3-permute.asm b/x86_64/sha3-permute.asm index 7f9a6b79..805b59af 100644 --- a/x86_64/sha3-permute.asm +++ b/x86_64/sha3-permute.asm @@ -1,21 +1,34 @@ -C nettle, low-level cryptographics library -C -C Copyright (C) 2012 Niels Möller -C -C The nettle library is free software; you can redistribute it and/or modify -C it under the terms of the GNU Lesser General Public License as published by -C the Free Software Foundation; either version 2.1 of the License, or (at your -C option) any later version. -C -C The nettle library is distributed in the hope that it will be useful, but -C WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -C or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public -C License for more details. -C -C You should have received a copy of the GNU Lesser General Public License -C along with the nettle library; see the file COPYING.LIB. If not, write to -C the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, -C MA 02111-1301, USA. +C x86_64/sha3-permute.asm + +ifelse(< + Copyright (C) 2012 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/. +>) define(, <%rdi>) C 25 64-bit values, 200 bytes. define(, <%r8>) C Avoid clobbering %rsi, for W64. diff --git a/x86_64/sha512-compress.asm b/x86_64/sha512-compress.asm index 663e68e9..4ff1f32a 100644 --- a/x86_64/sha512-compress.asm +++ b/x86_64/sha512-compress.asm @@ -1,21 +1,34 @@ -C nettle, low-level cryptographics library -C -C Copyright (C) 2013 Niels Möller -C -C The nettle library is free software; you can redistribute it and/or modify -C it under the terms of the GNU Lesser General Public License as published by -C the Free Software Foundation; either version 2.1 of the License, or (at your -C option) any later version. -C -C The nettle library is distributed in the hope that it will be useful, but -C WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -C or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public -C License for more details. -C -C You should have received a copy of the GNU Lesser General Public License -C along with the nettle library; see the file COPYING.LIB. If not, write to -C the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, -C MA 02111-1301, USA. +C x86_64/sha512-compress.asm + +ifelse(< + Copyright (C) 2013 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/. +>) .file "sha512-compress.asm" define(, <%rdi>) diff --git a/x86_64/umac-nh-n.asm b/x86_64/umac-nh-n.asm index bcb99487..ecb6396a 100644 --- a/x86_64/umac-nh-n.asm +++ b/x86_64/umac-nh-n.asm @@ -1,21 +1,34 @@ -C nettle, low-level cryptographics library -C -C Copyright (C) 2013 Niels Möller -C -C The nettle library is free software; you can redistribute it and/or modify -C it under the terms of the GNU Lesser General Public License as published by -C the Free Software Foundation; either version 2.1 of the License, or (at your -C option) any later version. -C -C The nettle library is distributed in the hope that it will be useful, but -C WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -C or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public -C License for more details. -C -C You should have received a copy of the GNU Lesser General Public License -C along with the nettle library; see the file COPYING.LIB. If not, write to -C the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, -C MA 02111-1301, USA. +C x86_64/umac-nh-n.asm + +ifelse(< + Copyright (C) 2013 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/. +>) define(, <%rdi>) define(, <%rsi>) diff --git a/x86_64/umac-nh.asm b/x86_64/umac-nh.asm index 8e88df6a..a6938e02 100644 --- a/x86_64/umac-nh.asm +++ b/x86_64/umac-nh.asm @@ -1,21 +1,34 @@ -C nettle, low-level cryptographics library -C -C Copyright (C) 2013 Niels Möller -C -C The nettle library is free software; you can redistribute it and/or modify -C it under the terms of the GNU Lesser General Public License as published by -C the Free Software Foundation; either version 2.1 of the License, or (at your -C option) any later version. -C -C The nettle library is distributed in the hope that it will be useful, but -C WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -C or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public -C License for more details. -C -C You should have received a copy of the GNU Lesser General Public License -C along with the nettle library; see the file COPYING.LIB. If not, write to -C the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, -C MA 02111-1301, USA. +C x86_64/umac-nh.asm + +ifelse(< + Copyright (C) 2013 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/. +>) define(, <%rdi>) define(, <%rsi>)