diff options
| author | kinichiro <kinichiro.inoguchi@gmail.com> | 2016-11-06 04:57:23 +0900 |
|---|---|---|
| committer | kinichiro <kinichiro.inoguchi@gmail.com> | 2016-11-06 04:57:23 +0900 |
| commit | 5f187770f36e5049f54a3c717e8c71e3c824e5ba (patch) | |
| tree | f4da368b64440bb93944f5e0f7858aa26ccd6338 | |
| parent | e0a62cf201e7940e5d1dc350ff201afca49d648d (diff) | |
| download | portable-5f187770f36e5049f54a3c717e8c71e3c824e5ba.tar.gz portable-5f187770f36e5049f54a3c717e8c71e3c824e5ba.tar.bz2 portable-5f187770f36e5049f54a3c717e8c71e3c824e5ba.zip | |
Add curve25519 to portable
| -rw-r--r-- | crypto/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | crypto/Makefile.am | 6 | ||||
| -rw-r--r-- | tests/CMakeLists.txt | 5 | ||||
| -rw-r--r-- | tests/Makefile.am | 5 | ||||
| -rwxr-xr-x | update.sh | 2 |
5 files changed, 19 insertions, 1 deletions
diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt index 895f419..2b48d32 100644 --- a/crypto/CMakeLists.txt +++ b/crypto/CMakeLists.txt | |||
| @@ -281,6 +281,8 @@ set( | |||
| 281 | conf/conf_mall.c | 281 | conf/conf_mall.c |
| 282 | conf/conf_mod.c | 282 | conf/conf_mod.c |
| 283 | conf/conf_sap.c | 283 | conf/conf_sap.c |
| 284 | curve25519/curve25519-generic.c | ||
| 285 | curve25519/curve25519.c | ||
| 284 | des/cbc_cksm.c | 286 | des/cbc_cksm.c |
| 285 | des/cbc_enc.c | 287 | des/cbc_enc.c |
| 286 | des/cfb64ede.c | 288 | des/cfb64ede.c |
diff --git a/crypto/Makefile.am b/crypto/Makefile.am index 1398863..5b7aa95 100644 --- a/crypto/Makefile.am +++ b/crypto/Makefile.am | |||
| @@ -344,6 +344,12 @@ libcrypto_la_SOURCES += conf/conf_mod.c | |||
| 344 | libcrypto_la_SOURCES += conf/conf_sap.c | 344 | libcrypto_la_SOURCES += conf/conf_sap.c |
| 345 | noinst_HEADERS += conf/conf_def.h | 345 | noinst_HEADERS += conf/conf_def.h |
| 346 | 346 | ||
| 347 | # curve25519 | ||
| 348 | libcrypto_la_SOURCES += curve25519/curve25519-generic.c | ||
| 349 | libcrypto_la_SOURCES += curve25519/curve25519.c | ||
| 350 | noinst_HEADERS += curve25519/curve25519_internal.h | ||
| 351 | |||
| 352 | |||
| 347 | # des | 353 | # des |
| 348 | libcrypto_la_SOURCES += des/cbc_cksm.c | 354 | libcrypto_la_SOURCES += des/cbc_cksm.c |
| 349 | libcrypto_la_SOURCES += des/cbc_enc.c | 355 | libcrypto_la_SOURCES += des/cbc_enc.c |
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 7957235..2cc4c9b 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt | |||
| @@ -341,3 +341,8 @@ add_test(utf8test utf8test) | |||
| 341 | add_executable(verifytest verifytest.c) | 341 | add_executable(verifytest verifytest.c) |
| 342 | target_link_libraries(verifytest tls ${OPENSSL_LIBS}) | 342 | target_link_libraries(verifytest tls ${OPENSSL_LIBS}) |
| 343 | add_test(verifytest verifytest) | 343 | add_test(verifytest verifytest) |
| 344 | |||
| 345 | # x25519test | ||
| 346 | add_executable(x25519test x25519test.c) | ||
| 347 | target_link_libraries(x25519test ${OPENSSL_LIBS}) | ||
| 348 | add_test(x25519test x25519test) | ||
diff --git a/tests/Makefile.am b/tests/Makefile.am index 5c575a8..4309fcb 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am | |||
| @@ -338,3 +338,8 @@ utf8test_SOURCES = utf8test.c | |||
| 338 | TESTS += verifytest | 338 | TESTS += verifytest |
| 339 | check_PROGRAMS += verifytest | 339 | check_PROGRAMS += verifytest |
| 340 | verifytest_SOURCES = verifytest.c | 340 | verifytest_SOURCES = verifytest.c |
| 341 | |||
| 342 | # x25519test | ||
| 343 | TESTS += x25519test | ||
| 344 | check_PROGRAMS += x25519test | ||
| 345 | x25519test_SOURCES = x25519test.c | ||
| @@ -124,7 +124,7 @@ copy_hdrs $libcrypto_src "stack/stack.h lhash/lhash.h stack/safestack.h | |||
| 124 | md4/md4.h ripemd/ripemd.h whrlpool/whrlpool.h idea/idea.h | 124 | md4/md4.h ripemd/ripemd.h whrlpool/whrlpool.h idea/idea.h |
| 125 | rc2/rc2.h rc4/rc4.h ui/ui_compat.h txt_db/txt_db.h | 125 | rc2/rc2.h rc4/rc4.h ui/ui_compat.h txt_db/txt_db.h |
| 126 | chacha/chacha.h evp/evp.h poly1305/poly1305.h camellia/camellia.h | 126 | chacha/chacha.h evp/evp.h poly1305/poly1305.h camellia/camellia.h |
| 127 | gost/gost.h" | 127 | gost/gost.h curve25519/curve25519.h" |
| 128 | 128 | ||
| 129 | copy_hdrs $libssl_src "srtp.h ssl.h ssl2.h ssl3.h ssl23.h tls1.h dtls1.h" | 129 | copy_hdrs $libssl_src "srtp.h ssl.h ssl2.h ssl3.h ssl23.h tls1.h dtls1.h" |
| 130 | 130 | ||
