/* Computes 3-bytes hamming codes for a data block whose size is multiple of 256 bytes. Each 256 bytes block gets its own code. */
void hamming_compute_256x(const uint8_t *puc_data, uint32_t dw_size, uint8_t *puc_code)
/* Computes 3-bytes hamming codes for a data block whose size is multiple of 256 bytes. Each 256 bytes block gets its own code. */
void hamming_compute_256x(const uint8_t *puc_data, uint32_t dw_size, uint8_t *puc_code)
{
	while (dw_size > 0) {
		compute256(puc_data, puc_code);
		puc_data += 256;
		puc_code += 3;
		dw_size -= 256;
	}
}