Re: [PATCH 1/3] lib/oid_registry: add ability to ASN.1 encode OIDs

2024-05-26 Thread Ben Boeckel
On Fri, May 24, 2024 at 08:59:53 -0400, James Bottomley wrote: > Consumers of the ASN.1 encoder occasionally need to insert OIDs into > the ASN.1 stream. The existing interface in lib/asn1_encoder.c is > clunky in that it directly encodes the u32 array form of the OID. > Instead introduce a functi

Re: [PATCH 1/6] tpm: consolidate TPM to crypto hash algorithm conversion

2024-05-26 Thread Ben Boeckel
On Fri, May 24, 2024 at 09:04:54 -0400, James Bottomley wrote: > diff --git a/include/linux/tpm.h b/include/linux/tpm.h > index c17e4efbb2e5..07f532456a0c 100644 > --- a/include/linux/tpm.h > +++ b/include/linux/tpm.h > @@ -418,11 +418,61 @@ enum tpm2_session_attributes { > TPM2_SA_AUDIT

Re: [RFC PATCH 0/2] TPM derived keys

2024-05-04 Thread Ben Boeckel
On Sat, May 04, 2024 at 03:21:11 +0300, Jarkko Sakkinen wrote: > I have no idea for what the key created with this is even used, which > makes this impossible to review. Additionally, there is nothing in Documentation/ for how userspace might use or create them. This includes things like their des