On Mon, May 10, 2021 at 04:54:08PM +0800, Hui Tang wrote: > Actual data length of the 'secret' is not equal to the 'secret_size'. > > Since the 'curve_id' has removed in the 'secret', the 'secret_size' > should subtract the length of the 'curve_id'. > > Fixes: 6763f5ea2d9a(crypto: ecdh - move curve_id of ECDH from ...) > > Signed-off-by: Hui Tang <tanghui20@xxxxxxxxxx> > --- > crypto/testmgr.h | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) Patch applied. Thanks. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt