mirror of
https://github.com/systemd/systemd.git
synced 2025-03-31 14:50:15 +03:00
tpm2: replace magic number
This commit is contained in:
parent
a45215ed33
commit
1200777b21
@ -1496,7 +1496,7 @@ int tpm2_seal(const char *device,
|
||||
.nameAlg = TPM2_ALG_SHA256,
|
||||
.objectAttributes = TPMA_OBJECT_FIXEDTPM | TPMA_OBJECT_FIXEDPARENT,
|
||||
.parameters.keyedHashDetail.scheme.scheme = TPM2_ALG_NULL,
|
||||
.unique.keyedHash.size = 32,
|
||||
.unique.keyedHash.size = SHA256_DIGEST_SIZE,
|
||||
.authPolicy = *policy_digest,
|
||||
},
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user