Lines Matching refs:poly
71321 var prevpoly = GF256_GENPOLY[i], poly = [];
71325 poly.push(GF256_INVMAP[a ^ b]);
71327 GF256_GENPOLY.push(poly);
71579 var calculateecc = function (poly, genpoly) {
71580 var modulus = poly.slice(0);
71581 var polylen = poly.length, genpolylen = genpoly.length;
71602 var augumenteccs = function (poly, nblocks, genpoly) {
71604 var subsize = (poly.length / nblocks) | 0, subsize0 = 0;
71605 var pivot = nblocks - poly.length % nblocks;
71618 eccs.push(calculateecc(poly.slice(subsizes[i], subsizes[i + 1]), genpoly));
71622 var nitemsperblock = (poly.length / nblocks) | 0;
71625 result.push(poly[subsizes[j] + i]);
71629 result.push(poly[subsizes[j + 1] - 1]);
71646 var augumentbch = function (poly, p, genpoly, q) {
71647 var modulus = poly << q;
71652 return (poly << q) | modulus;