Man, it's so frickin' hard to find good OpenSSL library documentation...
It's a little frustrating.
Would anyone happen to know how to create an ECDSA key using only the 32-byte private key format rather than the 279 byte DER format?
For the 279 byte DER format, I know you can do something like:
EC_KEY* pKey;
d2i_ECPrivateKey(&pKey, &privateKey, privateKeyLength);
But this only seems to work for the 279 byte DER form for the private key.
I'd like to know what sequence of calls to the OpenSSL library to use to get the full 279 byte DER private key from a 32-byte private key...as, for instance,
https://bitcointools.appspot.com/ can do.
Thanks.
-TT