Posts

Post not yet marked as solved
5 Replies
Hi hwcho. I follow your steps to get r and s from ECDSA_SIG structure. And use BN_bn2bin to get the binary of r and s. But sometimes the length of result BN_bn2bin will be 31 instead of 32. Should I append 0x00 if the length is 31?