summaryrefslogtreecommitdiff
path: root/authenc.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-10-13 04:13:39 -0400
committerJeffrey Walton <noloader@gmail.com>2017-10-13 04:13:39 -0400
commit1315c1fe2f35f1ad82077c1717d763817d205f31 (patch)
tree298c2846425101629272b2e7b078a86ae6b3b10d /authenc.h
parent437eda09e0cfe98eb50792c1e6d9e2c6cd322af2 (diff)
downloadcryptopp-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