CVS commit: src/sys/crypto/cprng_fast

2024-10-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Oct 15 17:34:06 UTC 2024 Modified Files: src/sys/crypto/cprng_fast: cprng_fast.c Log Message: Revert cprng_fast(9) to seed and reseed asynchronously in softint. This reverts sys/crypto/cprng_fast/cprng_fast.c revisions 1.1

CVS commit: src/sys/crypto/cprng_fast

2024-10-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Oct 15 17:34:06 UTC 2024 Modified Files: src/sys/crypto/cprng_fast: cprng_fast.c Log Message: Revert cprng_fast(9) to seed and reseed asynchronously in softint. This reverts sys/crypto/cprng_fast/cprng_fast.c revisions 1.1

CVS commit: src/sys/crypto/arch/x86

2024-07-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Jul 16 15:27:40 UTC 2024 Modified Files: src/sys/crypto/arch/x86: immintrin.h Log Message: sys/crypto: Two more issues in GCC Intel intrinsics. With this, the AES tests should pass again. To generate a diff of this commi

CVS commit: src/sys/crypto/arch/x86

2024-07-16 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Jul 16 15:27:40 UTC 2024 Modified Files: src/sys/crypto/arch/x86: immintrin.h Log Message: sys/crypto: Two more issues in GCC Intel intrinsics. With this, the AES tests should pass again. To generate a diff of this commi

CVS commit: src/sys/crypto/arch/x86

2024-07-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 15 13:59:19 UTC 2024 Modified Files: src/sys/crypto/arch/x86: immintrin.h immintrin_ext.h Log Message: sys/crypto: Fix mistakes in previous gcc12 immintrin fixes. Compile-tested the ChaCha code, not the whole kernel, a

CVS commit: src/sys/crypto/arch/x86

2024-07-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 15 13:59:19 UTC 2024 Modified Files: src/sys/crypto/arch/x86: immintrin.h immintrin_ext.h Log Message: sys/crypto: Fix mistakes in previous gcc12 immintrin fixes. Compile-tested the ChaCha code, not the whole kernel, a

CVS commit: src/sys/crypto/arch/x86

