Searched refs:manifest_hash (Results 1 - 2 of 2) sorted by relevance

/freebsd-13-stable/lib/libsecureboot/
H A Dpass_manifest.c41 static char manifest_hash[2 * br_sha256_SIZE + 2]; variable
106 hexdigest(manifest_hash, 2 * br_sha256_SIZE + 2,
108 manifest_hash[2*br_sha256_SIZE] = '\0';
132 unsetenv("veriexec.manifest_hash");
141 rc = setenv("veriexec.manifest_hash", manifest_hash, 1);
/freebsd-13-stable/sys/security/mac_veriexec_parser/
H A Dmac_veriexec_parser.c435 unsigned char *manifest_hash; local
443 manifest_hash = kern_getenv("veriexec.manifest_hash");
444 if (manifest_hash == NULL) {
451 if (strlen(manifest_hash) != 2 * SHA256_DIGEST_LENGTH)
452 panic("veriexec.manifest_hash has incorrect size");
454 rc = hexstring_to_bin(manifest_hash);
456 panic("mac_veriexec: veriexec.loader.manifest_hash"
459 rc = parse_manifest(manifest_path, manifest_hash, manifest_prefix);
470 freeenv(manifest_hash);
[all...]

Completed in 52 milliseconds