Re: [PATCH v2] tpm-v2: allow algoirthm name to be configured for pcr_read and pcr_extend

2024-03-30 Thread Ilias Apalodimas
On Sat, 30 Mar 2024 at 09:15, Ilias Apalodimas wrote: > > Hi Tim > > On Sat, 30 Mar 2024 at 02:40, Tim Harvey wrote: > > > > On Thu, Mar 28, 2024 at 11:18 PM Ilias Apalodimas > > wrote: > > > > > > Hi Tim, > > > > > > On Thu, 28 Mar 2024 at 19:01, Tim Harvey wrote: > > > > > > > > For pcr_read

Re: [PATCH v2] tpm-v2: allow algoirthm name to be configured for pcr_read and pcr_extend

2024-03-30 Thread Ilias Apalodimas
Hi Tim On Sat, 30 Mar 2024 at 02:40, Tim Harvey wrote: > > On Thu, Mar 28, 2024 at 11:18 PM Ilias Apalodimas > wrote: > > > > Hi Tim, > > > > On Thu, 28 Mar 2024 at 19:01, Tim Harvey wrote: > > > > > > For pcr_read and pcr_extend commands allow the digest algorithm to be > > > specified by an

Re: [PATCH v2] tpm-v2: allow algoirthm name to be configured for pcr_read and pcr_extend

2024-03-29 Thread Tim Harvey
On Thu, Mar 28, 2024 at 11:18 PM Ilias Apalodimas wrote: > > Hi Tim, > > On Thu, 28 Mar 2024 at 19:01, Tim Harvey wrote: > > > > For pcr_read and pcr_extend commands allow the digest algorithm to be > > specified by an additional argument. If not specified it will default to > > SHA256 for

Re: [PATCH v2] tpm-v2: allow algoirthm name to be configured for pcr_read and pcr_extend

2024-03-29 Thread Ilias Apalodimas
Hi Tim, On Thu, 28 Mar 2024 at 19:01, Tim Harvey wrote: > > For pcr_read and pcr_extend commands allow the digest algorithm to be > specified by an additional argument. If not specified it will default to > SHA256 for backwards compatibility. > > A follow-on to this could be to extend all PCR

[PATCH v2] tpm-v2: allow algoirthm name to be configured for pcr_read and pcr_extend

2024-03-28 Thread Tim Harvey
For pcr_read and pcr_extend commands allow the digest algorithm to be specified by an additional argument. If not specified it will default to SHA256 for backwards compatibility. A follow-on to this could be to extend all PCR banks with the detected algo when the argument is 'auto'.