/* 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
/*
* 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