diff options
author | James Bottomley <[email protected]> | 2024-04-29 16:28:01 -0400 |
---|---|---|
committer | Jarkko Sakkinen <[email protected]> | 2024-05-09 22:30:51 +0300 |
commit | d2add27cf2b823a8c1f8caf7ff10c98070df71f5 (patch) | |
tree | 59c6558e871892754a231ff63c847ecce9ca9172 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | fefb9f12726bebce74be7b95e259594696d0c423 (diff) |
tpm: Add NULL primary creation
The session handling code uses a "salted" session, meaning a session
whose salt is encrypted to the public part of another TPM key so an
observer cannot obtain it (and thus deduce the session keys). This
patch creates and context saves in the tpm_chip area the primary key
of the NULL hierarchy for this purpose.
[[email protected]: fixed documentation errors]
Signed-off-by: James Bottomley <[email protected]>
Reviewed-by: Jarkko Sakkinen <[email protected]>
Tested-by: Jarkko Sakkinen <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions