Hello!
I download the sources cryptodev-linux-1.5 and according to the README file 
i replace the eng_cryptodev.c file of openssl (crypto/engine/) with the 
version available in the extras subdirectory and also i add the flags  
-DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS as configuration arguments.
My compilation, which is relevant with openssl-0.9.8x version was 
unsuccessful because the flags
EVP_MD_FLAG_PKEY_METHOD_SIGNATURE|
EVP_MD_FLAG_DIGALGID_ABSENT
are not defined. By a brief search i realize that these flags are defined 
for openssl version 1.0.1c and not 0.9.8x.
So how can i use the eng_cryptodev.c file with the openssl-0.9.8x ?

Could you try removing those flags?

regards,
Nikos
Yes, i replace the flags with zeros and the compilation was successful.These 
flags appeared at definitions:
static const EVP_MD cryptodev_sha1 static const EVP_MD cryptodev_sha256 static 
const EVP_MD cryptodev_sha384 static const EVP_MD cryptodev_sha512 static const 
EVP_MD cryptodev_md5 
I'm wondering if the removal of these flags can influence the functionality of 
openssl and/or hardware acceleration of cryptodev.
BR Nick
                                          
_______________________________________________
Cryptodev-linux-devel mailing list
Cryptodev-linux-devel@gna.org
https://mail.gna.org/listinfo/cryptodev-linux-devel

Reply via email to