The NetBSD Project

CVS log for src/sys/crypto/chacha/chacha_impl.c

[BACK] Up to [] / src / sys / crypto / chacha

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.4 / (download) - annotate - [select for diffs], Sat Nov 5 17:36:33 2022 UTC (15 months, 3 weeks ago) by jmcneill
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, HEAD
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Make aes and chacha prints debug only.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jul 27 20:49:10 2020 UTC (3 years, 7 months ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.2: +3 -38 lines
Diff to previous 1.2 (colored)

Simplify ChaCha selection and allow it to be used much earlier.

This way we can use it for cprng_fast early on.  ChaCha is easy
because there's no data formats that must be preserved from call to
call but vary from implementation to implementation -- we could even
make it a sysctl knob to dynamically select it with negligible cost.

(In contrast, different AES implementations use different expanded
key formats which must be preserved from aes_setenckey to aes_enc,
for example, which means a considerably greater burden on dynamic
selection that's not really worth it.)

Revision 1.2 / (download) - annotate - [select for diffs], Mon Jul 27 20:45:15 2020 UTC (3 years, 7 months ago) by riastradh
Branch: MAIN
Changes since 1.1: +17 -7 lines
Diff to previous 1.1 (colored)

New sysctl subtree kern.crypto.

kern.crypto.aes.selected (formerly hw.aes_impl)
kern.crypto.chacha.selected (formerly hw.chacha_impl)

XXX Should maybe deduplicate creation of kern.crypto.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Jul 25 22:46:34 2020 UTC (3 years, 7 months ago) by riastradh
Branch: MAIN

New ChaCha API in kernel.

This will enable us to adopt MD vectorized implementations of ChaCha.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>