Searched refs:sha_command (Results 1 – 1 of 1) sorted by relevance
473 char sha_command[512]; in set_image_hash() local478 sprintf(sha_command, "sha%dsum /dev/null", hash_type); in set_image_hash()480 sprintf(sha_command, "dd if=/dev/zero of=tmp_pad bs=%d count=1;\ in set_image_hash()503 fp = popen(sha_command, "r"); in set_image_hash()