Home
last modified time | relevance | path

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

/xen/tools/libfsimage/zfs/
A Dzfs_sha256.c102 int padsize = size & 63; in zio_checksum_SHA256() local
105 for (i = 0; i < size - padsize; i += 64) in zio_checksum_SHA256()
108 for (i = 0; i < padsize; i++) in zio_checksum_SHA256()
111 for (pad[padsize++] = 0x80; (padsize & 63) != 56; padsize++) in zio_checksum_SHA256()
112 pad[padsize] = 0; in zio_checksum_SHA256()
115 pad[padsize++] = (size << 3) >> (56 - 8 * i); in zio_checksum_SHA256()
117 for (i = 0; i < padsize; i += 64) in zio_checksum_SHA256()

Completed in 3 milliseconds