#include "config.h"
#include "uart.h"
#include "debug.h"
-/*
- *
- */
-void memxor(uint8_t * dest, uint8_t * src, uint8_t length){
- while(length--){
- *dest++ ^= *src++;
- }
-}
+#include "memxor.h"
+
/*
* SHABEA256-n
memcpy(R, hash, HALFSIZEB);
} else {
/* no swap */
- memxor(L, hash, HALFSIZE);
+ memxor(L, hash, HALFSIZEB);
}
}
}