X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=gf256mul.S;h=b269d3a4a1b760d2d372598bb0cbfdf87de1009c;hb=c9c11514d91b8c19f77d65ac051b998bd99048b0;hp=5a47f4e98b6568c4d23e65656a39f631a56c3e53;hpb=0076b72ccd398bf7571c5144ba36eda8a24f6c70;p=avr-crypto-lib.git diff --git a/gf256mul.S b/gf256mul.S index 5a47f4e..b269d3a 100644 --- a/gf256mul.S +++ b/gf256mul.S @@ -1,6 +1,6 @@ /* gf256mul.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 @@ -31,17 +31,17 @@ /* * param a: r24 - * param b; r22 + * param b: r22 * param reducer: r20 */ -A = 21 +A = 23 B = 22 P = 24 .global gf256mul #ifdef OPTIMIZE_SMALL_A gf256mul: - mov r21, r24 + mov A, r24 clr r24 1: lsr A