Re: [PATCH] "PowerPC64" chacha-core big-endian support "Shorter version"

2020-11-07 Thread Niels Möller
Maamoun TK writes: > Sure. According to Power ISA 2.07: > The lvsl and lvsr instructions can be used to create the permute control > vector to be used by a subsequent vperm instruction. > > So the lvsl and lvsr instructions check 'sh' value in order to fill the > vector register, if 'sh' is 0

Re: [PATCH] "PowerPC64" chacha-core big-endian support "Shorter version"

2020-09-28 Thread Niels Möller
ni...@lysator.liu.se (Niels Möller) writes: > Maamoun TK writes: > >> The last patch follows the C implementation but I just figured out a decent >> way to do it. > > Thanks! Applied, and pushed on the ppc-chacha-core branch for testing. > (Had apply it semi-manually, since the file to patch

Re: [PATCH] "PowerPC64" chacha-core big-endian support "Shorter version"

2020-09-28 Thread Niels Möller
Maamoun TK writes: > The last patch follows the C implementation but I just figured out a decent > way to do it. Thanks! Applied, and pushed on the ppc-chacha-core branch for testing. (Had apply it semi-manually, since the file to patch indents using TAB and those were replaced by spaces in the

[PATCH] "PowerPC64" chacha-core big-endian support "Shorter version"

2020-09-25 Thread Maamoun TK
The last patch follows the C implementation but I just figured out a decent way to do it. --- powerpc64/p7/chacha-core-internal.asm | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/powerpc64/p7/chacha-core-internal.asm