public inbox for io-uring@vger.kernel.org
 help / color / mirror / Atom feed
* io_uring and crypto
@ 2025-10-07 17:11 David Howells
  2025-10-07 17:13 ` Eric Biggers
  2025-10-07 17:27 ` Jens Axboe
  0 siblings, 2 replies; 3+ messages in thread
From: David Howells @ 2025-10-07 17:11 UTC (permalink / raw)
  To: Jens Axboe; +Cc: dhowells, io-uring, linux-crypto

Hi Jens,

I was wondering if it might be possible to adapt io_uring to make crypto
requests as io_uring primitives rather than just having io_uring call sendmsg
and recvmsg on an AF_ALG socket.

The reason I think this might make sense is that for the certain crypto ops we
need to pass two buffers, one input and one output (encrypt, decrypt, sign) or
two input (verify) and this could directly translate to an async crypto
request.

Or possibly we should have a sendrecv socket call (RPC sort of thing) and have
io_uring drive that.

The tricky bit is that it would require two buffers and io_uring seems geared
around one.

David


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

end of thread, other threads:[~2025-10-07 17:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-07 17:11 io_uring and crypto David Howells
2025-10-07 17:13 ` Eric Biggers
2025-10-07 17:27 ` Jens Axboe

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