[gnutls-devel] GnuTLS | slow performance on IBM POWER architecture (#853)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Tue Oct 29 12:58:56 CET 2019
Nikos Mavrogiannopoulos commented:
Currently we use [cryptogams implementation](https://github.com/dot-asm/cryptogams) from openssl for assembly optimizations for x86, x86-64 and aarch64. It would be _relatively_ easy to bring another implementation for it, however setting up the (CI) testing environment may be more tricky. If someone would like to try:
- The gnutls assembler files are placed in `lib/accelerated/ARCH/[elf]`; a new architecture is registered in `lib/accelerated/accelerated.c`.
- They require a thin layer "linking" nettle with assembly; that is in `lib/accelerated/ARCH/.
- The assembler files themselves are auto-generated using rules in `cfg.mk`; you can do that using `make asm-sources`
- The testing of non-x86 architectures is done via qemu; images are created in https://gitlab.com/gnutls/build-images/tree/master/docker-debian-cross and `.gitlab-ci.yml` in main repo has individual tests
It using the aarch64 as base it should not be too hard to bring power architecture as well.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/issues/853#note_237210680
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20191029/a5e1e151/attachment-0001.html>
More information about the Gnutls-devel
mailing list