]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - twister512.S
moved twister naming from big to large
[avr-crypto-lib.git] / twister512.S
index 70d98edf228308f157293850b40e18a4cf4d0e94..0aece4d7d7e2787042311e36e138d4c926b77c07 100644 (file)
@@ -1,6 +1,6 @@
 /* twister512.S */
 /*
-    This file is part of the This file is part of the AVR-Crypto-Lib.
+    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
@@ -60,7 +60,7 @@ twister512:
        movw r24, CTX_SAVE0
        ldi r22, lo8(512)
        ldi r23, hi8(512)
-       rcall twister_big_init
+       rcall twister_large_init
 1:
        tst MSG_LEN3
        brne 2f
@@ -71,7 +71,7 @@ twister512:
 2:
        movw r24, CTX_SAVE0
        movw r22, MSG_SAVE0
-       rcall twister_big_nextBlock
+       rcall twister_large_nextBlock
        adiw MSG_SAVE0, 63
        adiw MSG_SAVE0,  1      
        subi MSG_LEN1, 2
@@ -82,13 +82,13 @@ twister512:
        movw r24, CTX_SAVE0
        movw r22, MSG_SAVE0
        movw r20, MSG_LEN0
-       rcall twister_big_lastBlock
+       rcall twister_large_lastBlock
        
        movw r24, DST_SAVE0
        movw r22, CTX_SAVE0
        ldi r20, lo8(512)
        ldi r21, hi8(512)
-       rcall twister_big_ctx2hash
+       rcall twister_large_ctx2hash
 
        stack_free_large2 64+2*8+64
        pop r29