hello all. I am trying to use AES128ctr mode in openssl. I am using my hardware driver for the same for encryption and decryption through openssl. Encryption is working fine but during decryption it gives bad decryption error. I am using the following commands
openssl enc -e -in infile -out encfile -aes-128-ctr openssl enc -d -in encfile -out decfile -aes-128-ctr and i get the error when i try to execute the 2nd command bad decrypt 1075934680:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:evp_enc.c:498: i am stuck here from many days please help me.. thanks in advance