Vladimir 'phcoder' Serbinenko c30be3b694 Make Reed-Solomon faster by using power of generator representation of
GF(256)*.

	* grub-core/lib/reed_solomon.c (grub_uint16_t) [TEST]: Removed.
	(gf_double_t): Likewise.
	(gf_invert): Removed.
	(gf_powx): New array.
	(gf_powx_inv): Likewise.
	(scratch): Move higher.
	(gf_reduce): Removed.
	(gf_mul): Use powx.
	(gf_invert): Likewise.
	(init_inverts): Replaced with ...
	(init_powx): ...this. All users updated.
	(pol_evaluate): Replace multiplications with additions.
	(rs_encode): Likewise.
	(gauss_eliminate): Call gf_invert.
	(grub_reed_solomon_add_redundancy): Call init_powx.
	(grub_reed_solomon_recover): Call init_powx unconditionally.
2011-11-13 14:48:19 +01:00
..
2011-05-13 16:36:05 +02:00
2011-10-19 16:53:18 +02:00
2010-08-30 00:54:15 +02:00
2011-11-11 18:30:34 +01:00
2011-07-05 20:24:20 +02:00
2011-11-03 15:13:30 +01:00
2010-12-01 01:22:55 +01:00
2011-11-06 15:18:25 +01:00
2010-05-06 11:34:04 +05:30
2010-09-21 11:22:52 +02:00