]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - xtea-asm.S
Grøstl in large (384 & 512 bit); warning: freaking linker
[avr-crypto-lib.git] / xtea-asm.S
index 35063f21257174bc35975f8c2fa43dc90032d3e3..826f12386a4aab0d68241f4beef6370bc10e99be 100644 (file)
@@ -1,7 +1,25 @@
+/* xtea-asm.S */
+/*
+    This file is part of the AVR-Crypto-Lib.
+    Copyright (C) 2008  Daniel Otte (daniel.otte@rub.de)
+
+    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 3 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, see <http://www.gnu.org/licenses/>.
+*/
 /* xtea-asm.S 
- * Author:     Daniel Otte
- * Date:               06.06.2006
- * License: GPL
+ * Author:      Daniel Otte
+ * Date:        2006-06-06
+ * License:     GPLv3 or later
  *  Implementation of XTEA for AVR
  *  include xtea.h in your C-Project to use this functions.
 */
@@ -70,7 +88,7 @@ xtea_enc:
        movw r26, r24 /* X points to destination */
  
        ldi Func1, 32
-       mov r0, Func1 /* r1 is cycle-counter */
+       mov r0, Func1 /* r0 is cycle-counter */
        clr Sum1
        clr Sum2
        movw Sum3, Sum1