aws-crt 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -0
  3. data/VERSION +1 -1
  4. data/aws-crt-ffi/crt/aws-c-cal/CMakeLists.txt +2 -0
  5. data/aws-crt-ffi/crt/aws-c-cal/bin/produce_x_platform_fuzz_corpus/CMakeLists.txt +30 -0
  6. data/aws-crt-ffi/crt/aws-c-cal/bin/produce_x_platform_fuzz_corpus/main.c +208 -0
  7. data/aws-crt-ffi/crt/aws-c-cal/bin/run_x_platform_fuzz_corpus/CMakeLists.txt +30 -0
  8. data/aws-crt-ffi/crt/aws-c-cal/bin/run_x_platform_fuzz_corpus/main.c +244 -0
  9. data/aws-crt-ffi/crt/aws-c-cal/ecdsa-fuzz-corpus/darwin/p256_sig_corpus.txt +10000 -0
  10. data/aws-crt-ffi/crt/aws-c-cal/ecdsa-fuzz-corpus/windows/p256_sig_corpus.txt +10000 -0
  11. data/aws-crt-ffi/crt/aws-c-cal/source/windows/bcrypt_ecc.c +8 -0
  12. data/aws-crt-ffi/crt/aws-c-http/tests/CMakeLists.txt +11 -10
  13. data/aws-crt-ffi/crt/aws-c-io/include/aws/io/tls_channel_handler.h +2 -0
  14. data/aws-crt-ffi/crt/aws-c-io/source/darwin/darwin_pki_utils.c +8 -0
  15. data/aws-crt-ffi/crt/aws-c-io/source/tls_channel_handler.c +2 -0
  16. data/aws-crt-ffi/crt/aws-c-io/source/windows/windows_pki_utils.c +65 -35
  17. data/aws-crt-ffi/crt/s2n/CMakeLists.txt +67 -21
  18. data/aws-crt-ffi/crt/s2n/Makefile +10 -0
  19. data/aws-crt-ffi/crt/s2n/bin/Makefile +9 -0
  20. data/aws-crt-ffi/crt/s2n/bindings/rust/Makefile +14 -0
  21. data/aws-crt-ffi/crt/s2n/bindings/rust/integration/Cargo.toml +2 -2
  22. data/aws-crt-ffi/crt/s2n/bindings/rust/s2n-tls/Cargo.toml +3 -2
  23. data/aws-crt-ffi/crt/s2n/bindings/rust/s2n-tls/src/raw/config.rs +265 -39
  24. data/aws-crt-ffi/crt/s2n/bindings/rust/s2n-tls/src/raw/connection.rs +170 -20
  25. data/aws-crt-ffi/crt/s2n/bindings/rust/s2n-tls/src/testing/s2n_tls.rs +120 -0
  26. data/aws-crt-ffi/crt/s2n/bindings/rust/s2n-tls/src/testing.rs +58 -23
  27. data/aws-crt-ffi/crt/s2n/bindings/rust/s2n-tls-sys/Cargo.toml +1 -1
  28. data/aws-crt-ffi/crt/s2n/bindings/rust/s2n-tls-sys/src/internal.rs +3 -0
  29. data/aws-crt-ffi/crt/s2n/crypto/s2n_composite_cipher_aes_sha.c +1 -1
  30. data/aws-crt-ffi/crt/s2n/crypto/s2n_drbg.c +8 -3
  31. data/aws-crt-ffi/crt/s2n/error/s2n_errno.c +3 -0
  32. data/aws-crt-ffi/crt/s2n/error/s2n_errno.h +2 -0
  33. data/aws-crt-ffi/crt/s2n/lib/Makefile +11 -0
  34. data/aws-crt-ffi/crt/s2n/pq-crypto/kyber_90s_r2/ntt.h +2 -2
  35. data/aws-crt-ffi/crt/s2n/pq-crypto/kyber_r2/ntt.h +2 -2
  36. data/aws-crt-ffi/crt/s2n/pq-crypto/kyber_r3/kyber512r3_poly_avx2.h +2 -2
  37. data/aws-crt-ffi/crt/s2n/pq-crypto/kyber_r3/kyber512r3_polyvec_avx2.h +2 -2
  38. data/aws-crt-ffi/crt/s2n/pq-crypto/sike_r1/P503_internal_r1.h +1 -1
  39. data/aws-crt-ffi/crt/s2n/pq-crypto/sike_r1/fips202_r1.h +1 -1
  40. data/aws-crt-ffi/crt/s2n/pq-crypto/sike_r3/sikep434r3_fp_x64_asm.S +4 -0
  41. data/aws-crt-ffi/crt/s2n/s2n.mk +25 -0
  42. data/aws-crt-ffi/crt/s2n/scripts/s2n_safety_macros.py +14 -0
  43. data/aws-crt-ffi/crt/s2n/tests/benchmark/Readme.md +23 -9
  44. data/aws-crt-ffi/crt/s2n/tests/features/clone.c +24 -0
  45. data/aws-crt-ffi/crt/s2n/tests/features/madvise.c +27 -0
  46. data/aws-crt-ffi/crt/s2n/tests/features/minherit.c +22 -0
  47. data/aws-crt-ffi/crt/s2n/tests/integrationv2/conftest.py +2 -2
  48. data/aws-crt-ffi/crt/s2n/tests/unit/s2n_connection_test.c +1 -1
  49. data/aws-crt-ffi/crt/s2n/tests/unit/s2n_fork_generation_number_test.c +335 -0
  50. data/aws-crt-ffi/crt/s2n/tests/unit/s2n_mem_usage_test.c +1 -1
  51. data/aws-crt-ffi/crt/s2n/tests/unit/s2n_self_talk_client_hello_cb_test.c +93 -11
  52. data/aws-crt-ffi/crt/s2n/tests/unit/s2n_server_hello_retry_test.c +123 -1
  53. data/aws-crt-ffi/crt/s2n/tests/unit/s2n_tls13_key_schedule_rfc8448_test.c +18 -3
  54. data/aws-crt-ffi/crt/s2n/tests/unit/s2n_tls13_key_schedule_test.c +0 -38
  55. data/aws-crt-ffi/crt/s2n/tests/unit/s2n_tls13_secrets_test.c +134 -15
  56. data/aws-crt-ffi/crt/s2n/tls/s2n_cipher_suites.c +1 -1
  57. data/aws-crt-ffi/crt/s2n/tls/s2n_client_hello.c +20 -9
  58. data/aws-crt-ffi/crt/s2n/tls/s2n_client_hello.h +8 -0
  59. data/aws-crt-ffi/crt/s2n/tls/s2n_config.c +13 -0
  60. data/aws-crt-ffi/crt/s2n/tls/s2n_config.h +6 -0
  61. data/aws-crt-ffi/crt/s2n/tls/s2n_handshake_io.c +2 -1
  62. data/aws-crt-ffi/crt/s2n/tls/s2n_internal.h +9 -0
  63. data/aws-crt-ffi/crt/s2n/tls/s2n_tls13_key_schedule.c +7 -7
  64. data/aws-crt-ffi/crt/s2n/tls/s2n_tls13_secrets.c +61 -8
  65. data/aws-crt-ffi/crt/s2n/tls/s2n_tls13_secrets.h +11 -5
  66. data/aws-crt-ffi/crt/s2n/utils/s2n_fork_detection.c +367 -0
  67. data/aws-crt-ffi/crt/s2n/utils/s2n_fork_detection.h +28 -0
  68. data/aws-crt-ffi/crt/s2n/utils/s2n_safety_macros.h +13 -22
  69. metadata +18 -3
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-crt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-15 00:00:00.000000000 Z
11
+ date: 2022-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -948,12 +948,18 @@ files:
948
948
  - aws-crt-ffi/crt/aws-c-cal/LICENSE
