> -----Original Message----- > From: Herbert Xu [mailto:herbert@xxxxxxxxxxxxxxxxxxx] > Sent: Thursday, May 5, 2016 7:22 AM > To: Benedetto, Salvatore <salvatore.benedetto@xxxxxxxxx> > Cc: linux-crypto@xxxxxxxxxxxxxxx > Subject: Re: [PATCH 0/3 v3] Key-agreement Protocol Primitives (KPP) API > > On Tue, May 03, 2016 at 12:44:00PM +0100, Salvatore Benedetto wrote: > > Hi Herb, > > > > the following patchset introduces a new API for abstracting > > key-agreement protocols such as DH and ECDH. It provides the > > primitives required for implementing the protocol, thus the name KPP > (Key-agreement Protocol Primitives). > > > > Regards, > > Salvatore > > > > Changes from v1: > > * Change check in dh_check_params_length based on Stephan review > > > > Changed from v2: > > * Add support for ECDH (curve P192 and P256). I reused the ecc module > > already present in net/bluetooth and extended it in order to select > > different curves at runtime. Code for P192 was taken from tinycrypt. > > Are you going to post the patches to use this as well? > I just sent v4 which contains a small change plus an illustrative patch that converts SMP BT to KPP api. I can't test the patch as I don't have the hardware. BT guys should be OK in converting their code properly to kpp once merged. Is that good enough for you? Regards, Salvatore -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html