Inquire about the performance of gcrypt on ARM architecture

Mizar Zhou kodanevhyz at gmail.com
Fri Nov 14 10:05:48 CET 2025


Hi everyone,



I’d like to ask about the performance of Libgcrypt on ARM architectures.



In my tests, using the same Libgcrypt version on ARMv8 results in performance that is three times slower, or even more, compared to Intel. Is this expected behavior? If not, are there any performance-related configuration options or build switches that I might have overlooked?



I’m using Libgcrypt 1.10.0 in ARMv8, compiled with the default settings.



Arm:

[root at node-2 tests]# ./benchmark --large-buffers --cipher-repetitions 1000 cipher aes256

Running each test 1000 times.

                ECB/Stream    CBC/Poly1305         CFB             OFB             CTR             XTS             CCM             GCM             OCB             EAX

             --------------- --------------- --------------- --------------- --------------- --------------- --------------- --------------- --------------- ---------------

AES256         380ms   390ms  1350ms   440ms  1360ms   440ms  1350ms  1360ms   430ms   440ms   530ms   550ms  1820ms  1800ms   680ms   670ms   480ms   480ms  1820ms  1810ms



x86:

[root at node-94 tests]# ./benchmark --large-buffers --cipher-repetitions 1000 cipher aes256

Running each test 1000 times.

                ECB/Stream    CBC/Poly1305         CFB             OFB             CTR             XTS             CCM             GCM             OCB             EAX

             --------------- --------------- --------------- --------------- --------------- --------------- --------------- --------------- --------------- ---------------

AES256          80ms    90ms  1050ms    90ms  1040ms    90ms  1250ms  1250ms    90ms    90ms   120ms   130ms  1140ms  1140ms   160ms   160ms    90ms    90ms  1150ms  1140ms



Thanks and regards,

Zhou
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20251114/6b2e7a7c/attachment.html>


More information about the Gnupg-users mailing list