Linux cryptographic layer development
 help / color / mirror / Atom feed
* Which, if any, of the async crypto drivers are ever useful in the real world?
@ 2026-05-18 10:11 Demi Marie Obenour
  2026-05-19 20:36 ` Simon Richter
  0 siblings, 1 reply; 3+ messages in thread
From: Demi Marie Obenour @ 2026-05-18 10:11 UTC (permalink / raw)
  To: linux-crypto; +Cc: Eric Biggers, Herbert Xu


[-- Attachment #1.1.1: Type: text/plain, Size: 997 bytes --]

Looking at mailing list archives, I've yet to see real-world benchmarks
showing that the async crypto drivers actually help, outside of:

1. Hashing or encrypting a big file.
2. Situations where the kernel doesn't have the keys.

The first is not something I expect to be performance-critical.
The second is something I have yet to see outside of phmac on IBM
mainframes.

When WireGuard was being merged, there was a strong argument that
the Inside Secure driver (now Rambus) really does help bulk network
encryption.  But I didn't see specific benchmarks, only rough numbers.

I plan to (someday) send a patch that makes drivers inaccessible via
AF_ALG.  This means that the drivers will only be useable in-kernel.
And more and more in-kernel uses are moving to lib/crypto/ instead.

Is it really *always* better to do the cryptography inline or on the
CPU?  If so, then the async drivers are pointless and can be removed.
-- 
Sincerely,
Demi Marie Obenour (she/her/hers)

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 7253 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-05-19 21:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-18 10:11 Which, if any, of the async crypto drivers are ever useful in the real world? Demi Marie Obenour
2026-05-19 20:36 ` Simon Richter
2026-05-19 21:07   ` Eric Biggers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox