]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - gf256mul.S
updated Makefile
[avr-crypto-lib.git] / gf256mul.S
index 5a47f4e98b6568c4d23e65656a39f631a56c3e53..b269d3a4a1b760d2d372598bb0cbfdf87de1009c 100644 (file)
@@ -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
 
 /*
  * 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