Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/base/firmware_loader/
Dmain.c816 u8 *sha256buf; in fw_log_firmware_info() local
823 sha256buf = kmalloc(SHA256_DIGEST_SIZE, GFP_KERNEL); in fw_log_firmware_info()
826 if (!sha256buf || !outbuf || !shash) in fw_log_firmware_info()
831 if (crypto_shash_digest(shash, fw->data, fw->size, sha256buf) < 0) in fw_log_firmware_info()
835 sprintf(&outbuf[i * 2], "%02x", sha256buf[i]); in fw_log_firmware_info()
844 kfree(sha256buf); in fw_log_firmware_info()