-
- Downloads
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.
Showing
- ChangeLog 11 additions, 0 deletionsChangeLog
- chacha-crypt.c 93 additions, 9 deletionschacha-crypt.c
- chacha-internal.h 10 additions, 4 deletionschacha-internal.h
- configure.ac 5 additions, 2 deletionsconfigure.ac
- fat-ppc.c 2 additions, 2 deletionsfat-ppc.c
- powerpc64/fat/chacha-4core.asm 36 additions, 0 deletionspowerpc64/fat/chacha-4core.asm
- powerpc64/p7/chacha-4core.asm 231 additions, 0 deletionspowerpc64/p7/chacha-4core.asm
Loading
Please register or sign in to comment