2024-07-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 15 13:51:10 UTC 2024 Modified Files: src/sys/crypto/arch/x86: immintrin.h Log Message: sys/crypto: Fix gcc x86 load/store-unaligned intrinsics. (Sure would be nice if someone wired up the kernel build to use gcc/clang'

CVS commit: src/sys/crypto/arch/x86

2024-07-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 15 13:51:10 UTC 2024 Modified Files: src/sys/crypto/arch/x86: immintrin.h Log Message: sys/crypto: Fix gcc x86 load/store-unaligned intrinsics. (Sure would be nice if someone wired up the kernel build to use gcc/clang'

CVS commit: src/sys/crypto/aes/arch/x86

2024-06-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jun 16 16:30:53 UTC 2024 Modified Files: src/sys/crypto/aes/arch/x86: aes_via.c Log Message: sys/aes_via: fix broken link in comment To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/crypto/aes/arch/x86/aes

CVS commit: src/sys/crypto/aes/arch/x86

2024-06-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jun 16 16:30:53 UTC 2024 Modified Files: src/sys/crypto/aes/arch/x86: aes_via.c Log Message: sys/aes_via: fix broken link in comment To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/crypto/aes/arch/x86/aes

CVS commit: src/sys/crypto/aes/arch/x86

2024-06-16 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Jun 16 16:11:17 UTC 2024 Modified Files: src/sys/crypto/aes/arch/x86: aes_via.c Log Message: revert previous, probably a gcc bug? To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/crypto/aes/arch/x86/aes_

CVS commit: src/sys/crypto/aes/arch/x86

2024-06-16 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Jun 16 16:11:17 UTC 2024 Modified Files: src/sys/crypto/aes/arch/x86: aes_via.c Log Message: revert previous, probably a gcc bug? To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/crypto/aes/arch/x86/aes_

CVS commit: src/sys/crypto/aes/arch/x86

2024-06-16 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Jun 16 13:03:48 UTC 2024 Modified Files: src/sys/crypto/aes/arch/x86: aes_via.c Log Message: try to fix the overflow gcc pointed out. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/crypto/aes/arch/x86/

CVS commit: src/sys/crypto/aes/arch/x86

2024-06-16 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Jun 16 13:03:48 UTC 2024 Modified Files: src/sys/crypto/aes/arch/x86: aes_via.c Log Message: try to fix the overflow gcc pointed out. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/crypto/aes/arch/x86/

CVS commit: src/sys/crypto/arch/arm

2023-08-06 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Aug 7 01:14:19 UTC 2023 Modified Files: src/sys/crypto/arch/arm: arm_neon.h Log Message: sys/crypto: aarch64: Catch up with builtin rename for GCC12 Kernel self tests successfully pass for aarch64{,eb}. Same binary generated b

CVS commit: src/sys/crypto/arch/arm

2023-08-06 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Aug 7 01:14:19 UTC 2023 Modified Files: src/sys/crypto/arch/arm: arm_neon.h Log Message: sys/crypto: aarch64: Catch up with builtin rename for GCC12 Kernel self tests successfully pass for aarch64{,eb}. Same binary generated b

CVS commit: src/sys/crypto

2023-08-06 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Aug 7 01:07:36 UTC 2023 Modified Files: src/sys/crypto/aes/arch/arm: aes_neon_impl.h src/sys/crypto/aes/arch/x86: aes_sse2_impl.h aes_ssse3_impl.h src/sys/crypto/chacha/arch/arm: chacha_neon.c src/sys/cryp

CVS commit: src/sys/crypto

2023-08-06 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Aug 7 01:07:36 UTC 2023 Modified Files: src/sys/crypto/aes/arch/arm: aes_neon_impl.h src/sys/crypto/aes/arch/x86: aes_sse2_impl.h aes_ssse3_impl.h src/sys/crypto/chacha/arch/arm: chacha_neon.c src/sys/cryp

CVS commit: src/sys/crypto/aes/arch/arm

2023-08-06 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Aug 7 00:58:35 UTC 2023 Modified Files: src/sys/crypto/aes/arch/arm: arm_neon.h Log Message: sys/crypto/{aes,chacha}/arch/arm/arm_neon.h: Sync (whitespace fix) No binary changes. To generate a diff of this commit: cvs rdiff -

CVS commit: src/sys/crypto/aes/arch/arm

2023-08-06 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Aug 7 00:58:35 UTC 2023 Modified Files: src/sys/crypto/aes/arch/arm: arm_neon.h Log Message: sys/crypto/{aes,chacha}/arch/arm/arm_neon.h: Sync (whitespace fix) No binary changes. To generate a diff of this commit: cvs rdiff -

CVS commit: src/sys/crypto/cprng_fast

2023-08-05 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 5 11:39:18 UTC 2023 Modified Files: src/sys/crypto/cprng_fast: cprng_fast.c Log Message: cprng_fast(9): Drop and retake percpu reference across cprng_strong. cprng_strong may sleep on an adaptive lock (via entropy_ext

CVS commit: src/sys/crypto/cprng_fast

2023-08-05 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Aug 5 11:39:18 UTC 2023 Modified Files: src/sys/crypto/cprng_fast: cprng_fast.c Log Message: cprng_fast(9): Drop and retake percpu reference across cprng_strong. cprng_strong may sleep on an adaptive lock (via entropy_ext

CVS commit: src/sys/crypto

2022-11-05 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat Nov 5 17:36:33 UTC 2022 Modified Files: src/sys/crypto/aes: aes_impl.c src/sys/crypto/chacha: chacha_impl.c Log Message: Make aes and chacha prints debug only. To generate a diff of this commit: cvs rdiff -u -r1.9

CVS commit: src/sys/crypto

2022-11-05 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat Nov 5 17:36:33 UTC 2022 Modified Files: src/sys/crypto/aes: aes_impl.c src/sys/crypto/chacha: chacha_impl.c Log Message: Make aes and chacha prints debug only. To generate a diff of this commit: cvs rdiff -u -r1.9

CVS commit: src/sys/crypto/cprng_fast

2022-09-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Sep 1 18:32:25 UTC 2022 Modified Files: src/sys/crypto/cprng_fast: cprng_fast.c Log Message: cprng_fast(9): Assert not in pserialize read section. This may sleep to take the global entropy lock in case it needs to be rese

CVS commit: src/sys/crypto/cprng_fast

2022-09-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Sep 1 18:32:25 UTC 2022 Modified Files: src/sys/crypto/cprng_fast: cprng_fast.c Log Message: cprng_fast(9): Assert not in pserialize read section. This may sleep to take the global entropy lock in case it needs to be rese

CVS commit: src/sys/crypto/aes/arch/arm

2022-06-26 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Jun 26 17:52:54 UTC 2022 Modified Files: src/sys/crypto/aes/arch/arm: aes_neon_subr.c Log Message: arm/aes_neon: Fix formatting of self-test failure message. Discovered by code inspection. Remarkably, a combination of err

CVS commit: src/sys/crypto/aes/arch/arm

2022-06-26 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Jun 26 17:52:54 UTC 2022 Modified Files: src/sys/crypto/aes/arch/arm: aes_neon_subr.c Log Message: arm/aes_neon: Fix formatting of self-test failure message. Discovered by code inspection. Remarkably, a combination of err

CVS commit: src/sys/crypto/cprng_fast

2022-06-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Jun 1 15:44:37 UTC 2022 Modified Files: src/sys/crypto/cprng_fast: cprng_fast.c Log Message: cprng(9): cprng_fast is no longer used from interrupt context. Rip out logic to defer reseeding to softint. To generate a diff

CVS commit: src/sys/crypto/cprng_fast

2022-06-01 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Jun 1 15:44:37 UTC 2022 Modified Files: src/sys/crypto/cprng_fast: cprng_fast.c Log Message: cprng(9): cprng_fast is no longer used from interrupt context. Rip out logic to defer reseeding to softint. To generate a diff

CVS commit: src/sys/crypto/aes

2021-12-04 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Sun Dec 5 04:48:35 UTC 2021 Modified Files: src/sys/crypto/aes: aes_selftest.c Log Message: s/folllowing/following/ To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/crypto/aes/aes_selftest.c Please note tha

CVS commit: src/sys/crypto/aes

2021-12-04 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Sun Dec 5 04:48:35 UTC 2021 Modified Files: src/sys/crypto/aes: aes_selftest.c Log Message: s/folllowing/following/ To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/crypto/aes/aes_selftest.c Please note tha

CVS commit: src/sys/crypto

2021-10-17 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Oct 17 14:45:45 UTC 2021 Modified Files: src/sys/crypto/adiantum: adiantum.c src/sys/crypto/aes: aes_ccm.c src/sys/crypto/blake2: blake2s.c Log Message: Upgrade self-test passed messages from verbose to debug

CVS commit: src/sys/crypto

2021-10-17 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Oct 17 14:45:45 UTC 2021 Modified Files: src/sys/crypto/adiantum: adiantum.c src/sys/crypto/aes: aes_ccm.c src/sys/crypto/blake2: blake2s.c Log Message: Upgrade self-test passed messages from verbose to debug

CVS commit: src/sys/crypto/camellia

2021-09-03 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Sat Sep 4 00:33:10 UTC 2021 Modified Files: src/sys/crypto/camellia: camellia-api.c camellia.c Log Message: Fix typos in comments and add missing KERNEL_RCSID To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/

CVS commit: src/sys/crypto/camellia

2021-09-03 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Sat Sep 4 00:33:10 UTC 2021 Modified Files: src/sys/crypto/camellia: camellia-api.c camellia.c Log Message: Fix typos in comments and add missing KERNEL_RCSID To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/

Re: CVS commit: src/sys/crypto/aes

2020-07-28 Thread Roy Marples
On 27/07/2020 21:44, Taylor R Campbell wrote: Module Name:src Committed By: riastradh Date: Mon Jul 27 20:44:30 UTC 2020 Modified Files: src/sys/crypto/aes: aes_ccm.c aes_ccm.h Log Message: Gather auth[16] and ctr[16] into one authctr[32]. Should appease clang. clang

CVS commit: src/sys/crypto/nist_hash_drbg

2019-09-19 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Sep 19 18:29:55 UTC 2019 Modified Files: src/sys/crypto/nist_hash_drbg: nist_hash_drbg.c Log Message: Use an explicit run-time assertion where compile-time doesn't work. To generate a diff of this commit: cvs rdiff -u -r1

CVS commit: src/sys/crypto/nist_hash_drbg

2019-09-19 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Sep 19 18:29:55 UTC 2019 Modified Files: src/sys/crypto/nist_hash_drbg: nist_hash_drbg.c Log Message: Use an explicit run-time assertion where compile-time doesn't work. To generate a diff of this commit: cvs rdiff -u -r1

Re: CVS commit: src/sys/crypto/nist_hash_drbg

2019-09-19 Thread Kamil Rytarowski
On 19.09.2019 16:35, Taylor R Campbell wrote: > Module Name: src > Committed By: riastradh > Date: Thu Sep 19 14:35:00 UTC 2019 > > Modified Files: > src/sys/crypto/nist_hash_drbg: nist_hash_drbg.c > > Log Message: > Use CTASSERT where possible, run-time assertion where not. > > S

CVS commit: src/sys/crypto/nist_hash_drbg

2019-09-19 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Sep 19 14:35:00 UTC 2019 Modified Files: src/sys/crypto/nist_hash_drbg: nist_hash_drbg.c Log Message: Use CTASSERT where possible, run-time assertion where not. Should fix negative-length variable-length array found by kam

CVS commit: src/sys/crypto/nist_hash_drbg

2019-09-19 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Sep 19 14:35:00 UTC 2019 Modified Files: src/sys/crypto/nist_hash_drbg: nist_hash_drbg.c Log Message: Use CTASSERT where possible, run-time assertion where not. Should fix negative-length variable-length array found by kam

Re: CVS commit: src/sys/crypto/rijndael

2011-05-14 Thread Julio Merino
On 5/14/11 12:31 PM, Christos Zoulas wrote: On May 14, 12:29pm, j...@julipedia.org (Julio Merino) wrote: -- Subject: Re: CVS commit: src/sys/crypto/rijndael |> Declare for-loop control variable outside of the for statement to prevent |> a warning and therefore fix the build. | | Ah!

Re: CVS commit: src/sys/crypto/rijndael

2011-05-14 Thread Christos Zoulas
On May 14, 12:29pm, j...@julipedia.org (Julio Merino) wrote: -- Subject: Re: CVS commit: src/sys/crypto/rijndael | > Declare for-loop control variable outside of the for statement to prevent | > a warning and therefore fix the build. | | Ah! I just saw your warns=4 change. I presume m

Re: CVS commit: src/sys/crypto/rijndael

2011-05-14 Thread Julio Merino
On 5/14/11 12:27 PM, Julio Merino wrote: Module Name:src Committed By: jmmv Date: Sat May 14 16:27:50 UTC 2011 Modified Files: src/sys/crypto/rijndael: rijndael-api-fst.c Log Message: Declare for-loop control variable outside of the for statement to prevent a warning and

Re: CVS commit: src/sys/crypto/rijndael

2011-05-14 Thread Christos Zoulas
On May 14, 1:02pm, hann...@eis.cs.tu-bs.de (=?iso-8859-1?Q?J=FCrgen_Hannken-Illjes?=) wrote: -- Subject: Re: CVS commit: src/sys/crypto/rijndael | This breaks in src/regress/sys/crypto/rijndael: | | # compile rijndael/rijndael-api-fst.o | 486--netbsdelf-gcc -O2 -Wall -Wstrict-prototypes

Re: CVS commit: src/sys/crypto/rijndael

2011-05-14 Thread Jürgen Hannken-Illjes
On May 14, 2011, at 3:59 AM, Christos Zoulas wrote: > Module Name: src > Committed By: christos > Date: Sat May 14 01:59:19 UTC 2011 > > Modified Files: > src/sys/crypto/rijndael: rijndael-api-fst.c > > Log Message: > - don't assume aligned buffers. > - little KNF > > > To gene