Hi all,

I'm writing functions to create a digest of a data buffer using ECDSA+SHA256. I've been trying to work with only the high-level EVP interface, and not use the low-level interfaces.

My understanding is that the resulting digest is an ASN.1 structure. I have to feed this digest to the Intel SGX runtime, which requires a fixed-size input (they actually have two separates arrays, one for X and one for Y, each with 32-byte length).

Is it possible to get a fixed-sized digest using ECDSA/SHA256, I mean does OpenSSL have functions for this? Or could someone give me some pointers on how to proceed to convert that result to the 64-byte fixed size?

Daniel
--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

Reply via email to