Re: [PATCH v2] DH support: add KDF handling support

2016-08-04 Thread Stephan Mueller
Am Donnerstag, 4. August 2016, 13:57:27 CEST schrieb Mat Martineau: Hi Mat, > Stephan, > > On Thu, 4 Aug 2016, Stephan Mueller wrote: > > Hi Mat, David, > > > > this patch covers all comments you raised. I also added a man page > > for the new API calls. > > > > ---8<--- > > > > Add the inter

Re: [PATCH v2] DH support: add KDF handling support

2016-08-04 Thread Mat Martineau
Stephan, On Thu, 4 Aug 2016, Stephan Mueller wrote: Hi Mat, David, this patch covers all comments you raised. I also added a man page for the new API calls. ---8<--- Add the interface logic to support DH with KDF handling support. The dh_compute code now allows the following options: - no

Re: [PATCH v2] DH support: add KDF handling support

2016-08-04 Thread Stephan Mueller
Am Donnerstag, 4. August 2016, 20:38:59 CEST schrieb Stephan Mueller: Hi Mat, > @@ -1663,6 +1668,7 @@ static void act_keyctl_dh_compute(int argc, char > *argv[]) } > > printf("%02hhx", *p); > + *p = 0x00; /* zeroize buffer */ > p++; > >

[PATCH v2] DH support: add KDF handling support

2016-08-04 Thread Stephan Mueller
Hi Mat, David, this patch covers all comments you raised. I also added a man page for the new API calls. ---8<--- Add the interface logic to support DH with KDF handling support. The dh_compute code now allows the following options: - no KDF support / output of raw DH shared secret: dh_compu