Question
Cryptolib: ECDSA Public key format
Hello,
I try to verify data with cmox_ecdsa_verify. It fails with CMOX_ECC_ERR_BAD_PARAMETERS. I think my public key has the wrong format, because the buffer CMOX_ECC_SECP384R1_PUBKEY_LEN is 96. My key has the length of 120 bytes.
I have exported my public with openssl. For example:
openssl ecparam -name secp384r1 -genkey -noout -out myprivate.key
openssl ec -in myprivate.key -pubout -out mypublic.der -outform DERWhat format do I need? And is it possible to convert the OpenSSL key to the right format?
Thank you.
