Re: [PATCH net 03/24] crypto: Add 'krb5enc' hash and cipher AEAD algorithm

From
David Howells <dhowells@redhat.com>
Date
2025-02-09 17:54:07
Also in
linux-crypto, linux-fsdevel, linux-nfs, lkml
Reply to
Herbert Xu, 2025-02-07
Herbert Xu [off-list ref] wrote:
quoted
[!] Note that the net/sunrpc/auth_gss/ implementation gets a pair of
ciphers, one non-CTS and one CTS, using the former to do all the aligned
blocks and the latter to do the last two blocks if they aren't also
aligned.  It may be necessary to do this here too for performance reasons -
but there are considerations both ways:
The CTS template will take any hardware accelerated CBC implementation
and turn it into CTS.

So there is no reason to do the CTS/CBC thing by hand at all.
Glad to hear it.  I'm just reporting what net/sunrpc/ does now.  My suspicion
is that this is from before a lot of cpu crypto-based optimisations were made
available in the crypto layer.

David
Thread (35 messages) 35 messages, 5 authors, last reply 2025-03-18
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help