]> git.proxmox.com Git - ceph.git/blob - ceph/src/crypto/isa-l/isa-l_crypto/examples/saturation_test/sha256_thread.c
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / crypto / isa-l / isa-l_crypto / examples / saturation_test / sha256_thread.c
1
2 #define HASH_THREAD
3 /* sha256 related params and structures*/
4 #define DIGEST_NWORDS SHA256_DIGEST_NWORDS
5 #define MB_BUFS SHA256_MAX_LANES
6 #define HASH_CTX_MGR SHA256_HASH_CTX_MGR
7 #define HASH_CTX SHA256_HASH_CTX
8
9 #define OSSL_THREAD_FUNC sha256_ossl_func
10 #define OSSL_HASH_FUNC SHA256
11 #define MB_THREAD_FUNC sha256_mb_func
12 #define CTX_MGR_INIT sha256_ctx_mgr_init
13 #define CTX_MGR_SUBMIT sha256_ctx_mgr_submit
14 #define CTX_MGR_FLUSH sha256_ctx_mgr_flush
15
16 #define rounds_buf SHA256_MAX_LANES
17
18 #include "md5_thread.c"
19
20 #undef HASH_THREAD