> -----Original Message-----
> From: Herbert Xu [mailto:herb...@gondor.apana.org.au]
> Sent: Wednesday, June 22, 2016 11:04 AM
> To: Benedetto, Salvatore <salvatore.benede...@intel.com>
> Cc: linux-crypto@vger.kernel.org
> Subject: Re: [PATCH v10 2/3] crypto: kpp - Add DH software implementation
> 
> On Wed, Jun 22, 2016 at 08:18:42AM +0000, Benedetto, Salvatore wrote:
> >
> > If I have to pack the secret into a bytestream, where do you expect
> > the endianness of the sizes to be handled? If I understood you
> > correctly I'll pack them in little endian, but when decoding I have to
> > take that into account. Wouldn't that result in pointless endianness
> management in the decode functions?
> 
> It is not pointless if it means that we can have a single test function like 
> most
> other types.

It is pointless because it will only be used for the testmanager.
I can merge the test functions but I'll still have two set_secret functions
based on the alg value. Would that be enough for you?

Regards,
Salvatore 
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to