Skip to content

Commit

Permalink
Update CRT submodules to latest releases (awslabs#875)
Browse files Browse the repository at this point in the history
* Update CRT submodules to latest releases

Signed-off-by: Monthon Klongklaew <monthonk@amazon.com>

* Exclude more unused files to keep crate size under limit

Signed-off-by: Monthon Klongklaew <monthonk@amazon.com>

---------

Signed-off-by: Monthon Klongklaew <monthonk@amazon.com>
  • Loading branch information
monthonk authored May 10, 2024
1 parent a2d0af6 commit bd9b1af
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 11 deletions.
9 changes: 6 additions & 3 deletions mountpoint-s3-crt-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,18 @@ repository = "https://github.com/awslabs/mountpoint-s3"
description = "Rust FFI bindings to the AWS Common Runtime for Mountpoint for Amazon S3."
exclude = [
# Exclude large files/directories not required to build the CRT (e.g. tests, docs)
"crt/*/tests",
"crt/*/tests/**",
"!crt/aws-lc/tests/compiler_features_tests",
"!crt/s2n-tls/tests/features",
"crt/*/docs",
"crt/**/docs",
"crt/aws-c-cal/ecdsa-fuzz-corpus/*",
"crt/aws-c-common/verification/*",
"crt/aws-lc/crypto/*/*_tests.txt",
"crt/aws-lc/crypto/cipher_extra/test/*",
"crt/aws-lc/crypto/evp_extra/*_test.cc",
"crt/aws-lc/crypto/evp_extra/*_tests.txt",
"crt/aws-lc/crypto/fipsmodule/bn/test/*",
"crt/aws-lc/crypto/fipsmodule/ecdsa/*_tests.txt",
"crt/aws-lc/crypto/fipsmodule/*/*_tests.txt",
"crt/aws-lc/crypto/fipsmodule/policydocs/*",
"crt/aws-lc/crypto/fipsmodule/sha/testvectors/*",
"crt/aws-lc/crypto/hpke/test-vectors.json",
Expand All @@ -35,6 +37,7 @@ exclude = [
"crt/s2n-tls/scram/SCRAM_paper.pdf",
"**/.github/**",
"**/*.jar",
"**/*.md",
]

[build-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion mountpoint-s3-crt-sys/crt/aws-c-s3
Submodule aws-c-s3 updated 36 files
+0 −66 benchmarks/README.md
+0 −15 benchmarks/benchmark-config.json
+0 −13 benchmarks/benchmarks-stack/benchmarks-stack/.gitignore
+0 −6 benchmarks/benchmarks-stack/benchmarks-stack/.npmignore
+0 −14 benchmarks/benchmarks-stack/benchmarks-stack/bin/benchmarks-stack.ts
+0 −15 benchmarks/benchmarks-stack/benchmarks-stack/buildspec.yml
+0 −16 benchmarks/benchmarks-stack/benchmarks-stack/cdk.json
+0 −50 benchmarks/benchmarks-stack/benchmarks-stack/deploy/benchmarks_deploy.js
+0 −7 benchmarks/benchmarks-stack/benchmarks-stack/jest.config.js
+0 −163 benchmarks/benchmarks-stack/benchmarks-stack/lib/benchmarks-stack.ts
+0 −83 benchmarks/benchmarks-stack/benchmarks-stack/lib/canary-policy-doc.json
+0 −29 benchmarks/benchmarks-stack/benchmarks-stack/lib/canary.sh
+0 −42 benchmarks/benchmarks-stack/benchmarks-stack/lib/get_p90.py
+0 −151 benchmarks/benchmarks-stack/benchmarks-stack/lib/init_instance.sh
+0 −65 benchmarks/benchmarks-stack/benchmarks-stack/lib/project_scripts/run_aws_c_s3.sh
+0 −46 benchmarks/benchmarks-stack/benchmarks-stack/lib/project_scripts/run_java_crt.sh
+0 −18 benchmarks/benchmarks-stack/benchmarks-stack/lib/run_project_template.sh
+0 −59 benchmarks/benchmarks-stack/benchmarks-stack/lib/show_instance_dashboard.sh
+0 −33 benchmarks/benchmarks-stack/benchmarks-stack/package.json
+0 −0 benchmarks/benchmarks-stack/benchmarks-stack/response.json
+0 −40 benchmarks/benchmarks-stack/benchmarks-stack/test/benchmarks.test.ts
+0 −23 benchmarks/benchmarks-stack/benchmarks-stack/tsconfig.json
+0 −14 benchmarks/dashboard-stack/.gitignore
+0 −6 benchmarks/dashboard-stack/.npmignore
+0 −15 benchmarks/dashboard-stack/bin/benchmarks.ts
+0 −12 benchmarks/dashboard-stack/cdk.json
+0 −7 benchmarks/dashboard-stack/jest.config.js
+0 −68 benchmarks/dashboard-stack/lambda/benchmarkManager.py
+0 −367 benchmarks/dashboard-stack/lib/dashboard-stack.ts
+0 −10 benchmarks/dashboard-stack/lib/policy-doc/admin-policy-doc.json
+0 −39 benchmarks/dashboard-stack/package.json
+0 −0 benchmarks/dashboard-stack/response.json
+0 −23 benchmarks/dashboard-stack/tsconfig.json
+6 −1 source/s3_request_messages.c
+1 −1 tests/s3_data_plane_tests.c
+6 −2 tests/s3_request_messages_tests.c
2 changes: 1 addition & 1 deletion mountpoint-s3-crt-sys/crt/aws-lc
2 changes: 1 addition & 1 deletion mountpoint-s3-crt-sys/crt/s2n-tls
Submodule s2n-tls updated 92 files
+1 −4 .github/teams.yml
+34 −36 .github/workflows/ci_rust.yml
+164 −0 api/s2n.h
+1 −0 api/unstable/ktls.h
+2 −0 api/unstable/renegotiate.h
+2 −2 bindings/rust/s2n-tls-sys/build.rs
+2 −1 bindings/rust/s2n-tls-sys/templates/Cargo.template
+2 −2 bindings/rust/s2n-tls-tokio/Cargo.toml
+3 −2 bindings/rust/s2n-tls/Cargo.toml
+18 −17 bindings/rust/s2n-tls/src/client_hello.rs
+34 −0 bindings/rust/s2n-tls/src/config.rs
+130 −6 bindings/rust/s2n-tls/src/connection.rs
+32 −0 bindings/rust/s2n-tls/src/enums.rs
+42 −5 bindings/rust/s2n-tls/src/security.rs
+31 −7 bindings/rust/s2n-tls/src/testing/resumption.rs
+36 −0 bindings/rust/s2n-tls/src/testing/s2n_tls.rs
+12 −5 docs/usage-guide/topics/ch06-security-policies.md
+4 −1 error/s2n_errno.c
+3 −0 error/s2n_errno.h
+9 −1 flake.nix
+17 −1 nix/shell.sh
+1 −1 stuffer/s2n_stuffer.c
+6 −3 tests/cbmc/proofs/s2n_stuffer_is_consumed/s2n_stuffer_is_consumed_harness.c
+12 −1 tests/integrationv2/processes.py
+23 −18 tests/integrationv2/test_key_update.py
+9 −9 tests/sidetrail/working/s2n-record-read-cbc-negative-test/record_read_cbc.patch
+9 −9 tests/sidetrail/working/s2n-record-read-cbc/record_read_cbc.patch
+1 −1 tests/sidetrail/working/s2n-record-read-stream/copy_as_needed.sh
+29 −0 tests/sidetrail/working/s2n-record-read-stream/s2n_record_read_stream.patch
+2 −2 tests/sidetrail/working/s2n-record-read-stream/s2n_record_read_wrapper.c
+37 −0 tests/testlib/s2n_resumption_testlib.c
+49 −20 tests/testlib/s2n_test_server_client.c
+3 −0 tests/testlib/s2n_testlib.h
+34 −30 tests/unit/s2n_auth_selection_test.c
+215 −0 tests/unit/s2n_cert_authorities_test.c
+115 −3 tests/unit/s2n_client_auth_handshake_test.c
+15 −36 tests/unit/s2n_client_hello_request_test.c
+6 −28 tests/unit/s2n_client_psk_extension_test.c
+871 −0 tests/unit/s2n_connection_serialize_test.c
+1 −1 tests/unit/s2n_connection_size_test.c
+1 −14 tests/unit/s2n_extended_master_secret_test.c
+0 −1 tests/unit/s2n_fips_rules_test.c
+41 −2 tests/unit/s2n_ktls_io_test.c
+33 −0 tests/unit/s2n_ktls_test.c
+2 −24 tests/unit/s2n_psk_offered_test.c
+81 −0 tests/unit/s2n_quic_support_io_test.c
+52 −0 tests/unit/s2n_record_read_test.c
+619 −0 tests/unit/s2n_recv_buffering_test.c
+35 −0 tests/unit/s2n_renegotiate_test.c
+3 −3 tests/unit/s2n_security_policies_test.c
+10 −10 tests/unit/s2n_self_talk_io_mem_test.c
+15 −36 tests/unit/s2n_self_talk_session_resumption_test.c
+75 −3 tests/unit/s2n_server_cert_request_test.c
+16 −40 tests/unit/s2n_server_new_session_ticket_test.c
+153 −75 tests/unit/s2n_signature_algorithms_test.c
+11 −1 tests/unit/s2n_signature_scheme_test.c
+1 −1 tests/unit/s2n_tls13_cert_verify_test.c
+1 −25 tests/unit/s2n_tls13_new_session_ticket_test.c
+54 −0 tls/extensions/s2n_cert_authorities.c
+24 −0 tls/extensions/s2n_cert_authorities.h
+1 −1 tls/extensions/s2n_extension_list.h
+2 −1 tls/extensions/s2n_extension_type.h
+12 −0 tls/extensions/s2n_extension_type_lists.c
+1 −1 tls/extensions/s2n_quic_transport_params.c
+2 −0 tls/s2n_alerts.c
+2 −2 tls/s2n_auth_selection.c
+19 −0 tls/s2n_config.c
+20 −0 tls/s2n_config.h
+32 −11 tls/s2n_connection.c
+13 −0 tls/s2n_connection.h
+285 −0 tls/s2n_connection_serialize.c
+25 −0 tls/s2n_connection_serialize.h
+13 −4 tls/s2n_handshake_io.c
+14 −3 tls/s2n_ktls.c
+9 −3 tls/s2n_ktls_io.c
+14 −2 tls/s2n_quic_support.c
+11 −0 tls/s2n_record_read.c
+0 −1 tls/s2n_record_read_cbc.c
+0 −1 tls/s2n_record_read_stream.c
+14 −8 tls/s2n_record_write.c
+60 −4 tls/s2n_recv.c
+7 −0 tls/s2n_renegotiate.c
+6 −4 tls/s2n_security_policies.c
+2 −2 tls/s2n_security_policies.h
+4 −5 tls/s2n_server_cert_request.c
+30 −87 tls/s2n_signature_scheme.c
+1 −7 tls/s2n_signature_scheme.h
+1 −0 tls/s2n_tls.h
+3 −3 tls/s2n_tls13_key_schedule.c
+2 −0 tls/s2n_tls13_key_schedule.h
+9 −13 tls/s2n_tls_parameters.h
+4 −0 utils/s2n_blob.h

0 comments on commit bd9b1af

Please sign in to comment.