Searched defs:crc32_context (Results 1 - 3 of 3) sorted by relevance
/osnet-11/usr/src/grub/grub2/grub-core/efiemu/ |
H A D | prepare.c | 125 grub_uint8_t crc32_context[GRUB_MD_CRC32->contextsize]; local 136 GRUB_MD_CRC32->init(crc32_context); 137 GRUB_MD_CRC32->write(crc32_context, runtime_services, runtime_services->hdr.header_size); 138 GRUB_MD_CRC32->final(crc32_context); 141 grub_be_to_cpu32(*(grub_uint32_t*)GRUB_MD_CRC32->read(crc32_context)); 148 GRUB_MD_CRC32->init(crc32_context); 149 GRUB_MD_CRC32->write(crc32_context, SUFFIX (grub_efiemu_system_table), 151 GRUB_MD_CRC32->final(crc32_context); 153 grub_be_to_cpu32(*(grub_uint32_t*)GRUB_MD_CRC32->read(crc32_context));
|
/osnet-11/usr/src/grub/grub2/grub-core/lib/xzembed/ |
H A D | xz_dec_stream.c | 74 uint64_t *crc32_context; member in struct:xz_dec 271 s->crc32->write(s->crc32_context,b->out + s->out_start, 314 s->crc32->write(s->crc32_context,b->in + s->in_start, in_used); 384 grub_uint64_t *hash_context = crc32 ? s->crc32_context 423 s->crc32->init(s->crc32_context); 487 s->crc32_context = kmalloc(s->crc32->contextsize, GFP_KERNEL); 488 if (s->crc32_context == NULL) 490 s->crc32->init(s->crc32_context); 506 kfree(s->crc32_context); 515 kfree(s->crc32_context); [all...] |
/osnet-11/usr/src/grub/grub2/util/ |
H A D | grub-fstest.c | 282 grub_uint8_t crc32_context[GRUB_MD_CRC32->contextsize]; local 283 GRUB_MD_CRC32->init(crc32_context); 290 GRUB_MD_CRC32->write(crc32_context, buf, len); 295 GRUB_MD_CRC32->final(crc32_context); 297 grub_be_to_cpu32(*(grub_uint32_t*)GRUB_MD_CRC32->read(crc32_context)));
|
Completed in 566 milliseconds