diff options
author | Hui Tang <tanghui20@huawei.com> | 2021-05-10 16:54:08 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-05-21 16:17:29 +0800 |
commit | 2d016672528a592ada5188e53ac746e1b8b7a978 (patch) | |
tree | 70af544f767e871cb2a3af1f3fed60f7f1adcc0f /crypto/Makefile | |
parent | b01360384009ab066940b45f34880991ea7ccbfb (diff) |
crypto: testmgr - fix initialization of 'secret_size'
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@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/Makefile')
0 files changed, 0 insertions, 0 deletions