forked from vitelabs/vite-crypto-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TrezorCryptoEd25519WithBlake2b.podspec
54 lines (50 loc) · 2.06 KB
/
TrezorCryptoEd25519WithBlake2b.podspec
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Pod::Spec.new do |s|
s.name = 'TrezorCryptoEd25519WithBlake2b'
s.version = '0.0.1'
s.summary = 'Heavily optimized cryptography algorithms for iOS.'
s.homepage = 'https://github.com/vitelabs/trezor-crypto-ed25519-with-blake2b-ios'
s.license = { type: 'MIT', file: 'trezor-crypto/LICENSE' }
s.authors = { 'Stone' => 'shitong@vite.org' }
s.source = { git: 'https://github.com/vitelabs/trezor-crypto-ed25519-with-blake2b-ios.git', tag: s.version, submodules: true }
s.ios.deployment_target = '9.0'
s.module_map = 'TrezorCryptoEd25519WithBlake2b.modulemap'
search_paths = [
'"${PODS_ROOT}/trezor-crypto"',
'"${PODS_ROOT}/trezor-crypto/aes"',
'"${PODS_ROOT}/trezor-crypto/chacha20poly1305"',
'"${PODS_ROOT}/trezor-crypto/ed25519-donna"'
]
s.pod_target_xcconfig = {
'SWIFT_INCLUDE_PATHS' => '${PODS_ROOT}',
'OTHER_CFLAGS' => '-O3 -std=c99 -DRAND_PLATFORM_INDEPENDENT',
'HEADER_SEARCH_PATHS' => search_paths.join(' ')
}
s.source_files =
'TrezorCryptoEd25519WithBlake2b.h',
'util/SecRandom.m',
'trezor-crypto/*.{c,h,table}',
'trezor-crypto/aes/*.{c,h}',
'trezor-crypto/chacha20poly1305/*.{c,h}',
'trezor-crypto/ed25519-donna/*.{c,h}'
s.private_header_files =
'trezor-crypto/aes/aesopt.h',
'trezor-crypto/aes/aestab.h',
'trezor-crypto/ed25519-donna/curve25519-donna-scalarmult-base.h',
'trezor-crypto/ed25519-donna/ed25519-hash-custom-keccak.h',
'trezor-crypto/ed25519-donna/ed25519-hash-custom-sha3.h',
'trezor-crypto/ed25519-donna/ed25519-hash-custom.h',
'trezor-crypto/ed25519-donna/ed25519-keccak.h',
'trezor-crypto/ed25519-donna/ed25519-sha3.h',
'trezor-crypto/bip39_english.h',
'trezor-crypto/blake2_common.h',
'trezor-crypto/check_mem.h',
'trezor-crypto/macros.h',
'trezor-crypto/nem_serialize.h'
s.exclude_files =
'trezor-crypto/aes/aestst*.{c,h}',
'trezor-crypto/gui/*.{c,h}',
'trezor-crypto/rfc6979.c',
'trezor-crypto/test*.{c,h}',
'trezor-crypto/tools/*.{c,h}'
s.libraries = 'c'
end