simon-git: putty (master): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Fri Oct 9 19:17:26 BST 2020


TL;DR:
  65383082 Support FreeBSD's API for querying the ELF aux vector.

Repository:     https://git.tartarus.org/simon/putty.git
On the web:     https://git.tartarus.org/?p=simon/putty.git
Branch updated: master
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2020-10-09 19:17:26

commit 65383082bf0c49cec63f4b36001a40bd9b13edf6
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=65383082bf0c49cec63f4b36001a40bd9b13edf6;hp=e5caabadeda34cb8a0ef7ae1717e781c3dcce8e2
Author: Simon Tatham <anakin at pobox.com>
Date:   Fri Oct 9 19:14:57 2020 +0100

    Support FreeBSD's API for querying the ELF aux vector.
    
    We use this for detecting the Arm crypto extension and using it to
    enable accelerated AES and/or SHA-{1,2}. Previously, I had code that
    called glibc's getauxval(3) function, conditioned on #ifdef __linux__.
    Now, instead, I do an autoconf test to query the presence of getauxval
    itself (so that any other system with the same API can still work),
    and alongside it, also check for the analogous FreeBSD libc function
    elf_aux_info(3). As a result, building on Arm FreeBSD now gets the
    accelerated-crypto autodetection.

 configure.ac   |  4 ++--
 unix/uxutils.c | 47 +++++++++++++++++++++++++++--------------------
 2 files changed, 29 insertions(+), 22 deletions(-)



More information about the tartarus-commits mailing list