On Fri, Jan 11, 2008 at 09:43:15AM +1000, Tim Hudson wrote:
> Hmm ... for IGE the IV is 2 * blocksize - and I think that might be your 
> problem. The way I read the code (quick read) is that sizeof(iv) == 16 and 
> IGE needs it to be 32.
>
> It will all depend on the stack layout as to what damage is done.

Changing it from:
unsigned char iv[MAX_BLOCK_SIZE/8];
To:
unsigned char iv[MAX_BLOCK_SIZE/8*2];

Solved the problem.  Thanks for the hint.


Kurt




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to