Re: How do I remove padding during AES decryption

2006-09-18 Thread Marek Marcola
Hello, >Please can any one tell me how do I remove the pad bytes during > AES decyrption using AES_cbc_encryption. Provided that block_size is size of encryption algorithm block size and last block is in dst you may use something like that: . . pad = dst[block_size - 1]; if

RE: How do I remove padding during AES decryption

2006-09-17 Thread Bhat, Jayalakshmi Manjunath
D] On Behalf Of k b Sent: Saturday, September 16, 2006 10:22 PM To: openssl-users@openssl.org Subject: RE: How do I remove padding during AES decryption Jaya, You would have to use the EVP api that would do it for you. see http://www.openssl.org/docs/crypto/EVP_EncryptInit.html -kbisla >Fro

RE: How do I remove padding during AES decryption

2006-09-17 Thread Bhat, Jayalakshmi Manjunath
nssl-users@openssl.org Subject: RE: How do I remove padding during AES decryption Jaya, You would have to use the EVP api that would do it for you. see http://www.openssl.org/docs/crypto/EVP_EncryptInit.html -kbisla >From: "Bhat, Jayalakshmi Manjunath" <[EMAIL PROTECTED]

RE: How do I remove padding during AES decryption

2006-09-16 Thread k b
Jaya, You would have to use the EVP api that would do it for you. see http://www.openssl.org/docs/crypto/EVP_EncryptInit.html -kbisla From: "Bhat, Jayalakshmi Manjunath" <[EMAIL PROTECTED]> Reply-To: openssl-users@openssl.org To: Subject: How do I remove padding during AES decryption Date: Sa