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
  • !37

[Arm64] Optimize Chacha20

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Maamoun TK requested to merge mamonet/nettle:arm64-chacha into master Jan 18, 2022
  • Overview 0
  • Commits 1
  • Changes 3

This patch optimizes Chacha20 for arm64 architecture by following the approach used in powerpc implementation.

testsuite passes all tests of this patch.

Benchmark of chacha encrypt/decrypt using nettle-benchmark on gfarm 117

C This patch
197.72 Mbyte/s 357.58 Mbyte/s

NOTE: This patch is implemented while both endianess modes are in mind but has been tested only on little-endian variant because of lack of big-endian access.

Edited Jan 20, 2022 by Maamoun TK
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: arm64-chacha