diff options
author | Liong Sauw Ming <ming@teluu.com> | 2016-08-08 09:09:29 +0000 |
---|---|---|
committer | Liong Sauw Ming <ming@teluu.com> | 2016-08-08 09:09:29 +0000 |
commit | de5891815932de36675e2f49faef3cbd7b479b96 (patch) | |
tree | 51f14d50e17ff119d48c656e6235c269761842fa /third_party/build/os-auto.mak.in | |
parent | e4e49af40f2f327610fb066e2313dbfffc57f717 (diff) |
Re #1943: AES-GCM crypto support for SRTP
Special thanks to Alexander Traud for the patch.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5412 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'third_party/build/os-auto.mak.in')
-rw-r--r-- | third_party/build/os-auto.mak.in | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/third_party/build/os-auto.mak.in b/third_party/build/os-auto.mak.in index ef261f65..66653fa1 100644 --- a/third_party/build/os-auto.mak.in +++ b/third_party/build/os-auto.mak.in @@ -35,6 +35,22 @@ ifeq (@ac_external_srtp@,1) # External SRTP else DIRS += srtp + +ifeq (@ac_ssl_has_aes_gcm@,0) +CIPHERS_SRC = crypto/cipher/aes.o crypto/cipher/aes_icm.o \ + crypto/cipher/aes_cbc.o +HASHES_SRC = crypto/hash/sha1.o crypto/hash/hmac.o \ + # crypto/hash/tmmhv2.o +RNG_SRC = crypto/rng/rand_source.o crypto/rng/prng.o \ + crypto/rng/ctr_prng.o +else +CIPHERS_SRC = crypto/cipher/aes_icm_ossl.o crypto/cipher/aes_gcm_ossl.o +HASHES_SRC = crypto/hash/hmac_ossl.o +RNG_SRC = crypto/rng/rand_source_ossl.o +SRTP_OTHER_CFLAGS = -DOPENSSL +endif + + endif ifeq (@ac_pjmedia_resample@,libresample) |