mirror-linux/crypto/krb5
David Howells 2b50aceafe crypto/krb5, rxrpc: Fix lack of pre-decrypt/pre-verify length checks
Change the krb5 crypto library to provide facilities to precheck the length
of the message about to be decrypted or verified.

Fix AF_RXRPC to make use of this to validate DATA packets secured with
RxGK.

Fixes: 9d1d2b5934 ("rxrpc: rxgk: Implement the yfs-rxgk security class (GSSAPI)")
Closes: https://sashiko.dev/#/patchset/20260511160753.607296-1-dhowells%40redhat.com
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Herbert Xu <herbert@gondor.apana.org.au>
cc: Simon Horman <horms@kernel.org>
cc: Chuck Lever <chuck.lever@oracle.com>
cc: linux-afs@lists.infradead.org
Reviewed-by: Jeffrey Altman <jaltman@auristor.com>
Tested-by: Marc Dionne <marc.dionne@auristor.com>
Link: https://patch.msgid.link/20260515230516.2718212-2-dhowells@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-05-20 16:36:45 -07:00
..
Kconfig crypto/krb5: Implement crypto self-testing 2025-03-02 21:56:47 +00:00
Makefile crypto/krb5: Implement crypto self-testing 2025-03-02 21:56:47 +00:00
internal.h crypto/krb5: Implement crypto self-testing 2025-03-02 21:56:47 +00:00
krb5_api.c crypto/krb5, rxrpc: Fix lack of pre-decrypt/pre-verify length checks 2026-05-20 16:36:45 -07:00
krb5_kdf.c crypto/krb5: Provide infrastructure and key derivation 2025-03-02 21:47:07 +00:00
rfc3961_simplified.c crypto/krb5: Fix change to use SG miter to use offset 2025-04-29 11:28:50 -07:00
rfc3962_aes.c crypto/krb5: Implement the AES enctypes from rfc3962 2025-03-02 21:52:48 +00:00
rfc6803_camellia.c crypto/krb5: Implement the Camellia enctypes from rfc6803 2025-03-02 21:55:23 +00:00
rfc8009_aes2.c crypto/krb5: Implement the AES enctypes from rfc8009 2025-03-02 21:53:55 +00:00
selftest.c kernel.h: drop hex.h and update all hex.h users 2026-01-20 19:44:19 -08:00
selftest_data.c crypto/krb5: Implement crypto self-testing 2025-03-02 21:56:47 +00:00