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.
Loading
Please register or sign in to comment