- sha512_init(&hash);
- sha512_update(&hash, signature, 32);
- sha512_update(&hash, public_key, 32);
- sha512_update(&hash, message, message_len);
- sha512_final(&hash, h);
-
- sc_reduce(h);
- ge_double_scalarmult_vartime(&R, h, &A, signature + 32);
- ge_tobytes(checker, &R);
+ sha512_init(&hash);
+ sha512_update(&hash, signature, 32);
+ sha512_update(&hash, public_key, 32);
+ sha512_update(&hash, message, message_len);
+ sha512_final(&hash, h);