Identifying length of decrypted data.

2013-02-28 Thread Tayade, Nilesh
Hi, I am using the AES_cbc_encrypt() API to perform symmetric decryption. But in one of the scenarios I see the data encrypted is of 16bytes but just 1byte is useful and 15bytes is for padding. Is there some way I can know the actual encrypted data length? I came across some pointers like

Re: Identifying length of decrypted data.

2013-02-28 Thread Jakob Bohm
On 3/1/2013 7:24 AM, Tayade, Nilesh wrote: Hi, I am using the AES_cbc_encrypt() API to perform symmetric decryption. But in one of the scenarios I see the data encrypted is of 16bytes but just 1byte is useful and 15bytes is for padding. Is there some way I can know the actual encrypted data