Home | History | Annotate | Download | only in chacha
History log of /src/sys/crypto/chacha/chacha_impl.c
RevisionDateAuthorComments
 1.4  05-Nov-2022  jmcneill Make aes and chacha prints debug only.
 1.3  27-Jul-2020  riastradh 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.)
 1.2  27-Jul-2020  riastradh 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.
 1.1  25-Jul-2020  riastradh New ChaCha API in kernel.

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

RSS XML Feed