具体的运算算法
加法:
//直接异或运算就ok了
乘法:
unsigned char GFmul(unsigned char a, unsigned char b){
unsigned char result = 0;
if ((b&1)==1) result = a;
b = b >> 1;
for (int i = 0; i <
具体的运算算法
加法:
//直接异或运算就ok了
乘法:
unsigned char GFmul(unsigned char a, unsigned char b){
unsigned char result = 0;
if ((b&1)==1) result = a;
b = b >> 1;
for (int i = 0; i <