X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=xtea-asm.S;h=826f12386a4aab0d68241f4beef6370bc10e99be;hb=951a88cde69f595ef2c00ed941e89ccf1567e3a0;hp=35063f21257174bc35975f8c2fa43dc90032d3e3;hpb=3c995d0a8faeb9d37927d48e20fc45d839e066ea;p=avr-crypto-lib.git diff --git a/xtea-asm.S b/xtea-asm.S index 35063f2..826f123 100644 --- a/xtea-asm.S +++ b/xtea-asm.S @@ -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 . +*/ /* 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