blob: 46b0e084328f9bbf5a90c5e829aa83ce288b01d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#!/usr/bin/env python
extra_deps = ''
if bld.CONFIG_SET("HAVE_AESNI_INTEL"):
extra_deps += ' aesni-intel'
bld.SAMBA_SUBSYSTEM('GNUTLS_HELPERS',
source='''
gnutls_error.c
gnutls_arcfour_confounded_md5.c
''',
deps='gnutls samba-errors');
bld.SAMBA_SUBSYSTEM('LIBCRYPTO',
source='''md4.c arcfour.c
aes.c rijndael-alg-fst.c aes_cmac_128.c aes_ccm_128.c aes_gcm_128.c
''',
deps='talloc' + extra_deps
)
bld.SAMBA_SUBSYSTEM('TORTURE_LIBCRYPTO',
source='''md4test.c
aes_cmac_128_test.c aes_ccm_128_test.c aes_gcm_128_test.c
''',
autoproto='test_proto.h',
deps='LIBCRYPTO'
)
bld.SAMBA_PYTHON('python_crypto',
source='py_crypto.c',
deps='gnutls talloc',
realname='samba/crypto.so')
|