Issue in CRYPTO_cbc128_encrypt due to unaligned address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

I am seeing an issue with the routine CRYPTO_cbc128_encrypt() in version 1.0.2h where,
, if I have not declared STRICT_ALIGNMENT, application crashes intermittently.

There was a similar query here but for CRYPTO_ctr128_encrypt.
https://mta.openssl.org/pipermail/openssl-dev/2016-January/003966.html

I have dumped the addresses for both ivec and iv. Even though the addresses are unaligned most of the times, crash is seen only occasioanally.

I don't want to declare STRICT_ALIGNMENT for performance reasons as I need to have the size_t based operations. Is there a work around similar to one proposed in the above thread or any other suggestions on how to handle this ?

Thanks
Mahendra


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux