Skip to content
Commit 605d7011 authored by Sean Parkinson's avatar Sean Parkinson
Browse files

SP P521: hash len needs special attention when 521 bits

Need to right shift number down when hash is more than 521 bits.
Previously handled at a byte level and now at bit level.
Always return err from sp_*_ecc_mulmod_add_only_*().
When ECC add and double points are public and only have SP
implementation, check that the point ordinates are the right size.
parent 07fdca1d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment