Home
last modified time | relevance | path

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

/linux/lib/reed_solomon/
H A Dreed_solomon.c70 static struct rs_codec *codec_init(int symsize, int gfpoly, int (*gffunc)(int), in codec_init() argument
87 rs->gfpoly = gfpoly; in codec_init()
106 if (gfpoly) { in codec_init()
113 sr ^= gfpoly; in codec_init()
213 static struct rs_control *init_rs_internal(int symsize, int gfpoly, in init_rs_internal() argument
249 if (gfpoly != cd->gfpoly) in init_rs_internal()
266 rs->codec = codec_init(symsize, gfpoly, gffunc, fcr, prim, nroots, gfp); in init_rs_internal()
288 struct rs_control *init_rs_gfp(int symsize, int gfpoly, int fcr, int prim, in init_rs_gfp() argument
291 return init_rs_internal(symsize, gfpoly, NULL, fcr, prim, nroots, gfp); in init_rs_gfp()
/linux/include/linux/
H A Drslib.h43 int gfpoly; member
81 struct rs_control *init_rs_gfp(int symsize, int gfpoly, int fcr, int prim,
97 static inline struct rs_control *init_rs(int symsize, int gfpoly, int fcr, in init_rs() argument
100 return init_rs_gfp(symsize, gfpoly, fcr, prim, nroots, GFP_KERNEL); in init_rs()
/linux/arch/x86/crypto/
H A Daes-gcm-vaes-avx512.S210 .macro _ghash_mul_step i, a, b, dst, gfpoly, t0, t1, t2
219 vpclmulqdq $0x01, \t0, \gfpoly, \t2 // LO_L*(x^63 + x^62 + x^57)
227 vpclmulqdq $0x01, \t1, \gfpoly, \t0 // MI_L*(x^63 + x^62 + x^57)
237 .macro _ghash_mul a, b, dst, gfpoly, t0, t1, t2
239 _ghash_mul_step \i, \a, \b, \dst, \gfpoly, \t0, \t1, \t2
257 .macro _ghash_reduce lo, mi, hi, gfpoly, t0
258 vpclmulqdq $0x01, \lo, \gfpoly, \t0
261 vpclmulqdq $0x01, \mi, \gfpoly, \t0
268 .macro _ghash_square a, dst, gfpoly, t0, t1
271 vpclmulqdq $0x01, \t0, \gfpoly, \t1 // LO_L*(x^63 + x^62 + x^57)
[all …]
H A Daes-gcm-vaes-avx2.S137 .macro _ghash_mul_step i, a, b, dst, gfpoly, t0, t1, t2
146 vpclmulqdq $0x01, \t0, \gfpoly, \t2 // LO_L*(x^63 + x^62 + x^57)
155 vpclmulqdq $0x01, \t1, \gfpoly, \t0 // MI_L*(x^63 + x^62 + x^57)
166 .macro _ghash_mul a, b, dst, gfpoly, t0, t1, t2
168 _ghash_mul_step \i, \a, \b, \dst, \gfpoly, \t0, \t1, \t2
187 .macro _ghash_reduce lo, mi, hi, gfpoly, t0
188 vpclmulqdq $0x01, \lo, \gfpoly, \t0
192 vpclmulqdq $0x01, \mi, \gfpoly, \t0
200 .macro _ghash_square a, dst, gfpoly, t0, t1
203 vpclmulqdq $0x01, \t0, \gfpoly, \t1 // LO_L*(x^63 + x^62 + x^57)
[all …]
H A Daes-gcm-aesni-x86_64.S291 .macro _ghash_mul_step i, a, a_times_x64, b, gfpoly, t0, t1
313 pclmulqdq $0x00, \gfpoly, \t0 // MI_L*(x^63 + x^62 + x^57)
323 .macro _ghash_mul a, a_times_x64, b, gfpoly, t0, t1
325 _ghash_mul_step \i, \a, \a_times_x64, \b, \gfpoly, \t0, \t1