NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/59849: NetBSD trunk 2025.11.22.23.00.00 fails to boot on NetBSD/sun2, 2025.11.22.22.00.00 works




> On Dec 19, 2025, at 2:28 PM, Jason Thorpe <thorpej%me.com@localhost> wrote:
> 
>> On Dec 19, 2025, at 1:55 PM, thorpej%me.com@localhost wrote:
>> 
>> The AES changes are the likely culprit
> 
> On top-of-tree, if I revert this commit[*]:
> 
>    https://mail-index.netbsd.org/source-changes/2025/11/22/msg159124.html

If I go back to stock top-of-trunk and apply the following diff, the kernel boots:

Index: aes_impl.c
===================================================================
RCS file: /cvsroot/src/sys/crypto/aes/aes_impl.c,v
retrieving revision 1.12
diff -u -p -r1.12 aes_impl.c
--- aes_impl.c 23 Nov 2025 22:44:14 -0000 1.12
+++ aes_impl.c 19 Dec 2025 23:51:14 -0000
@@ -463,7 +463,7 @@ aes_keysched_selftest(void)
  { 24, AES_192_NROUNDS, rk192enc, rk192dec },
  { 32, AES_256_NROUNDS, rk256enc, rk256dec },
  };
- uint32_t rk[60];
+ uint32_t rk[120];
  unsigned i;
    for (i = 0; i < __arraycount(C); i++) {


-- thorpej



Home | Main Index | Thread Index | Old Index