949
949
  - aws-crt-ffi/crt/aws-c-cal/NOTICE
950
950
  - aws-crt-ffi/crt/aws-c-cal/README.md
951
+ - aws-crt-ffi/crt/aws-c-cal/bin/produce_x_platform_fuzz_corpus/CMakeLists.txt
952
+ - aws-crt-ffi/crt/aws-c-cal/bin/produce_x_platform_fuzz_corpus/main.c
953
+ - aws-crt-ffi/crt/aws-c-cal/bin/run_x_platform_fuzz_corpus/CMakeLists.txt
954
+ - aws-crt-ffi/crt/aws-c-cal/bin/run_x_platform_fuzz_corpus/main.c
951
955
  - aws-crt-ffi/crt/aws-c-cal/bin/sha256_profile/CMakeLists.txt
952
956
  - aws-crt-ffi/crt/aws-c-cal/bin/sha256_profile/main.c
953
957
  - aws-crt-ffi/crt/aws-c-cal/builder.json
954
958
  - aws-crt-ffi/crt/aws-c-cal/cmake/aws-c-cal-config.cmake
955
959
  - aws-crt-ffi/crt/aws-c-cal/cmake/modules/Findcrypto.cmake
956
960
  - aws-crt-ffi/crt/aws-c-cal/cmake/modules/aws-lc.cmake
961
+ - aws-crt-ffi/crt/aws-c-cal/ecdsa-fuzz-corpus/darwin/p256_sig_corpus.txt
962
+ - aws-crt-ffi/crt/aws-c-cal/ecdsa-fuzz-corpus/windows/p256_sig_corpus.txt
957
963
  - aws-crt-ffi/crt/aws-c-cal/format-check.sh
