mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
crypto: ecc - rename ecdh_make_pub_key()
Rename ecdh_make_pub_key() to ecc_make_pub_key(). ecdh_make_pub_key() is not dh specific and the reference to dh is wrong. Signed-off-by: Tudor Ambarus <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
This commit is contained in:
parent
ad26959710
commit
7380c56d2f
3 changed files with 7 additions and 7 deletions
|
|
@ -87,8 +87,8 @@ static int ecdh_compute_value(struct kpp_request *req)
|
|||
|
||||
buf = ctx->shared_secret;
|
||||
} else {
|
||||
ret = ecdh_make_pub_key(ctx->curve_id, ctx->ndigits,
|
||||
ctx->private_key, ctx->public_key);
|
||||
ret = ecc_make_pub_key(ctx->curve_id, ctx->ndigits,
|
||||
ctx->private_key, ctx->public_key);
|
||||
buf = ctx->public_key;
|
||||
/* Public part is a point thus it has both coordinates */
|
||||
nbytes *= 2;
|
||||
|
|
|
|||
Loading…
Reference in a new issue