Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/boot/common/
H A Dbblk_einfo.c338 unsigned char *local_hash; in einfo_should_update() local
374 local_hash = malloc(hashing->size); in einfo_should_update()
375 if (local_hash == NULL) in einfo_should_update()
382 if (compute_hash(hs, local_hash, hashing) < 0) { in einfo_should_update()
383 free(local_hash); in einfo_should_update()
389 if (memcmp(local_hash, disk_hash, disk_einfo->hash_size) == 0) { in einfo_should_update()
390 free(local_hash); in einfo_should_update()
394 free(local_hash); in einfo_should_update()