958
964
  - aws-crt-ffi/crt/aws-c-cal/include/aws/cal/cal.h
959
965
  - aws-crt-ffi/crt/aws-c-cal/include/aws/cal/ecc.h
@@ -8478,6 +8484,7 @@ files:
8478
8484
  - aws-crt-ffi/crt/s2n/bin/s2nc.c
8479
8485
  - aws-crt-ffi/crt/s2n/bin/s2nd.c
8480
8486
  - aws-crt-ffi/crt/s2n/bindings/rust/Cargo.toml
8487
+ - aws-crt-ffi/crt/s2n/bindings/rust/Makefile
8481
8488
  - aws-crt-ffi/crt/s2n/bindings/rust/README.md
8482
8489
  - aws-crt-ffi/crt/s2n/bindings/rust/generate.sh
8483
8490
  - aws-crt-ffi/crt/s2n/bindings/rust/generate/Cargo.toml
@@ -9469,12 +9476,15 @@ files:
9469
9476
  - aws-crt-ffi/crt/s2n/tests/cbmc/templates/training-material/README.md
9470
9477
  - aws-crt-ffi/crt/s2n/tests/cbmc/templates/training-material/checklist.md
9471
9478
  - aws-crt-ffi/crt/s2n/tests/features/__restrict__.c
9479
+ - aws-crt-ffi/crt/s2n/tests/features/clone.c
9472
9480
  - aws-crt-ffi/crt/s2n/tests/features/cpuid.c
9473
9481
  - aws-crt-ffi/crt/s2n/tests/features/evp_md5_sha1.c
9474
9482
  - aws-crt-ffi/crt/s2n/tests/features/evp_md_ctx_set_pkey_ctx.c
9475
9483
  - aws-crt-ffi/crt/s2n/tests/features/execinfo.c
9476
9484
  - aws-crt-ffi/crt/s2n/tests/features/fallthrough.c
9477
9485
  - aws-crt-ffi/crt/s2n/tests/features/features.c
9486
+ - aws-crt-ffi/crt/s2n/tests/features/madvise.c
9487
+ - aws-crt-ffi/crt/s2n/tests/features/minherit.c
9478
9488
  - aws-crt-ffi/crt/s2n/tests/features/noop_main.c
9479
9489
  - aws-crt-ffi/crt/s2n/tests/fuzz/LD_PRELOAD/Makefile
9480
9490
  - aws-crt-ffi/crt/s2n/tests/fuzz/LD_PRELOAD/global_overrides.c
@@ -9747,6 +9757,7 @@ files:
9747
9757
  - aws-crt-ffi/crt/s2n/tests/unit/s2n_extension_type_lists_test.c
9748
9758
  - aws-crt-ffi/crt/s2n/tests/unit/s2n_extension_type_test.c
9749
9759
  - aws-crt-ffi/crt/s2n/tests/unit/s2n_extensions_server_key_share_select_test.c
9760
+ - aws-crt-ffi/crt/s2n/tests/unit/s2n_fork_generation_number_test.c
9750
9761
  - aws-crt-ffi/crt/s2n/tests/unit/s2n_fragmentation_coalescing_test.c
9751
9762
  - aws-crt-ffi/crt/s2n/tests/unit/s2n_handshake_errno_test.c
9752
9763
  - aws-crt-ffi/crt/s2n/tests/unit/s2n_handshake_hashes_test.c
@@ -10097,6 +10108,8 @@ files:
10097
10108
  - aws-crt-ffi/crt/s2n/utils/s2n_compiler.h
10098
10109
  - aws-crt-ffi/crt/s2n/utils/s2n_ensure.c
10099
10110
  - aws-crt-ffi/crt/s2n/utils/s2n_ensure.h
10111
+ - aws-crt-ffi/crt/s2n/utils/s2n_fork_detection.c
10112
+ - aws-crt-ffi/crt/s2n/utils/s2n_fork_detection.h
10100
10113
  - aws-crt-ffi/crt/s2n/utils/s2n_init.c
10101
10114
  - aws-crt-ffi/crt/s2n/utils/s2n_init.h
10102
10115
  - aws-crt-ffi/crt/s2n/utils/s2n_map.c
@@ -10156,7 +10169,9 @@ files:
10156
10169
  homepage: https://github.com/awslabs/aws-crt-ruby
10157
10170
  licenses:
10158
10171
  - Apache-2.0
10159
- metadata: {}
10172
+ metadata:
10173
+ source_code_uri: https://github.com/awslabs/aws-crt-ruby/tree/main/gems/aws-crt
10174
+ changelog_uri: https://github.com/awslabs/aws-crt-ruby/tree/main/gems/aws-crt/CHANGELOG.md
10160
10175
  post_install_message:
10161
10176
  rdoc_options: []
10162
10177
  require_paths: