Hi,
This is due to the fact that the integers are stored as unsigned. So,
when the MSB of a computed value is set, the encoding adds an extra
0x00 to its ASN.1 representation.
This is normal and it explains what you are experiencing.
Cheers,
Mounir IDRASSI
IDRIX - Cryptography And IT Security Exp
Hi,
I try to understand why the signature length is variable in ECDSA.
Normally with 160bits EC, it must be 46 bytes long: 20 bytes for each of
the 2 components and 4 + 2 bytes for ASN.1.
I think it must be a bug in the ASN.1 creation of the signature.
Here is the details:
I'm testing this wi