Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • N nettle
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 15
    • Merge requests 15
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • Nettle
  • nettle
  • Merge requests
  • !43

[S390x] Optimize scalar multiply of Curve25519 and Curve448 defined in RFC-7748

  • Review changes

  • Download
  • Patches
  • Plain diff
Open Maamoun TK requested to merge mamonet/nettle:s390x-ecc-7748 into master Jan 19, 2022
  • Overview 0
  • Commits 1
  • Changes 6

This patch implements scalar multiply of Curve25519 and Curve448 defined in RFC-7748 (also support group functions) on S390x architecture using hardware-accelerated instruction pcc.

testsuite passes all tests of this patch.

Benchmark on z15

Function C This patch
curve25519_mul 366 (us) 17 (us)
curve25519_mul_g 129 (us) 17 (us)
curve448_mul 1748 (us) 35 (us)
curve448_mul_g 624 (us) 35 (us)
Edited Jan 19, 2022 by Maamoun TK
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: s390x-ecc-7748