Re: EVP_CipherUpdate returns datalenght 0

2009-08-26 Thread Dr. Stephen Henson
On Wed, Aug 26, 2009, Johan Foglemark wrote: > Hi, this is a two part question. First in the cipherEncrypt16b function > below I try to encrypt a signle block with aes128, but I cant really use > EVP_CipherFinal_ex since it seems to put out and extra block of data even > tho its only 16bytes put i

EVP_CipherUpdate returns datalenght 0

2009-08-26 Thread Johan Foglemark
Hi, this is a two part question. First in the cipherEncrypt16b function below I try to encrypt a signle block with aes128, but I cant really use EVP_CipherFinal_ex since it seems to put out and extra block of data even tho its only 16bytes put in.. This part works tho when EVP_CipherFinal_ex is com