summaryrefslogtreecommitdiff
path: root/chacha-internal.h
Commit message (Collapse)AuthorAgeFilesLines
* ppc: New assembly for chacha_core4, doing four blocks in parallel.Niels Möller2020-11-301-4/+10
| | | | | | | | | | | | | * chacha-crypt.c: (_nettle_chacha_crypt_4core) (_nettle_chacha_crypt32_4core): New functions. * chacha-internal.h: Add prototypes for _nettle_chacha_4core and related functions. * configure.ac (asm_nettle_optional_list): Add chacha-4core.asm. * powerpc64/fat/chacha-4core.asm: New file. * powerpc64/p7/chacha-4core.asm: New file. * fat-ppc.c (fat_init): When altivec is available, use _nettle_chacha_crypt_4core and _nettle_chacha_crypt32_4core instead of _2core variants.
* Delete name mangling of internal Chacha symbolsNiels Möller2020-11-301-41/+29
|
* ppc: Enable _chacha_2core in fat builds.Niels Möller2020-11-241-0/+14
|
* Prepare for using assembly function _chacha_2core.Niels Möller2020-11-231-0/+8
| | | | | | | | * chacha-crypt.c (_chacha_crypt_2core, _chacha_crypt32_2core): New variants of chacha_crypt, using _chacha_2core to do two blocks at a time. * chacha-internal.h (_chacha_2core, _chacha_2core32): Add declarations. * configure.ac (asm_nettle_optional_list): Add chacha-2core.asm.
* Rearrange chacha_crypt and chacha_crypt32, enabling fat builds to use ↵chacha-3core-neonNiels Möller2020-07-141-0/+33
| | | | chacha_3core
* Three-way interleaving of chacha on NeonNiels Möller2020-07-131-0/+5
|
* abi: explicitly export intended symbols and hide othersNikos Mavrogiannopoulos2018-07-071-0/+46
This adds all exported symbols in the map files explicitly under the following rules: - Symbols mentioned in internal headers go in a section which is valid only for testing, and linking with these symbols will break in library updates. - Symbols mentioned in installed headers go in the exported sections and are considered part of the ABI. - All internal symbols move to internal headers. - The _nettle_md5_compress and _nettle_sha1_compress become exported without the _nettle prefix, due to existing usage.