提交 4446044a 编写于 作者: E Emilia Kasper

NISTZ256: set Z_is_one to boolean 0/1 as is customary.

Cosmetic, no real effect.
Reviewed-by: NRichard Levitte <levitte@openssl.org>
上级 e22d2199
...@@ -1346,7 +1346,7 @@ static int ecp_nistz256_points_mul(const EC_GROUP *group, ...@@ -1346,7 +1346,7 @@ static int ecp_nistz256_points_mul(const EC_GROUP *group,
!bn_set_words(r->Z, p.p.Z, P256_LIMBS)) { !bn_set_words(r->Z, p.p.Z, P256_LIMBS)) {
goto err; goto err;
} }
r->Z_is_one = is_one(p.p.Z); r->Z_is_one = is_one(p.p.Z) & 1;
ret = 1; ret = 1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册