Hi
I compiled OSSL with no-des, so there is no DES cipher available in OSSL.
I build a Engine module which supports the des-ecb cipher.
openssl engine -vvvv dynamic -pre "SO_PATH:~/openssl-0.9.8/engines/des-ecb.so"
-pre LOAD -t
(dynamic) Dynamic engine loading support
[Success]: SO_PATH:~/openssl-0.9.8/engines/des-ecb.so
[Success]: LOAD
Loaded: (des-ecb) DES-ECB engine support
[ available ]
if i try to use the engine:
openssl enc -engine des-ecb -e -des-ecb -out testo -in testi
i get:
unknown option '-des-ecb'
is it cause my NID is wrong, the Engine module isn't loaded properly or OSSL is
compiled without DES cipher support?
but loading seems to be ok
openssl enc -engine des-ecb
engine "des-ecb" set.
i tried a OSSL build with DES cipher support and got this
openssl enc -engine des-ecb -e -des-ecb -out testo -in testi
parallel processing
engine "des-ecb" set.
enter des-ecb encryption password:
Verifying - enter des-ecb encryption password:
Error setting cipher DES-ECB
10220:error:0607C085:digital envelope routines:EVP_CIPHER_CTX_ctrl:ctrl
operation not implemented:evp_enc.c:533:
10220:error:0607B086:digital envelope routines:EVP_CipherInit_ex:initialization
error:evp_enc.c:171:
In the rsaref sample those functions are also not implemented, so what is wrong?
Also why does OSSL need DES cipher support enabled if i want to implement it as
a Engine module?
--
Best regards, Steffen Pankratz.
PGP PUBLIC KEY: http://www.kratz00.org/kratz00.at.gmx.de.asc
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [email protected]
Automated List Manager [EMAIL PROTECTED]