Hii'm writing an openssl engine for Tiny Encryption Algorithm .I can encrypt a 
file with this engine, but when i decrypt output file, only first 16 bytes can 
be decrypted  and this error occurs : bad decrypt3412:error:06065064:digital 
envelope routines:EVP_DecryptFinal_ex:bad decrypt:.\crypto\evp\evp_enc.c:330:i 
guess that my EVP_CIPHER structure is not defined correctly. TEA encryption 
algorithm:http://www.gelato.unsw.edu.au/lxr/source/crypto/tea.c
Thanks in advance,Siavash


      

Reply via email to