[Bug 2150143] Re: Enable AF_ALG in gnutls

Wesley Hershberger 2150143 at bugs.launchpad.net
Tue May 5 17:59:51 UTC 2026


AF_ALG will be marked obsolete upstream:
https://gitlab.com/gnutls/gnutls/-/work_items/1881#note_3314606699

** Changed in: gnutls28 (Ubuntu)
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gnutls28 in Ubuntu.
https://bugs.launchpad.net/bugs/2150143

Title:
  Enable AF_ALG in gnutls

Status in Gnutls:
  New
Status in gnutls28 package in Ubuntu:
  Won't Fix

Bug description:
  Copying Debian #1134722 to Ubuntu; original report included below.

  A while ago, gnutls upstream added support for AF_ALG as an
  alternative crypto backend [1]. The feature is disabled in the latest
  version of gnutls in sid:

  configure: External hardware support:

    /dev/crypto:          no
    AF_ALG support:       no
    Hardware accel:       x86-64
    Padlock accel:        yes
    Random gen. variant:  getrandom
    PKCS#11 support:      yes
    TPM support:          no
    TPM2 support:         no
    KTLS support:         no

  It would be nice to enable this feature to allow userspace programs
  using gnutls (QEMU in my case) to use hardware-accelerated crypto
  (Intel QAT or others).

  I'm attaching a (partial) patch with the compile flag & build-dep on
  libkcapi. When applied to 3.8.12-2ubuntu1 the tests fail
  (tests/slow/test-ciphers.sh, no more information provided in the log),
  so this probably will take some additional investigation.

  This probably also implies adding a runtime-dep on libkcapi and needs
  kernel module af_alg loaded.

  I also saw #1072514 which I guess serves the same purpose from a
  different angle.

  Thanks for your consideration.
  ~Wesley

  [1] https://blogs.gnome.org/dueno/af_alg-support-in-gnutls/

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnutls/+bug/2150143/+subscriptions





More information about the foundations-bugs mailing list