This fix is making sure that a call to pk_to_key_slice for secp256k1 curve will always return 65 bytes in the format 0x04 + 32 bytes x + 32 bytes y.
Prior to the fix if x coordinate was with zero MSByte the result would have been 64 bytes of wrong point
This fix is making sure that a call to
pk_to_key_slice
for secp256k1 curve will always return 65 bytes in the format0x04
+ 32 bytesx
+ 32 bytesy
. Prior to the fix ifx
coordinate was with zero MSByte the result would have been 64 bytes of wrong point