[Pkg-openssl-devel] Bug#459619: Bug#459619: Bug#459619: openssl speed segfaults for rsa
Kurt Roeckx
kurt at roeckx.be
Mon Jan 14 19:20:32 UTC 2008
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
More information about the Pkg-openssl-devel
mailing list