mirror_zfs/module/icp/algs
Tino Reichardt deb1213098
Fix memory allocation issue for BLAKE3 context
The kmem_alloc(sizeof (*ctx), KM_NOSLEEP) call on FreeBSD can't be
used in this code segment. Work around this by pre-allocating a percpu
context array for later use.

Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tino Reichardt <milky-zfs@mcmilk.de>
Closes #13568
2022-06-21 14:32:09 -07:00
..
aes Remove bcopy(), bzero(), bcmp() 2022-03-15 15:13:42 -07:00
blake3 Fix memory allocation issue for BLAKE3 context 2022-06-21 14:32:09 -07:00
edonr libzfs: pool: fix false-positives -Wmaybe-uninitialised 2022-05-10 10:18:06 -07:00
modes Fix functions without a prototype 2022-05-06 11:57:37 -07:00
sha2 Remove bcopy(), bzero(), bcmp() 2022-03-15 15:13:42 -07:00
skein Forbid b{copy,zero,cmp}(). Don't include <strings.h> for <string.h> 2022-03-15 15:13:48 -07:00