diff options
author | Jeffrey Walton <noloader@gmail.com> | 2017-10-13 04:13:39 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2017-10-13 04:13:39 -0400 |
commit | 1315c1fe2f35f1ad82077c1717d763817d205f31 (patch) | |
tree | 298c2846425101629272b2e7b078a86ae6b3b10d /authenc.h | |
parent | 437eda09e0cfe98eb50792c1e6d9e2c6cd322af2 (diff) | |
download | cryptopp-git-1315c1fe2f35f1ad82077c1717d763817d205f31.tar.gz |
Fix unwanted inlining of factory.h classes on AIX and Power7
Enable aligned allocations under IBM XL C/C++. Based on the AIX malloc man pages, "... the block is aligned so that it can be used for any type of data". Previously CRYPTOPP_NO_ALIGNED_ALLOC was in effect.
Use malloc instead of calloc on OS X. Based on the OS X malloc man pages, "... the allocated memory is aligned such that it can be used for any data type, including AltiVec- and SSE-related types". Additionally, calloc zero'd the memory it allocated which slowed things down on Apple systems.
Diffstat (limited to 'authenc.h')
0 files changed, 0 insertions, 0 deletions