Re: [PATCH v2 12/18] crypto: dh - introduce support for ephemeral key generation to qat driver

From: Giovanni Cabiddu
Date: Wed Dec 15 2021 - 16:54:47 EST


On Thu, Dec 09, 2021 at 09:03:52AM +0000, Nicolai Stange wrote:
> A previous patch made the dh-generic implementation's ->set_secret() to
> generate an ephemeral key in case the input ->key_size is zero, just in
> analogy with ecdh. Make the qat crypto driver's DH implementation to
> behave consistently by doing the same.
I ran a few tests on QAT GEN2 HW and this patch/set does not causes
regressions.

On the headline of the commit, should this be crypto: qat - ... ?

> Signed-off-by: Nicolai Stange <nstange@xxxxxxx>
> Reviewed-by: Hannes Reinecke <hare@xxxxxxx>
Acked-by: Giovanni Cabiddu <giovanni.cabiddu@xxxxxxxxx>

--
Giovanni