Skip to content

[S390x] Optimize prime modulo functions of elliptic curves

Maamoun TK requested to merge mamonet/nettle:s390x-ecc-mod into master

This patch implements prime modulo functions of elliptic curves on S390x architecture.

testsuite passes all tests of this patch.

Benchmark using ecc-benchmark on z15

Function C This patch
secp192r1_modp 0.0324 (us) 0.0112 (us)
secp224r1_modp 0.0873 (us) 0.0154 (us)
curve25519_modp 0.0285 (us) 0.0132 (us)
secp256r1_redc 0.0832 (us) 0.0157 (us)
secp384r1_modp 0.1131 (us) 0.0276 (us)
curve448_modp 0.0910 (us) 0.0224 (us)
secp521r1_modp 0.0782 (us) 0.0207 (us)
Edited by Maamoun TK

Merge request reports