summaryrefslogtreecommitdiffstats
path: root/drivers/char/pcmcia/scr24x_cs.c
diff options
context:
space:
mode:
authorStefan Berger <stefanb@linux.vnet.ibm.com>2017-02-15 11:56:23 -0500
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>2017-02-15 20:09:52 +0200
commit51b0be640cf6e2cb63a7cf4d9c7c4acd3ad5afd0 (patch)
tree3ec488d7df08762dc5f6785574677879bbf8d648 /drivers/char/pcmcia/scr24x_cs.c
parent5cec5bacd37784a1596d2f8fea377212948a0bf4 (diff)
downloadlinux-51b0be640cf6e2cb63a7cf4d9c7c4acd3ad5afd0.tar.bz2
tpm: Fix expected number of response bytes of TPM1.2 PCR Extend
The TPM1.2 PCR Extend operation only returns 20 bytes in the body, which is the size of the PCR state. This fixes a problem where IMA gets errors with every PCR Extend. Fixes: c659af78eb7b ("tpm: Check size of response before accessing data") Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com> Acked-by: Mimi Zohar <zohar@us.ibm.com> Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Diffstat (limited to 'drivers/char/pcmcia/scr24x_cs.c')
0 files changed, 0 insertions, 0 deletions