Skip to content

Commit

Permalink
Submodule work (#36)
Browse files Browse the repository at this point in the history
* Existing submodule sync

* Add aws-c-sdkutils

* Rust related updates for sdkutils
  • Loading branch information
bretambrose authored Mar 11, 2022
1 parent aecdb91 commit 95b71d8
Show file tree
Hide file tree
Showing 15 changed files with 18 additions and 10 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,6 @@
[submodule "aws-lc"]
path = crt/aws-lc
url = https://github.com/awslabs/aws-lc.git
[submodule "crt/aws-c-sdkutils"]
path = crt/aws-c-sdkutils
url = https://github.com/awslabs/aws-c-sdkutils
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ if (UNIX AND NOT APPLE)
endif()
add_subdirectory(crt/s2n)
endif()
add_subdirectory(crt/aws-c-sdkutils)
add_subdirectory(crt/aws-c-io)
add_subdirectory(crt/aws-c-cal)
add_subdirectory(crt/aws-c-compression)
Expand All @@ -89,6 +90,7 @@ aws_set_common_properties(${PROJECT_NAME})
aws_prepare_shared_lib_exports(${PROJECT_NAME})

aws_use_package(aws-c-common)
aws_use_package(aws-c-sdkutils)
aws_use_package(aws-c-io)
aws_use_package(aws-c-cal)
aws_use_package(aws-c-compression)
Expand Down
1 change: 1 addition & 0 deletions aws-crt-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ fn compile_aws_crt_ffi() {
println!("cargo:rustc-link-lib={}", "aws-c-io");
println!("cargo:rustc-link-lib={}", "aws-c-cal");
println!("cargo:rustc-link-lib={}", "aws-checksums");
println!("cargo:rustc-link-lib={}", "aws-c-sdkutils");
println!("cargo:rustc-link-lib={}", "aws-c-common");
configure_link_for_platform();
}
Expand Down
2 changes: 1 addition & 1 deletion aws-crt-sys/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* automatically generated by rust-bindgen 0.59.1 */
/* automatically generated by rust-bindgen 0.59.2 */

#![allow(dead_code)]
#![allow(non_upper_case_globals)]
Expand Down
1 change: 1 addition & 0 deletions cmake/aws-crt-ffi-config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ if (UNIX AND NOT APPLE)
endif()

find_dependency(aws-c-common)
find_dependency(aws-c-sdkutils)
find_dependency(aws-c-cal)
find_dependency(aws-c-io)
find_dependency(aws-c-http)
Expand Down
2 changes: 1 addition & 1 deletion crt/aws-c-common
Submodule aws-c-common updated 64 files
+52 −55 .github/workflows/ci.yml
+27 −23 CMakeLists.txt
+1 −1 README.md
+3 −3 cmake/AwsCFlags.cmake
+21 −6 cmake/AwsFeatureTests.cmake
+35 −33 cmake/AwsSIMD.cmake
+18 −5 include/aws/common/allocator.h
+8 −0 include/aws/common/array_list.h
+26 −0 include/aws/common/array_list.inl
+18 −0 include/aws/common/assert.h
+97 −0 include/aws/common/bus.h
+49 −0 include/aws/common/byte_buf.h
+48 −1 include/aws/common/command_line_parser.h
+4 −1 include/aws/common/error.h
+181 −5 include/aws/common/file.h
+3 −0 include/aws/common/logging.h
+1 −0 include/aws/common/mutex.h
+4 −0 include/aws/common/platform.h
+0 −43 include/aws/common/resource_name.h
+0 −6 include/aws/common/ring_buffer.h
+1 −0 include/aws/common/rw_lock.h
+118 −1 include/aws/common/string.h
+0 −93 include/aws/testing/aws_test_allocators.h
+2 −2 include/aws/testing/aws_test_harness.h
+31 −48 source/allocator.c
+1 −0 source/arch/generic/cpuid.c
+27 −5 source/arch/intel/cpuid.c
+724 −0 source/bus.c
+46 −1 source/byte_buf.c
+53 −2 source/command_line_parser.c
+17 −0 source/common.c
+171 −0 source/file.c
+4 −2 source/logging.c
+270 −2 source/posix/file.c
+0 −111 source/resource_name.c
+0 −61 source/ring_buffer.c
+178 −1 source/string.c
+465 −17 source/windows/file.c
+23 −1 source/windows/mutex.c
+38 −2 source/windows/rw_lock.c
+68 −10 source/windows/thread.c
+23 −13 tests/CMakeLists.txt
+69 −0 tests/array_list_test.c
+436 −0 tests/bus_test.c
+110 −0 tests/byte_buf_test.c
+1 −15 tests/calloc_test.c
+65 −6 tests/command_line_parser_test.c
+330 −1 tests/file_test.c
+1 −0 tests/logging/logging_test_utilities.c
+0 −65 tests/realloc_test.c
+0 −199 tests/resource_name_test.c
+1 −0 tests/resources/dir_traversal_test/first_child_dir/child.txt
+1 −0 tests/resources/dir_traversal_test/root_child.txt
+0 −37 tests/ring_buffer_test.c
+0 −162 tests/task_scheduler_test.c
+0 −41 tests/timebomb_test.c
+1 −1 verification/cbmc/litani
+25 −0 verification/cbmc/proofs/aws_array_list_push_front/Makefile
+45 −0 verification/cbmc/proofs/aws_array_list_push_front/aws_array_list_push_front_harness.c
+1 −0 verification/cbmc/proofs/aws_array_list_push_front/cbmc-proof.txt
+1 −1 verification/cbmc/sources/make_common_data_structures.c
+0 −29 verification/cbmc/stubs/aws_array_list_defined_type.c
+0 −36 verification/cbmc/stubs/aws_byte_buf_write_stub.c
+1 −1 verification/cbmc/templates
2 changes: 1 addition & 1 deletion crt/aws-c-http
Submodule aws-c-http updated 66 files
+19 −0 .builder/action/aws-c-http-test.sh
+51 −72 .github/workflows/ci.yml
+1 −1 .github/workflows/clang-format.yml
+3 −4 CMakeLists.txt
+49 −29 bin/elasticurl/main.c
+2 −2 builder.json
+25 −0 codebuild/linux-integration-tests.yml
+135 −32 include/aws/http/connection.h
+25 −2 include/aws/http/connection_manager.h
+5 −0 include/aws/http/http.h
+164 −0 include/aws/http/http2_stream_manager.h
+14 −5 include/aws/http/private/connection_impl.h
+3 −0 include/aws/http/private/connection_manager_system_vtable.h
+13 −0 include/aws/http/private/h1_encoder.h
+12 −0 include/aws/http/private/h1_stream.h
+3 −7 include/aws/http/private/h2_connection.h
+8 −6 include/aws/http/private/h2_decoder.h
+10 −3 include/aws/http/private/h2_stream.h
+182 −0 include/aws/http/private/http2_stream_manager_impl.h
+21 −0 include/aws/http/private/http_impl.h
+79 −0 include/aws/http/private/random_access_set.h
+18 −0 include/aws/http/private/request_response_impl.h
+6 −40 include/aws/http/private/strutil.h
+50 −1 include/aws/http/proxy.h
+126 −4 include/aws/http/request_response.h
+3 −3 include/aws/http/websocket.h
+16 −0 integration-testing/http_client_test.py
+189 −62 source/connection.c
+357 −176 source/connection_manager.c
+5 −0 source/connection_monitor.c
+3 −3 source/h1_connection.c
+3 −3 source/h1_decoder.c
+105 −10 source/h1_encoder.c
+102 −1 source/h1_stream.c
+118 −168 source/h2_connection.c
+48 −16 source/h2_decoder.c
+114 −58 source/h2_stream.c
+34 −0 source/http.c
+1,001 −0 source/http2_stream_manager.c
+193 −11 source/proxy_connection.c
+181 −0 source/random_access_set.c
+360 −38 source/request_response.c
+12 −43 source/strutil.c
+1 −1 source/websocket.c
+1 −1 source/websocket_encoder.c
+76 −18 tests/CMakeLists.txt
+19 −33 tests/h2_test_helper.c
+12 −2 tests/h2_test_helper.h
+0 −365 tests/integration_test_proxy.c
+4 −2 tests/proxy_test_helper.c
+20 −0 tests/resources/unittests.conf
+21 −21 tests/resources/unittests.crt
+ tests/resources/unittests.p12
+16 −0 tests/resources/unittests.readme
+350 −27 tests/test_connection.c
+825 −16 tests/test_connection_manager.c
+46 −4 tests/test_connection_monitor.c
+412 −6 tests/test_h1_client.c
+4 −2 tests/test_h1_server.c
+465 −127 tests/test_h2_client.c
+1 −1 tests/test_h2_decoder.c
+85 −76 tests/test_message.c
+203 −0 tests/test_random_access_set.c
+1,038 −0 tests/test_stream_manager.c
+22 −93 tests/test_strutil.c
+1 −42 tests/test_websocket_bootstrap.c
2 changes: 1 addition & 1 deletion crt/aws-c-io
Submodule aws-c-io updated 75 files
+106 −0 .builder/actions/pkcs11_test_setup.py
+43 −77 .github/workflows/ci.yml
+1 −1 .github/workflows/clang-format.yml
+1 −1 .github/workflows/proof-alarm.yml
+10 −6 CMakeLists.txt
+55 −0 PKCS11.md
+0 −13 README.md
+31 −0 THIRD-PARTY-LICENSES.txt
+8 −2 builder.json
+25 −0 codebuild/linux-integration-tests.yml
+15 −0 include/aws/io/channel.h
+6 −0 include/aws/io/channel_bootstrap.h
+27 −2 include/aws/io/event_loop.h
+2 −62 include/aws/io/file_utils.h
+108 −2 include/aws/io/io.h
+1 −0 include/aws/io/logging.h
+94 −0 include/aws/io/pkcs11.h
+2 −0 include/aws/io/private/pem_utils.h
+17 −6 include/aws/io/private/pki_utils.h
+11 −0 include/aws/io/private/tls_channel_handler_shared.h
+130 −24 include/aws/io/tls_channel_handler.h
+3 −0 include/aws/io/uri.h
+26 −0 source/channel.c
+52 −3 source/channel_bootstrap.c
+1 −1 source/darwin/darwin_pki_utils.c
+8 −7 source/darwin/secure_transport_tls_channel_handler.c
+1 −2 source/event_loop.c
+0 −65 source/file_utils_shared.c
+124 −1 source/io.c
+14 −2 source/pem_utils.c
+1,208 −0 source/pkcs11.c
+1 −0 source/pkcs11/v2.40/.clang-format
+265 −0 source/pkcs11/v2.40/pkcs11.h
+939 −0 source/pkcs11/v2.40/pkcs11f.h
+2,003 −0 source/pkcs11/v2.40/pkcs11t.h
+159 −0 source/pkcs11_private.h
+1 −1 source/pki_utils.c
+0 −72 source/posix/file_utils.c
+3 −2 source/posix/host_resolver.c
+14 −9 source/posix/socket.c
+519 −135 source/s2n/s2n_tls_channel_handler.c
+8 −1 source/socket_channel_handler.c
+280 −155 source/tls_channel_handler.c
+4 −0 source/tls_channel_handler_shared.c
+25 −2 source/uri.c
+0 −115 source/windows/file_utils.c
+6 −0 source/windows/iocp/iocp_event_loop.c
+8 −6 source/windows/iocp/pipe.c
+25 −11 source/windows/iocp/socket.c
+38 −22 source/windows/secure_channel_tls_handler.c
+120 −68 source/windows/windows_pki_utils.c
+104 −15 tests/CMakeLists.txt
+23 −15 tests/alpn_handler_test.c
+49 −37 tests/event_loop_test.c
+0 −23 tests/file_utils_test.c
+102 −2 tests/pem_utils_test.c
+1,521 −0 tests/pkcs11_test.c
+2 −2 tests/pki_utils_test.c
+132 −0 tests/resources/ca_root.cnf
+24 −0 tests/resources/ca_root.crt
+91 −0 tests/resources/generateCerts.sh
+29 −0 tests/resources/server.crt
+27 −0 tests/resources/server.key
+53 −0 tests/resources/server_chain.crt
+2 −0 tests/resources/suppressions-asan.txt
+0 −0 tests/resources/suppressions-lsan.txt
+23 −0 tests/resources/testparse.crt
+8 −8 tests/resources/unittests.crt
+ tests/resources/unittests.p12
+28 −0 tests/resources/unittests.p8
+0 −16 tests/resources/unittests.readme
+103 −7 tests/socket_handler_test.c
+2 −0 tests/socket_test.c
+434 −656 tests/tls_handler_test.c
+89 −3 tests/uri_test.c
1 change: 1 addition & 0 deletions crt/aws-c-sdkutils
Submodule aws-c-sdkutils added at e3c23f
2 changes: 1 addition & 1 deletion crt/aws-checksums
2 changes: 1 addition & 1 deletion crt/aws-lc
2 changes: 1 addition & 1 deletion crt/s2n
Submodule s2n updated from b5b313 to 65455a

0 comments on commit 95b71d8

Please sign in to comment.