]> git.proxmox.com Git - ceph.git/blob - ceph/src/crypto/isa-l/isa-l_crypto/md5_mb/Makefile.am
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / crypto / isa-l / isa-l_crypto / md5_mb / Makefile.am
1 ########################################################################
2 # Copyright(c) 2011-2016 Intel Corporation All rights reserved.
3 #
4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions
6 # are met:
7 # * Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer.
9 # * Redistributions in binary form must reproduce the above copyright
10 # notice, this list of conditions and the following disclaimer in
11 # the documentation and/or other materials provided with the
12 # distribution.
13 # * Neither the name of Intel Corporation nor the names of its
14 # contributors may be used to endorse or promote products derived
15 # from this software without specific prior written permission.
16 #
17 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
21 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 ########################################################################
29
30 lsrc += md5_mb/md5_ctx_sse.c \
31 md5_mb/md5_ctx_avx.c \
32 md5_mb/md5_ctx_avx2.c
33
34 lsrc += md5_mb/md5_mb_mgr_init_sse.c \
35 md5_mb/md5_mb_mgr_init_avx2.c \
36 md5_mb/md5_mb_mgr_init_avx512.c
37
38 lsrc += md5_mb/md5_mb_mgr_submit_sse.asm \
39 md5_mb/md5_mb_mgr_submit_avx.asm \
40 md5_mb/md5_mb_mgr_submit_avx2.asm \
41 md5_mb/md5_mb_mgr_flush_sse.asm \
42 md5_mb/md5_mb_mgr_flush_avx.asm \
43 md5_mb/md5_mb_mgr_flush_avx2.asm \
44 md5_mb/md5_mb_x4x2_sse.asm \
45 md5_mb/md5_mb_x4x2_avx.asm \
46 md5_mb/md5_mb_x8x2_avx2.asm \
47 md5_mb/md5_multibinary.asm
48
49 lsrc += md5_mb/md5_mb_mgr_submit_avx512.asm \
50 md5_mb/md5_mb_mgr_flush_avx512.asm \
51 md5_mb/md5_mb_x16x2_avx512.asm \
52 md5_mb/md5_ctx_avx512.c
53
54 extern_hdrs += include/md5_mb.h \
55 include/multi_buffer.h
56
57 other_src += include/datastruct.asm \
58 md5_mb/md5_job.asm \
59 md5_mb/md5_mb_mgr_datastruct.asm \
60 md5_mb/md5_ref.c \
61 include/reg_sizes.asm \
62 include/multibinary.asm \
63 include/memcpy_inline.h \
64 include/intrinreg.h
65
66 check_tests += md5_mb/md5_mb_test \
67 md5_mb/md5_mb_rand_test \
68 md5_mb/md5_mb_rand_update_test
69
70 unit_tests += md5_mb/md5_mb_rand_ssl_test
71
72 perf_tests += md5_mb/md5_mb_vs_ossl_perf
73
74
75 md5_mb_rand_test: md5_ref.o
76 md5_mb_md5_mb_rand_test_LDADD = md5_mb/md5_ref.lo libisal_crypto.la
77 md5_mb_rand_update_test: md5_ref.o
78 md5_mb_md5_mb_rand_update_test_LDADD = md5_mb/md5_ref.lo libisal_crypto.la
79 md5_mb_rand_ssl_test: LDLIBS += -lcrypto
80 md5_mb_md5_mb_rand_ssl_test_LDFLAGS = -lcrypto
81 md5_mb_vs_ossl_perf: LDLIBS += -lcrypto
82 md5_mb_md5_mb_vs_ossl_perf_LDFLAGS = -lcrypto
83