Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: 6763f5e ("crypto: ecdh - move curve_id of ECDH from ...") Signed-off-by: Hui Tang <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
- Loading branch information