Hi, I adapted p256-m for the Koblitz-curve p256k1 for my use-case. FYI. In case you're interested.
Fwiw, I haven't done constant-time verification and secret-value-poisoning yet, because I focused on functionally operable and correct first, i.e. priorities.
I am, most likely, less experienced with such an implementation, so I worked off your foundation and used the formulas mentioned in the comments.
Hi, I adapted
p256-mfor the Koblitz-curvep256k1for my use-case. FYI. In case you're interested.Fwiw, I haven't done constant-time verification and secret-value-poisoning yet, because I focused on functionally operable and correct first, i.e. priorities.
p256k1(Koblitz-curve)I am, most likely, less experienced with such an implementation, so I worked off your foundation and used the formulas mentioned in the comments.