]> git.karo-electronics.de Git - karo-tx-linux.git/commit
integrity: add measured_pcrs field to integrity cache
authorEric Richter <erichte@linux.vnet.ibm.com>
Wed, 1 Jun 2016 18:14:00 +0000 (13:14 -0500)
committerMimi Zohar <zohar@linux.vnet.ibm.com>
Thu, 30 Jun 2016 05:14:19 +0000 (01:14 -0400)
commit96d450bbeccda6f32c70bbb9ee54057f68733cad
treed42a489679baa7e4043430cdc610f67d9c5d0369
parentf786b752098216fedb73ba2905c8cce12358534a
integrity: add measured_pcrs field to integrity cache

To keep track of which measurements have been extended to which PCRs, this
patch defines a new integrity_iint_cache field named measured_pcrs. This
field is a bitmask of the PCRs measured. Each bit corresponds to a PCR
index. For example, bit 10 corresponds to PCR 10.

Signed-off-by: Eric Richter <erichte@linux.vnet.ibm.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
security/integrity/iint.c
security/integrity/integrity.h