[PATCH v2 0/3] crypto: X25519 supports for ppc64le

Danny Tsen posted 3 patches 1 year, 7 months ago
arch/powerpc/crypto/Kconfig                   |  11 +
arch/powerpc/crypto/Makefile                  |   2 +
arch/powerpc/crypto/curve25519-ppc64le-core.c | 299 ++++++++
arch/powerpc/crypto/curve25519-ppc64le_asm.S  | 671 ++++++++++++++++++
4 files changed, 983 insertions(+)
create mode 100644 arch/powerpc/crypto/curve25519-ppc64le-core.c
create mode 100644 arch/powerpc/crypto/curve25519-ppc64le_asm.S
[PATCH v2 0/3] crypto: X25519 supports for ppc64le
Posted by Danny Tsen 1 year, 7 months ago
This patch series provide X25519 support for ppc64le with a new module
curve25519-ppc64le.

The implementation is based on CRYPTOGAMs perl output from x25519-ppc64.pl.
(see https://github.com/dot-asm/cryptogams/)
Modified and added 4 supporting functions.

This patch has passed the selftest by running modprobe
curve25519-ppc64le.

Danny Tsen (3):
  X25519 low-level primitives for ppc64le.
  X25519 core functions for ppc64le
  Update Kconfig and Makefile for ppc64le x25519.

 arch/powerpc/crypto/Kconfig                   |  11 +
 arch/powerpc/crypto/Makefile                  |   2 +
 arch/powerpc/crypto/curve25519-ppc64le-core.c | 299 ++++++++
 arch/powerpc/crypto/curve25519-ppc64le_asm.S  | 671 ++++++++++++++++++
 4 files changed, 983 insertions(+)
 create mode 100644 arch/powerpc/crypto/curve25519-ppc64le-core.c
 create mode 100644 arch/powerpc/crypto/curve25519-ppc64le_asm.S

-- 
2.31.1
Re: [PATCH v2 0/3] crypto: X25519 supports for ppc64le
Posted by Herbert Xu 1 year, 6 months ago
On Thu, May 16, 2024 at 11:19:54AM -0400, Danny Tsen wrote:
> This patch series provide X25519 support for ppc64le with a new module
> curve25519-ppc64le.
> 
> The implementation is based on CRYPTOGAMs perl output from x25519-ppc64.pl.
> (see https://github.com/dot-asm/cryptogams/)
> Modified and added 4 supporting functions.
> 
> This patch has passed the selftest by running modprobe
> curve25519-ppc64le.
> 
> Danny Tsen (3):
>   X25519 low-level primitives for ppc64le.
>   X25519 core functions for ppc64le
>   Update Kconfig and Makefile for ppc64le x25519.
> 
>  arch/powerpc/crypto/Kconfig                   |  11 +
>  arch/powerpc/crypto/Makefile                  |   2 +
>  arch/powerpc/crypto/curve25519-ppc64le-core.c | 299 ++++++++
>  arch/powerpc/crypto/curve25519-ppc64le_asm.S  | 671 ++++++++++++++++++
>  4 files changed, 983 insertions(+)
>  create mode 100644 arch/powerpc/crypto/curve25519-ppc64le-core.c
>  create mode 100644 arch/powerpc/crypto/curve25519-ppc64le_asm.S
> 
> -- 
> 2.31.1

All applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Re: [PATCH v2 0/3] crypto: X25519 supports for ppc64le
Posted by Danny Tsen 1 year, 6 months ago
Thanks Herbert.


On 5/31/24 5:20 AM, Herbert Xu wrote:
> On Thu, May 16, 2024 at 11:19:54AM -0400, Danny Tsen wrote:
>> This patch series provide X25519 support for ppc64le with a new module
>> curve25519-ppc64le.
>>
>> The implementation is based on CRYPTOGAMs perl output from x25519-ppc64.pl.
>> (see https://github.com/dot-asm/cryptogams/)
>> Modified and added 4 supporting functions.
>>
>> This patch has passed the selftest by running modprobe
>> curve25519-ppc64le.
>>
>> Danny Tsen (3):
>>    X25519 low-level primitives for ppc64le.
>>    X25519 core functions for ppc64le
>>    Update Kconfig and Makefile for ppc64le x25519.
>>
>>   arch/powerpc/crypto/Kconfig                   |  11 +
>>   arch/powerpc/crypto/Makefile                  |   2 +
>>   arch/powerpc/crypto/curve25519-ppc64le-core.c | 299 ++++++++
>>   arch/powerpc/crypto/curve25519-ppc64le_asm.S  | 671 ++++++++++++++++++
>>   4 files changed, 983 insertions(+)
>>   create mode 100644 arch/powerpc/crypto/curve25519-ppc64le-core.c
>>   create mode 100644 arch/powerpc/crypto/curve25519-ppc64le_asm.S
>>
>> -- 
>> 2.31.1
> All applied.  Thanks.