Reputation: 2967
I have done PKCS_7_ASN_ENCODING | X509_ASN_ENCODING in windows using wincrypt and I have to verify signature in linux. Can anyone tell by about good light crypto api on linux.
On searching I found http://home.gna.org/cryptodev-linux/ and on compiling it i am getting this error crypto/hash.h: No such file or directory
Upvotes: 2
Views: 1999
Reputation: 32240
This error occurs because you don't have the kernel headers for your system/kernel, therefore when you try to compile, it's unable to find those headers.
More on your end goal, do you want to validate whether a certificate is signed by someone else's certificate?
If so, and if you're open to use OpenSSL, take a look at this answer.
Upvotes: 3