1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-15 19:08:07 +00:00

Removed unnessary point copy.

This commit is contained in:
Ondrej Mikle 2014-07-07 16:35:53 +02:00
parent 02048f88b5
commit b34516bc49

View File

@ -503,7 +503,6 @@ int ecdsa_validate_pubkey(const curve_point *pub)
return 0; return 0;
} }
point_copy(pub, &temp);
point_multiply(&order256k1, pub, &temp); point_multiply(&order256k1, pub, &temp);
if (!point_is_infinity(&temp)) { if (!point_is_infinity(&temp)) {