diff options
author | James Bottomley <[email protected]> | 2024-04-29 16:28:07 -0400 |
---|---|---|
committer | Jarkko Sakkinen <[email protected]> | 2024-05-09 22:30:51 +0300 |
commit | 1b6d7f9eb150305dcb0da4f7101a8d30dcdf0497 (patch) | |
tree | 29b30c0ec3d13eb7760664a8d89546aada1c527d /scripts/gdb/linux/modules.py | |
parent | 6519fea6fd372b2247a48d72dcb23e14de70b4ea (diff) |
tpm: add session encryption protection to tpm2_get_random()
If some entity is snooping the TPM bus, they can see the random
numbers we're extracting from the TPM and do prediction attacks
against their consumers. Foil this attack by using response
encryption to prevent the attacker from seeing the random sequence.
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 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions