<<  >> (p.28)
    Author Topic: Curve point divided by integer - is it possible?  (Read 759 times)
    BlackHatCoiner
    Legendary
    *
    Offline

    Activity: 2198
    Merit: 10290


    View Profile
    August 28, 2021, 08:52:15 AM
     #21

    So my output (the ones on the curve anyway) is correct? And not the test case output?
    Yes, they're correct (the first five). Which one is the test case output? Every k value you've written except those that are outside the secp256k1 return correct results.

    As for those last three; how did you manage to find their x and y coordinates since they don't belong there? Are they from another curve?

    I noticed this from my testing, it looks like that k and n-k have the same X coordinate but inverted (curve order - y) Y coordinate.
    Yep. Just learnt something new today.

    115792089237316195423570985008687907852837564279074904382605163141518161494337 (highest value for k)
    115792089237316195423570985008687907853269984665640564039457584007913129639936 (your k)
    Actually, that was my mistake. I edited my last post. The highest value for k is this minus one. The k you quoted is n, but the highest k is n-1. So it's:

    Code:
    115792089237316195423570985008687907852837564279074904382605163141518161494336
Page 27
Viewing Page: 28