]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - sha1/sha1-asm.S
fixing E-Mail-Address & Copyright
[avr-crypto-lib.git] / sha1 / sha1-asm.S
index 4d185f928fc5a488e96ee66919ff36bffe21acdc..69ab9624b80fe00cfe9d58b70e2328a750c977d8 100644 (file)
@@ -1,7 +1,7 @@
 /* sha1-asm.S */
 /*
     This file is part of the AVR-Crypto-Lib.
-    Copyright (C) 2008  Daniel Otte (daniel.otte@rub.de)
+    Copyright (C) 2006-2015 Daniel Otte (bg@nerilex.org)
 
     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
@@ -284,8 +284,8 @@ sha1_lastBlock:
        pop r25
        subi r21, 2
        ldi r19, 64
-       sub r22, r19
-       sbc r23, r1
+       add r22, r19
+       adc r23, r1
        rjmp sha1_lastBlock
 sha1_lastBlock_prolog:
        /* allocate space on stack */