Home
last modified time | relevance | path

Searched refs:gilog (Results 1 – 1 of 1) sorted by relevance

/reactos/drivers/filesystems/btrfs/
H A Dgalois.c37 static const uint8_t gilog[] = {0x00, 0x00, 0x01, 0x19, 0x02, 0x32, 0x1a, 0xc6, 0x03, 0xdf, 0x33, 0… variable
58 if (gilog[data[0]] <= div) in galois_divpower()
59 data[0] = glog[(gilog[data[0]] + (255 - div)) % 255]; in galois_divpower()
61 data[0] = glog[(gilog[data[0]] - div) % 255]; in galois_divpower()
77 return glog[(gilog[a] + gilog[b]) % 255]; in gmul()
86 if (gilog[a] >= gilog[b]) in gdiv()
87 return glog[(gilog[a] - gilog[b]) % 255]; in gdiv()
89 return glog[255-((gilog[b] - gilog[a]) % 255)]; in gdiv()