analyze: show pcrs also in sha384 bank
SHA384 is pretty much the bank we actually *want* to use, since it's faster to calculate than SHA256, hence at the very least, start considering.
This commit is contained in:
committed by
Luca Boccassi
parent
99421eb1ef
commit
acaca5ab25
@@ -11,7 +11,7 @@
|
||||
static int get_pcr_alg(const char **ret) {
|
||||
assert(ret);
|
||||
|
||||
FOREACH_STRING(alg, "sha256", "sha1") {
|
||||
FOREACH_STRING(alg, "sha256", "sha384", "sha1") {
|
||||
_cleanup_free_ char *p = NULL;
|
||||
|
||||
if (asprintf(&p, "/sys/class/tpm/tpm0/pcr-%s/0", alg) < 0)
|
||||
|
||||
Reference in New Issue
Block a user