* [GIT PULL] Crypto library fixes for v6.16-rc3 @ 2025-06-18 19:49 Eric Biggers 2025-06-18 21:32 ` pr-tracker-bot 2025-06-18 21:40 ` Kent Overstreet 0 siblings, 2 replies; 6+ messages in thread From: Eric Biggers @ 2025-06-18 19:49 UTC (permalink / raw) To: Linus Torvalds Cc: linux-crypto, linux-kernel, Ard Biesheuvel, Jason A. Donenfeld, Kees Cook, Kent Overstreet, Nathan Chancellor The following changes since commit 19272b37aa4f83ca52bdf9c16d5d81bdd1354494: Linux 6.16-rc1 (2025-06-08 13:44:43 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git tags/libcrypto-for-linus for you to fetch changes up to 9d4204a8106fe7dc80e3f2e440c8f2ba1ba47319: lib/crypto/poly1305: Fix arm64's poly1305_blocks_arch() (2025-06-16 12:51:34 -0700) ---------------------------------------------------------------- - Fix a regression in the arm64 Poly1305 code - Fix a couple compiler warnings ---------------------------------------------------------------- Eric Biggers (1): lib/crypto/poly1305: Fix arm64's poly1305_blocks_arch() Kees Cook (1): lib/crypto: Annotate crypto strings with nonstring Nathan Chancellor (1): lib/crypto/curve25519-hacl64: Disable KASAN with clang-17 and older arch/arm64/lib/crypto/poly1305-glue.c | 4 +-- lib/crypto/Makefile | 4 +++ lib/crypto/aescfb.c | 8 +++--- lib/crypto/aesgcm.c | 46 +++++++++++++++++------------------ 4 files changed, 33 insertions(+), 29 deletions(-) ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [GIT PULL] Crypto library fixes for v6.16-rc3 2025-06-18 19:49 [GIT PULL] Crypto library fixes for v6.16-rc3 Eric Biggers @ 2025-06-18 21:32 ` pr-tracker-bot 2025-06-18 21:40 ` Kent Overstreet 1 sibling, 0 replies; 6+ messages in thread From: pr-tracker-bot @ 2025-06-18 21:32 UTC (permalink / raw) To: Eric Biggers Cc: Linus Torvalds, linux-crypto, linux-kernel, Ard Biesheuvel, Jason A. Donenfeld, Kees Cook, Kent Overstreet, Nathan Chancellor The pull request you sent on Wed, 18 Jun 2025 12:49:58 -0700: > https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git tags/libcrypto-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/61f4769affffc398499250ccacf0b86d5b654399 Thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [GIT PULL] Crypto library fixes for v6.16-rc3 2025-06-18 19:49 [GIT PULL] Crypto library fixes for v6.16-rc3 Eric Biggers 2025-06-18 21:32 ` pr-tracker-bot @ 2025-06-18 21:40 ` Kent Overstreet 2025-06-18 21:59 ` Eric Biggers 1 sibling, 1 reply; 6+ messages in thread From: Kent Overstreet @ 2025-06-18 21:40 UTC (permalink / raw) To: Eric Biggers Cc: Linus Torvalds, linux-crypto, linux-kernel, Ard Biesheuvel, Jason A. Donenfeld, Kees Cook, Nathan Chancellor On Wed, Jun 18, 2025 at 12:49:58PM -0700, Eric Biggers wrote: > The following changes since commit 19272b37aa4f83ca52bdf9c16d5d81bdd1354494: > > Linux 6.16-rc1 (2025-06-08 13:44:43 -0700) > > are available in the Git repository at: > > https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git tags/libcrypto-for-linus > > for you to fetch changes up to 9d4204a8106fe7dc80e3f2e440c8f2ba1ba47319: > > lib/crypto/poly1305: Fix arm64's poly1305_blocks_arch() (2025-06-16 12:51:34 -0700) > > ---------------------------------------------------------------- > > - Fix a regression in the arm64 Poly1305 code Some more tests too, perhaps? :) This was a bit of a scary one, since poly1305 was returning an inconsistent result, not total garbage. Meaning most of the tests passed, but fortunately the migrate tests read data written by userspace with a different library. > - Fix a couple compiler warnings > > ---------------------------------------------------------------- > Eric Biggers (1): > lib/crypto/poly1305: Fix arm64's poly1305_blocks_arch() > > Kees Cook (1): > lib/crypto: Annotate crypto strings with nonstring > > Nathan Chancellor (1): > lib/crypto/curve25519-hacl64: Disable KASAN with clang-17 and older > > arch/arm64/lib/crypto/poly1305-glue.c | 4 +-- > lib/crypto/Makefile | 4 +++ > lib/crypto/aescfb.c | 8 +++--- > lib/crypto/aesgcm.c | 46 +++++++++++++++++------------------ > 4 files changed, 33 insertions(+), 29 deletions(-) ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [GIT PULL] Crypto library fixes for v6.16-rc3 2025-06-18 21:40 ` Kent Overstreet @ 2025-06-18 21:59 ` Eric Biggers 2025-06-18 22:05 ` Kent Overstreet 0 siblings, 1 reply; 6+ messages in thread From: Eric Biggers @ 2025-06-18 21:59 UTC (permalink / raw) To: Kent Overstreet Cc: Linus Torvalds, linux-crypto, linux-kernel, Ard Biesheuvel, Jason A. Donenfeld, Kees Cook, Nathan Chancellor On Wed, Jun 18, 2025 at 05:40:27PM -0400, Kent Overstreet wrote: > On Wed, Jun 18, 2025 at 12:49:58PM -0700, Eric Biggers wrote: > > The following changes since commit 19272b37aa4f83ca52bdf9c16d5d81bdd1354494: > > > > Linux 6.16-rc1 (2025-06-08 13:44:43 -0700) > > > > are available in the Git repository at: > > > > https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git tags/libcrypto-for-linus > > > > for you to fetch changes up to 9d4204a8106fe7dc80e3f2e440c8f2ba1ba47319: > > > > lib/crypto/poly1305: Fix arm64's poly1305_blocks_arch() (2025-06-16 12:51:34 -0700) > > > > ---------------------------------------------------------------- > > > > - Fix a regression in the arm64 Poly1305 code > > Some more tests too, perhaps? :) > > This was a bit of a scary one, since poly1305 was returning an > inconsistent result, not total garbage. Meaning most of the tests > passed, but fortunately the migrate tests read data written by userspace > with a different library. Yep, I have a KUnit test for Poly1305 planned. Actually, I already wrote a preliminary one and used it to test this patch. I just haven't sent it out for review quite yet, since so far it's just a one-off test that isn't too complete, and I'm not satisfied with it quite yet. I'd like to reuse the hash-test-template.h I'm adding for SHA-2 (https://lore.kernel.org/linux-crypto/20250616014019.415791-5-ebiggers@kernel.org/) which would result in a more complete test. I'd also like to include tests for some of the overflow cases that are specific to Poly1305. So we're kind of still in an early stage where we're defining what the KUnit testing for lib/crypto/ is going to look like. I am working on it, though! - Eric ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [GIT PULL] Crypto library fixes for v6.16-rc3 2025-06-18 21:59 ` Eric Biggers @ 2025-06-18 22:05 ` Kent Overstreet 2025-07-07 21:24 ` Eric Biggers 0 siblings, 1 reply; 6+ messages in thread From: Kent Overstreet @ 2025-06-18 22:05 UTC (permalink / raw) To: Eric Biggers Cc: Linus Torvalds, linux-crypto, linux-kernel, Ard Biesheuvel, Jason A. Donenfeld, Kees Cook, Nathan Chancellor On Wed, Jun 18, 2025 at 09:59:18PM +0000, Eric Biggers wrote: > On Wed, Jun 18, 2025 at 05:40:27PM -0400, Kent Overstreet wrote: > > On Wed, Jun 18, 2025 at 12:49:58PM -0700, Eric Biggers wrote: > > > The following changes since commit 19272b37aa4f83ca52bdf9c16d5d81bdd1354494: > > > > > > Linux 6.16-rc1 (2025-06-08 13:44:43 -0700) > > > > > > are available in the Git repository at: > > > > > > https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git tags/libcrypto-for-linus > > > > > > for you to fetch changes up to 9d4204a8106fe7dc80e3f2e440c8f2ba1ba47319: > > > > > > lib/crypto/poly1305: Fix arm64's poly1305_blocks_arch() (2025-06-16 12:51:34 -0700) > > > > > > ---------------------------------------------------------------- > > > > > > - Fix a regression in the arm64 Poly1305 code > > > > Some more tests too, perhaps? :) > > > > This was a bit of a scary one, since poly1305 was returning an > > inconsistent result, not total garbage. Meaning most of the tests > > passed, but fortunately the migrate tests read data written by userspace > > with a different library. > > Yep, I have a KUnit test for Poly1305 planned. Actually, I already wrote a > preliminary one and used it to test this patch. I just haven't sent it out for > review quite yet, since so far it's just a one-off test that isn't too complete, > and I'm not satisfied with it quite yet. I'd like to reuse the > hash-test-template.h I'm adding for SHA-2 > (https://lore.kernel.org/linux-crypto/20250616014019.415791-5-ebiggers@kernel.org/) > which would result in a more complete test. I'd also like to include tests for > some of the overflow cases that are specific to Poly1305. > > So we're kind of still in an early stage where we're defining what the KUnit > testing for lib/crypto/ is going to look like. I am working on it, though! I do a little dance any time someeone says something like that about testing. Bravo :) (And now, back to sifting through the rest of the rc1 breakage.) ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [GIT PULL] Crypto library fixes for v6.16-rc3 2025-06-18 22:05 ` Kent Overstreet @ 2025-07-07 21:24 ` Eric Biggers 0 siblings, 0 replies; 6+ messages in thread From: Eric Biggers @ 2025-07-07 21:24 UTC (permalink / raw) To: Kent Overstreet Cc: Linus Torvalds, linux-crypto, linux-kernel, Ard Biesheuvel, Jason A. Donenfeld, Kees Cook, Nathan Chancellor On Wed, Jun 18, 2025 at 06:05:37PM -0400, Kent Overstreet wrote: > On Wed, Jun 18, 2025 at 09:59:18PM +0000, Eric Biggers wrote: > > On Wed, Jun 18, 2025 at 05:40:27PM -0400, Kent Overstreet wrote: > > > On Wed, Jun 18, 2025 at 12:49:58PM -0700, Eric Biggers wrote: > > > > The following changes since commit 19272b37aa4f83ca52bdf9c16d5d81bdd1354494: > > > > > > > > Linux 6.16-rc1 (2025-06-08 13:44:43 -0700) > > > > > > > > are available in the Git repository at: > > > > > > > > https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git tags/libcrypto-for-linus > > > > > > > > for you to fetch changes up to 9d4204a8106fe7dc80e3f2e440c8f2ba1ba47319: > > > > > > > > lib/crypto/poly1305: Fix arm64's poly1305_blocks_arch() (2025-06-16 12:51:34 -0700) > > > > > > > > ---------------------------------------------------------------- > > > > > > > > - Fix a regression in the arm64 Poly1305 code > > > > > > Some more tests too, perhaps? :) > > > > > > This was a bit of a scary one, since poly1305 was returning an > > > inconsistent result, not total garbage. Meaning most of the tests > > > passed, but fortunately the migrate tests read data written by userspace > > > with a different library. > > > > Yep, I have a KUnit test for Poly1305 planned. Actually, I already wrote a > > preliminary one and used it to test this patch. I just haven't sent it out for > > review quite yet, since so far it's just a one-off test that isn't too complete, > > and I'm not satisfied with it quite yet. I'd like to reuse the > > hash-test-template.h I'm adding for SHA-2 > > (https://lore.kernel.org/linux-crypto/20250616014019.415791-5-ebiggers@kernel.org/) > > which would result in a more complete test. I'd also like to include tests for > > some of the overflow cases that are specific to Poly1305. > > > > So we're kind of still in an early stage where we're defining what the KUnit > > testing for lib/crypto/ is going to look like. I am working on it, though! > > I do a little dance any time someeone says something like that about > testing. Bravo :) > > (And now, back to sifting through the rest of the rc1 breakage.) FYI, the following patch adds a KUnit test suite for Poly1305: https://lore.kernel.org/linux-crypto/20250706232817.179500-5-ebiggers@kernel.org/ - Eric ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2025-07-07 21:24 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2025-06-18 19:49 [GIT PULL] Crypto library fixes for v6.16-rc3 Eric Biggers 2025-06-18 21:32 ` pr-tracker-bot 2025-06-18 21:40 ` Kent Overstreet 2025-06-18 21:59 ` Eric Biggers 2025-06-18 22:05 ` Kent Overstreet 2025-07-07 21:24 ` Eric Biggers
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).