Dear all,

we found an error in the ecp.cpp file, line 46ff. The implementation
tries to skip an optional seed and does that by using the
BERDecodeOctetString function. This is wrong regarding X9.62
specification:

Curve ::= SEQUENCE {
  a    FieldElement,
  b    FieldElement,
  seed BIT STRING OPTIONAL
}

To skip this optional seed without getting an BER-Decoding-Error you
have to use the BERDecodeBitString function instead (of course with
matching parameter set).

Best regards,

Norbert A. Richartz

Reply via email to