EC Private Key ASN1 Representation

2008-05-14 Thread Alvarez, Daniel
According to the SEC1 document, the EC Private key representation is as follows: ECPrivateKey{CURVES:IOSet} ::= SEQUENCE { version INTEGER { ecPrivkeyVer1(1) } (ecPrivkeyVer1), privateKey OCTET STRING, parameters [0] Parameters{{IOSet}} OPTIONAL, publicKey [1] BIT STRING OPTIONAL } From page 82

PKEYUTL application and ECDSA problem

2008-03-06 Thread Alvarez, Daniel
Hi all: I am trying to sign files with my own program and have followed almost the same steps as the pkeyutl application included in the OpenSSL distribution. When I try to sign 'large' files, the pkeyutl tool is not able to sign it producing a zero size output signature. I have debugged the