X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=twister512.S;h=0aece4d7d7e2787042311e36e138d4c926b77c07;hb=dbbf324199b1aa27be910e00e1aad5e991d70e98;hp=2952ad42b27cab2a698d78058e35dbd461db62b7;hpb=288c82e97b3c37666b1c11475b45a956b3e5e8e0;p=avr-crypto-lib.git diff --git a/twister512.S b/twister512.S index 2952ad4..0aece4d 100644 --- a/twister512.S +++ b/twister512.S @@ -1,6 +1,6 @@ /* twister512.S */ /* - This file is part of the Crypto-avr-lib/microcrypt-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