]> git.ipfire.org Git - thirdparty/nettle.git/commit
ppc: New assembly for chacha_core4, doing four blocks in parallel.
authorNiels Möller <nisse@lysator.liu.se>
Mon, 30 Nov 2020 18:54:10 +0000 (19:54 +0100)
committerNiels Möller <nisse@lysator.liu.se>
Mon, 30 Nov 2020 19:02:57 +0000 (20:02 +0100)
commit58a0301437e9beb23130423ff1063a67b6f2b43b
tree1640513150ae83d26591656ffe12d0fa0e6230ae
parent58c55046beda976b10ac3ce930696d172e5e5038
ppc: New assembly for chacha_core4, doing four blocks in parallel.

* 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.
ChangeLog
chacha-crypt.c
chacha-internal.h
configure.ac
fat-ppc.c
powerpc64/fat/chacha-4core.asm [new file with mode: 0644]
powerpc64/p7/chacha-4core.asm [new file with mode: 0644]