On Mon, Sep 07, 2020 at 04:23:22PM +0300, Jarkko Sakkinen wrote:
On Mon, Sep 07, 2020 at 07:38:24AM +0200, Greg KH wrote:
quoted
Please just use a binary blob format. Binary sysfs files are exactly
what this is for, you are just passing the data through the kernel from
the hardware to userspace.
You can have 24 binary files if that makes it easier, but the existing
format really is an abuse of sysfs.
Or use securityfs, that's fine too, but as you say, you have to write
more code for that.
thanks,
greg k-h
I suggested this in previous round: to have a single 'pcrs' binary file
with <TPM Alg ID, blob> pairs contained.
That's fine with me!