freebsd-skq/sys/crypto/blake2
cem e94dee1939 Add domain policy allocation for amd64 fpu_kern_ctx
Like other types of allocation, fpu_kern_ctx are frequently allocated per-cpu.
Provide the API and sketch some example consumers.

fpu_kern_alloc_ctx_domain() preferentially allocates memory from the
provided domain, and falls back to other domains if that one is empty
(DOMAINSET_PREF(domain) policy).

Maybe it makes more sense to just shove one of these in the DPCPU area
sooner or later -- left for future work.

Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D22053
2020-07-03 14:54:46 +00:00
..
blake2_cryptodev.c Add domain policy allocation for amd64 fpu_kern_ctx 2020-07-03 14:54:46 +00:00
blake2_kfreebsd.h
blake2-sw.c Adjust crypto_apply function callbacks for OCF. 2020-06-10 21:18:19 +00:00
blake2b-avx.c
blake2b-sse2.c
blake2b-sse41.c
blake2b-ssse3.c
blake2b-xop.c
blake2s-avx.c
blake2s-sse2.c
blake2s-sse41.c
blake2s-ssse3.c
blake2s-xop.c
config.h
stddef.h
stdint.h
stdio.h
stdlib.h
string.h