[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH V7 5/9] Support for BIOS interrupt handler
From: |
Edgar E. Iglesias |
Subject: |
Re: [Qemu-devel] [PATCH V7 5/9] Support for BIOS interrupt handler |
Date: |
Wed, 31 Aug 2011 21:58:58 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Wed, Aug 31, 2011 at 03:45:45PM -0400, Stefan Berger wrote:
> This patch implements the TCG BIOS interrupt handler 1ah. It is for
> example used by trusted grub.
>
> This patch adds an implementation of SHA1 (following NIST specs., IETF RFC
> 3147
> and Wikipedia) for speeding up measurements of code. Trusted Grub for example
> makes use of this interface and measures (calculates SHA1) of the Linux kernel
> and initrd. Those files can be rather large and hunting their bytes through
> the TIS interface as part of the int handler commands invoked by trusted grub
> does take quite some time due to the many vmexits the interface is creating
> (one per byte).
>
> There is also a threshold for the size of data to hash (100k) below which
> the TPM is used and above the internal faster SHA1 algorithm is used.
Hi Stefan,
A question:
Is there a reason for not reusing the SHA1 implementation from other libraries,
like OpenSSL?
I've got a couple of cryptographic device models on my end (some of them
that I may contribute at some point) that will need the various SHA hashes
and other ciphers.
In my case, there might be tons of data beeing hashed and when available,
it would be nice to be able to use cryptographic hw acceleration which
may be provided by OpenSSL engines. Or even, just heavily optimized
assembly versions of them.
Cheers
- [Qemu-devel] [PATCH V7 0/9] Add TPM support to SeaBIOS, Stefan Berger, 2011/08/31
- [Qemu-devel] [PATCH V7 2/9] Provide ACPI SSDT table for TPM device + S3 resume support, Stefan Berger, 2011/08/31
- [Qemu-devel] [PATCH V7 5/9] Support for BIOS interrupt handler, Stefan Berger, 2011/08/31
- Re: [Qemu-devel] [PATCH V7 5/9] Support for BIOS interrupt handler,
Edgar E. Iglesias <=
- [Qemu-devel] [PATCH V7 1/9] Add an implementation of a TPM TIS driver, Stefan Berger, 2011/08/31
- [Qemu-devel] [PATCH V7 9/9] Optional tests for the TIS interface, Stefan Berger, 2011/08/31
- [Qemu-devel] [PATCH V7 6/9] Add measurement code to the BIOS, Stefan Berger, 2011/08/31
- [Qemu-devel] [PATCH V7 7/9] Add a menu for TPM control, Stefan Berger, 2011/08/31
- [Qemu-devel] [PATCH V7 8/9] Support for Qemu-provided measurements, Stefan Berger, 2011/08/31
- [Qemu-devel] [PATCH V7 3/9] Add public get_rsdp function, Stefan Berger, 2011/08/31
- [Qemu-devel] [PATCH V7 4/9] Implementation of the TCG BIOS extensions, Stefan Berger, 2011/08/31