From a88e1e840c2e4c61ade1090be8d7c0706d8412d3 Mon Sep 17 00:00:00 2001 From: Justin W Smith <103147162+justsmth@users.noreply.github.com> Date: Fri, 2 Feb 2024 09:54:28 -0500 Subject: [PATCH] Generate via GH workflow --- .github/workflows/cc-toml-generator.yml | 30 ++ .../builder/cc/aarch64-unknown-linux-gnu.toml | 326 ------------------ .../builder/cc/x86_64-apple-darwin.toml | 303 ---------------- .../builder/cc/x86_64-unknown-linux-gnu.toml | 316 ----------------- scripts/build/generate_build_toml.sh | 6 + 5 files changed, 36 insertions(+), 945 deletions(-) create mode 100644 .github/workflows/cc-toml-generator.yml delete mode 100644 aws-lc-sys/builder/cc/aarch64-unknown-linux-gnu.toml delete mode 100644 aws-lc-sys/builder/cc/x86_64-apple-darwin.toml delete mode 100644 aws-lc-sys/builder/cc/x86_64-unknown-linux-gnu.toml diff --git a/.github/workflows/cc-toml-generator.yml b/.github/workflows/cc-toml-generator.yml new file mode 100644 index 00000000000..5a719b478be --- /dev/null +++ b/.github/workflows/cc-toml-generator.yml @@ -0,0 +1,30 @@ +name: Auto-generate CC Build TOML + +on: + push: + branches: + - 'generate/aws-lc-sys*' + +jobs: + generate-and-commit: + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ ubuntu-latest, macos-12, macos-13-xlarge ] + steps: + - uses: actions/checkout@v3 + with: + submodules: 'recursive' + - uses: dtolnay/rust-toolchain@stable + - name: Install current Bash on macOS + if: runner.os == 'macOS' + run: brew install bash coreutils + - name: Run Generate Scripts + run: | + ./scripts/build/generate_build_toml.sh + - name: Commit and Push Changes + uses: actions-js/push@v1.3 + with: + rebase: true + message: "CC Build TOML: ${{ matrix.os }}" diff --git a/aws-lc-sys/builder/cc/aarch64-unknown-linux-gnu.toml b/aws-lc-sys/builder/cc/aarch64-unknown-linux-gnu.toml deleted file mode 100644 index d1e8fd150aa..00000000000 --- a/aws-lc-sys/builder/cc/aarch64-unknown-linux-gnu.toml +++ /dev/null @@ -1,326 +0,0 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. -# SPDX-License-Identifier: Apache-2.0 OR ISC -# -# Generated-by: ./scripts/build/generate_build_toml.sh - -[[Library]] -name = "crypto" -flags = [] -sources = [ - "crypto/asn1/a_bitstr.c", - "crypto/asn1/a_bool.c", - "crypto/asn1/a_d2i_fp.c", - "crypto/asn1/a_dup.c", - "crypto/asn1/a_gentm.c", - "crypto/asn1/a_i2d_fp.c", - "crypto/asn1/a_int.c", - "crypto/asn1/a_mbstr.c", - "crypto/asn1/a_object.c", - "crypto/asn1/a_octet.c", - "crypto/asn1/a_strex.c", - "crypto/asn1/a_strnid.c", - "crypto/asn1/a_time.c", - "crypto/asn1/a_type.c", - "crypto/asn1/a_utctm.c", - "crypto/asn1/a_utf8.c", - "crypto/asn1/asn1_lib.c", - "crypto/asn1/asn1_par.c", - "crypto/asn1/asn_pack.c", - "crypto/asn1/f_int.c", - "crypto/asn1/f_string.c", - "crypto/asn1/posix_time.c", - "crypto/asn1/tasn_dec.c", - "crypto/asn1/tasn_enc.c", - "crypto/asn1/tasn_fre.c", - "crypto/asn1/tasn_new.c", - "crypto/asn1/tasn_typ.c", - "crypto/asn1/tasn_utl.c", - "crypto/base64/base64.c", - "crypto/bio/bio.c", - "crypto/bio/bio_mem.c", - "crypto/bio/connect.c", - "crypto/bio/fd.c", - "crypto/bio/file.c", - "crypto/bio/hexdump.c", - "crypto/bio/pair.c", - "crypto/bio/printf.c", - "crypto/bio/socket.c", - "crypto/bio/socket_helper.c", - "crypto/blake2/blake2.c", - "crypto/bn_extra/bn_asn1.c", - "crypto/bn_extra/convert.c", - "crypto/buf/buf.c", - "crypto/bytestring/asn1_compat.c", - "crypto/bytestring/ber.c", - "crypto/bytestring/cbb.c", - "crypto/bytestring/cbs.c", - "crypto/bytestring/unicode.c", - "crypto/chacha/chacha.c", - "crypto/cipher_extra/cipher_extra.c", - "crypto/cipher_extra/derive_key.c", - "crypto/cipher_extra/e_aes_cbc_hmac_sha1.c", - "crypto/cipher_extra/e_aes_cbc_hmac_sha256.c", - "crypto/cipher_extra/e_aesctrhmac.c", - "crypto/cipher_extra/e_aesgcmsiv.c", - "crypto/cipher_extra/e_chacha20poly1305.c", - "crypto/cipher_extra/e_des.c", - "crypto/cipher_extra/e_null.c", - "crypto/cipher_extra/e_rc2.c", - "crypto/cipher_extra/e_rc4.c", - "crypto/cipher_extra/e_tls.c", - "crypto/cipher_extra/tls_cbc.c", - "crypto/conf/conf.c", - "crypto/crypto.c", - "crypto/curve25519/curve25519.c", - "crypto/curve25519/curve25519_nohw.c", - "crypto/curve25519/curve25519_s2n_bignum_asm.c", - "crypto/curve25519/spake25519.c", - "crypto/decrepit/bio/base64_bio.c", - "crypto/decrepit/blowfish/blowfish.c", - "crypto/decrepit/cast/cast.c", - "crypto/decrepit/cast/cast_tables.c", - "crypto/decrepit/cfb/cfb.c", - "crypto/decrepit/dh/dh_decrepit.c", - "crypto/decrepit/evp/evp_do_all.c", - "crypto/decrepit/ripemd/ripemd.c", - "crypto/decrepit/rsa/rsa_decrepit.c", - "crypto/decrepit/x509/x509_decrepit.c", - "crypto/des/des.c", - "crypto/dh_extra/dh_asn1.c", - "crypto/dh_extra/params.c", - "crypto/digest_extra/digest_extra.c", - "crypto/dsa/dsa.c", - "crypto/dsa/dsa_asn1.c", - "crypto/ec_extra/ec_asn1.c", - "crypto/ec_extra/ec_derive.c", - "crypto/ec_extra/hash_to_curve.c", - "crypto/ecdh_extra/ecdh_extra.c", - "crypto/ecdsa_extra/ecdsa_asn1.c", - "crypto/engine/engine.c", - "crypto/err/err.c", - "crypto/evp_extra/evp_asn1.c", - "crypto/evp_extra/p_dsa_asn1.c", - "crypto/evp_extra/p_ec_asn1.c", - "crypto/evp_extra/p_ed25519.c", - "crypto/evp_extra/p_ed25519_asn1.c", - "crypto/evp_extra/p_hmac_asn1.c", - "crypto/evp_extra/p_kem.c", - "crypto/evp_extra/p_kem_asn1.c", - "crypto/evp_extra/p_methods.c", - "crypto/evp_extra/p_rsa_asn1.c", - "crypto/evp_extra/p_x25519.c", - "crypto/evp_extra/p_x25519_asn1.c", - "crypto/evp_extra/print.c", - "crypto/evp_extra/scrypt.c", - "crypto/evp_extra/sign.c", - "crypto/ex_data.c", - "crypto/fipsmodule/bcm.c", - "crypto/fipsmodule/cpucap/cpucap.c", - "crypto/fipsmodule/fips_shared_support.c", - "crypto/hpke/hpke.c", - "crypto/hrss/hrss.c", - "crypto/kem/kem.c", - "crypto/kem/kem_methods.c", - "crypto/kyber/kem_kyber.c", - "crypto/kyber/kyber1024r3_ref.c", - "crypto/kyber/kyber512r3_ref.c", - "crypto/kyber/kyber768r3_ref.c", - "crypto/kyber/pqcrystals_kyber_ref_common/fips202.c", - "crypto/lhash/lhash.c", - "crypto/mem.c", - "crypto/obj/obj.c", - "crypto/obj/obj_xref.c", - "crypto/ocsp/ocsp_asn.c", - "crypto/ocsp/ocsp_client.c", - "crypto/ocsp/ocsp_extension.c", - "crypto/ocsp/ocsp_http.c", - "crypto/ocsp/ocsp_lib.c", - "crypto/ocsp/ocsp_print.c", - "crypto/ocsp/ocsp_server.c", - "crypto/ocsp/ocsp_verify.c", - "crypto/pem/pem_all.c", - "crypto/pem/pem_info.c", - "crypto/pem/pem_lib.c", - "crypto/pem/pem_oth.c", - "crypto/pem/pem_pk8.c", - "crypto/pem/pem_pkey.c", - "crypto/pem/pem_x509.c", - "crypto/pem/pem_xaux.c", - "crypto/pkcs7/pkcs7.c", - "crypto/pkcs7/pkcs7_x509.c", - "crypto/pkcs8/p5_pbev2.c", - "crypto/pkcs8/pkcs8.c", - "crypto/pkcs8/pkcs8_x509.c", - "crypto/poly1305/poly1305.c", - "crypto/poly1305/poly1305_arm.c", - "crypto/poly1305/poly1305_vec.c", - "crypto/pool/pool.c", - "crypto/rand_extra/deterministic.c", - "crypto/rand_extra/entropy_passive.c", - "crypto/rand_extra/forkunsafe.c", - "crypto/rand_extra/fuchsia.c", - "crypto/rand_extra/pq_custom_randombytes.c", - "crypto/rand_extra/rand_extra.c", - "crypto/rand_extra/trusty.c", - "crypto/rand_extra/windows.c", - "crypto/rc4/rc4.c", - "crypto/refcount_c11.c", - "crypto/refcount_lock.c", - "crypto/refcount_win.c", - "crypto/rsa_extra/rsa_asn1.c", - "crypto/rsa_extra/rsa_print.c", - "crypto/rsa_extra/rsassa_pss_asn1.c", - "crypto/siphash/siphash.c", - "crypto/stack/stack.c", - "crypto/thread.c", - "crypto/thread_none.c", - "crypto/thread_pthread.c", - "crypto/thread_win.c", - "crypto/trust_token/pmbtoken.c", - "crypto/trust_token/trust_token.c", - "crypto/trust_token/voprf.c", - "crypto/x509/a_digest.c", - "crypto/x509/a_sign.c", - "crypto/x509/a_verify.c", - "crypto/x509/algorithm.c", - "crypto/x509/asn1_gen.c", - "crypto/x509/by_dir.c", - "crypto/x509/by_file.c", - "crypto/x509/i2d_pr.c", - "crypto/x509/name_print.c", - "crypto/x509/policy.c", - "crypto/x509/rsa_pss.c", - "crypto/x509/t_crl.c", - "crypto/x509/t_req.c", - "crypto/x509/t_x509.c", - "crypto/x509/t_x509a.c", - "crypto/x509/x509.c", - "crypto/x509/x509_att.c", - "crypto/x509/x509_cmp.c", - "crypto/x509/x509_d2.c", - "crypto/x509/x509_def.c", - "crypto/x509/x509_ext.c", - "crypto/x509/x509_lu.c", - "crypto/x509/x509_obj.c", - "crypto/x509/x509_req.c", - "crypto/x509/x509_set.c", - "crypto/x509/x509_trs.c", - "crypto/x509/x509_txt.c", - "crypto/x509/x509_v3.c", - "crypto/x509/x509_vfy.c", - "crypto/x509/x509_vpm.c", - "crypto/x509/x509cset.c", - "crypto/x509/x509name.c", - "crypto/x509/x509rset.c", - "crypto/x509/x509spki.c", - "crypto/x509/x_algor.c", - "crypto/x509/x_all.c", - "crypto/x509/x_attrib.c", - "crypto/x509/x_crl.c", - "crypto/x509/x_exten.c", - "crypto/x509/x_info.c", - "crypto/x509/x_name.c", - "crypto/x509/x_pkey.c", - "crypto/x509/x_pubkey.c", - "crypto/x509/x_req.c", - "crypto/x509/x_sig.c", - "crypto/x509/x_spki.c", - "crypto/x509/x_val.c", - "crypto/x509/x_x509.c", - "crypto/x509/x_x509a.c", - "crypto/x509v3/v3_akey.c", - "crypto/x509v3/v3_akeya.c", - "crypto/x509v3/v3_alt.c", - "crypto/x509v3/v3_bcons.c", - "crypto/x509v3/v3_bitst.c", - "crypto/x509v3/v3_conf.c", - "crypto/x509v3/v3_cpols.c", - "crypto/x509v3/v3_crld.c", - "crypto/x509v3/v3_enum.c", - "crypto/x509v3/v3_extku.c", - "crypto/x509v3/v3_genn.c", - "crypto/x509v3/v3_ia5.c", - "crypto/x509v3/v3_info.c", - "crypto/x509v3/v3_int.c", - "crypto/x509v3/v3_lib.c", - "crypto/x509v3/v3_ncons.c", - "crypto/x509v3/v3_ocsp.c", - "crypto/x509v3/v3_pcons.c", - "crypto/x509v3/v3_pmaps.c", - "crypto/x509v3/v3_prn.c", - "crypto/x509v3/v3_purp.c", - "crypto/x509v3/v3_skey.c", - "crypto/x509v3/v3_utl.c", - "generated-src/err_data.c", - "generated-src/linux-aarch64/crypto/chacha/chacha-armv8.S", - "generated-src/linux-aarch64/crypto/cipher_extra/chacha20_poly1305_armv8.S", - "generated-src/linux-aarch64/crypto/fipsmodule/aesv8-armx.S", - "generated-src/linux-aarch64/crypto/fipsmodule/aesv8-gcm-armv8-unroll8.S", - "generated-src/linux-aarch64/crypto/fipsmodule/aesv8-gcm-armv8.S", - "generated-src/linux-aarch64/crypto/fipsmodule/armv8-mont.S", - "generated-src/linux-aarch64/crypto/fipsmodule/bn-armv8.S", - "generated-src/linux-aarch64/crypto/fipsmodule/ghash-neon-armv8.S", - "generated-src/linux-aarch64/crypto/fipsmodule/ghashv8-armx.S", - "generated-src/linux-aarch64/crypto/fipsmodule/keccak1600-armv8.S", - "generated-src/linux-aarch64/crypto/fipsmodule/md5-armv8.S", - "generated-src/linux-aarch64/crypto/fipsmodule/p256-armv8-asm.S", - "generated-src/linux-aarch64/crypto/fipsmodule/p256_beeu-armv8-asm.S", - "generated-src/linux-aarch64/crypto/fipsmodule/sha1-armv8.S", - "generated-src/linux-aarch64/crypto/fipsmodule/sha256-armv8.S", - "generated-src/linux-aarch64/crypto/fipsmodule/sha512-armv8.S", - "generated-src/linux-aarch64/crypto/fipsmodule/vpaes-armv8.S", - "generated-src/linux-aarch64/crypto/test/trampoline-armv8.S", - "third_party/s2n-bignum/arm/curve25519/bignum_madd_n25519.S", - "third_party/s2n-bignum/arm/curve25519/bignum_madd_n25519_alt.S", - "third_party/s2n-bignum/arm/curve25519/bignum_mod_n25519.S", - "third_party/s2n-bignum/arm/curve25519/bignum_neg_p25519.S", - "third_party/s2n-bignum/arm/curve25519/curve25519_x25519_byte.S", - "third_party/s2n-bignum/arm/curve25519/curve25519_x25519_byte_alt.S", - "third_party/s2n-bignum/arm/curve25519/curve25519_x25519base_byte.S", - "third_party/s2n-bignum/arm/curve25519/curve25519_x25519base_byte_alt.S", - "third_party/s2n-bignum/arm/curve25519/edwards25519_decode.S", - "third_party/s2n-bignum/arm/curve25519/edwards25519_decode_alt.S", - "third_party/s2n-bignum/arm/curve25519/edwards25519_encode.S", - "third_party/s2n-bignum/arm/curve25519/edwards25519_scalarmulbase.S", - "third_party/s2n-bignum/arm/curve25519/edwards25519_scalarmulbase_alt.S", - "third_party/s2n-bignum/arm/curve25519/edwards25519_scalarmuldouble.S", - "third_party/s2n-bignum/arm/curve25519/edwards25519_scalarmuldouble_alt.S", - "third_party/s2n-bignum/arm/fastmul/bignum_emontredc_8n.S", - "third_party/s2n-bignum/arm/fastmul/bignum_emontredc_8n_neon.S", - "third_party/s2n-bignum/arm/fastmul/bignum_kmul_16_32.S", - "third_party/s2n-bignum/arm/fastmul/bignum_kmul_16_32_neon.S", - "third_party/s2n-bignum/arm/fastmul/bignum_kmul_32_64.S", - "third_party/s2n-bignum/arm/fastmul/bignum_kmul_32_64_neon.S", - "third_party/s2n-bignum/arm/fastmul/bignum_ksqr_16_32.S", - "third_party/s2n-bignum/arm/fastmul/bignum_ksqr_16_32_neon.S", - "third_party/s2n-bignum/arm/fastmul/bignum_ksqr_32_64.S", - "third_party/s2n-bignum/arm/fastmul/bignum_ksqr_32_64_neon.S", - "third_party/s2n-bignum/arm/generic/bignum_copy_row_from_table.S", - "third_party/s2n-bignum/arm/generic/bignum_copy_row_from_table_16_neon.S", - "third_party/s2n-bignum/arm/generic/bignum_copy_row_from_table_32_neon.S", - "third_party/s2n-bignum/arm/generic/bignum_copy_row_from_table_8n_neon.S", - "third_party/s2n-bignum/arm/generic/bignum_ge.S", - "third_party/s2n-bignum/arm/generic/bignum_mul.S", - "third_party/s2n-bignum/arm/generic/bignum_optsub.S", - "third_party/s2n-bignum/arm/generic/bignum_sqr.S", - "third_party/s2n-bignum/arm/p384/bignum_add_p384.S", - "third_party/s2n-bignum/arm/p384/bignum_deamont_p384.S", - "third_party/s2n-bignum/arm/p384/bignum_littleendian_6.S", - "third_party/s2n-bignum/arm/p384/bignum_montmul_p384.S", - "third_party/s2n-bignum/arm/p384/bignum_montmul_p384_alt.S", - "third_party/s2n-bignum/arm/p384/bignum_montsqr_p384.S", - "third_party/s2n-bignum/arm/p384/bignum_montsqr_p384_alt.S", - "third_party/s2n-bignum/arm/p384/bignum_neg_p384.S", - "third_party/s2n-bignum/arm/p384/bignum_nonzero_6.S", - "third_party/s2n-bignum/arm/p384/bignum_sub_p384.S", - "third_party/s2n-bignum/arm/p384/bignum_tomont_p384.S", - "third_party/s2n-bignum/arm/p521/bignum_add_p521.S", - "third_party/s2n-bignum/arm/p521/bignum_fromlebytes_p521.S", - "third_party/s2n-bignum/arm/p521/bignum_mul_p521.S", - "third_party/s2n-bignum/arm/p521/bignum_mul_p521_alt.S", - "third_party/s2n-bignum/arm/p521/bignum_neg_p521.S", - "third_party/s2n-bignum/arm/p521/bignum_sqr_p521.S", - "third_party/s2n-bignum/arm/p521/bignum_sqr_p521_alt.S", - "third_party/s2n-bignum/arm/p521/bignum_sub_p521.S", - "third_party/s2n-bignum/arm/p521/bignum_tolebytes_p521.S", -] diff --git a/aws-lc-sys/builder/cc/x86_64-apple-darwin.toml b/aws-lc-sys/builder/cc/x86_64-apple-darwin.toml deleted file mode 100644 index 2d710033a4b..00000000000 --- a/aws-lc-sys/builder/cc/x86_64-apple-darwin.toml +++ /dev/null @@ -1,303 +0,0 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. -# SPDX-License-Identifier: Apache-2.0 OR ISC -# -# Generated-by: ./scripts/build/generate_build_toml.sh - -[[Library]] -name = "crypto" -flags = [] -sources = [ - "crypto/asn1/a_bitstr.c", - "crypto/asn1/a_bool.c", - "crypto/asn1/a_d2i_fp.c", - "crypto/asn1/a_dup.c", - "crypto/asn1/a_gentm.c", - "crypto/asn1/a_i2d_fp.c", - "crypto/asn1/a_int.c", - "crypto/asn1/a_mbstr.c", - "crypto/asn1/a_object.c", - "crypto/asn1/a_octet.c", - "crypto/asn1/a_strex.c", - "crypto/asn1/a_strnid.c", - "crypto/asn1/a_time.c", - "crypto/asn1/a_type.c", - "crypto/asn1/a_utctm.c", - "crypto/asn1/a_utf8.c", - "crypto/asn1/asn1_lib.c", - "crypto/asn1/asn1_par.c", - "crypto/asn1/asn_pack.c", - "crypto/asn1/f_int.c", - "crypto/asn1/f_string.c", - "crypto/asn1/posix_time.c", - "crypto/asn1/tasn_dec.c", - "crypto/asn1/tasn_enc.c", - "crypto/asn1/tasn_fre.c", - "crypto/asn1/tasn_new.c", - "crypto/asn1/tasn_typ.c", - "crypto/asn1/tasn_utl.c", - "crypto/base64/base64.c", - "crypto/bio/bio.c", - "crypto/bio/bio_mem.c", - "crypto/bio/connect.c", - "crypto/bio/fd.c", - "crypto/bio/file.c", - "crypto/bio/hexdump.c", - "crypto/bio/pair.c", - "crypto/bio/printf.c", - "crypto/bio/socket.c", - "crypto/bio/socket_helper.c", - "crypto/blake2/blake2.c", - "crypto/bn_extra/bn_asn1.c", - "crypto/bn_extra/convert.c", - "crypto/buf/buf.c", - "crypto/bytestring/asn1_compat.c", - "crypto/bytestring/ber.c", - "crypto/bytestring/cbb.c", - "crypto/bytestring/cbs.c", - "crypto/bytestring/unicode.c", - "crypto/chacha/chacha.c", - "crypto/cipher_extra/cipher_extra.c", - "crypto/cipher_extra/derive_key.c", - "crypto/cipher_extra/e_aes_cbc_hmac_sha1.c", - "crypto/cipher_extra/e_aes_cbc_hmac_sha256.c", - "crypto/cipher_extra/e_aesctrhmac.c", - "crypto/cipher_extra/e_aesgcmsiv.c", - "crypto/cipher_extra/e_chacha20poly1305.c", - "crypto/cipher_extra/e_des.c", - "crypto/cipher_extra/e_null.c", - "crypto/cipher_extra/e_rc2.c", - "crypto/cipher_extra/e_rc4.c", - "crypto/cipher_extra/e_tls.c", - "crypto/cipher_extra/tls_cbc.c", - "crypto/conf/conf.c", - "crypto/crypto.c", - "crypto/curve25519/curve25519.c", - "crypto/curve25519/curve25519_nohw.c", - "crypto/curve25519/curve25519_s2n_bignum_asm.c", - "crypto/curve25519/spake25519.c", - "crypto/decrepit/bio/base64_bio.c", - "crypto/decrepit/blowfish/blowfish.c", - "crypto/decrepit/cast/cast.c", - "crypto/decrepit/cast/cast_tables.c", - "crypto/decrepit/cfb/cfb.c", - "crypto/decrepit/dh/dh_decrepit.c", - "crypto/decrepit/evp/evp_do_all.c", - "crypto/decrepit/ripemd/ripemd.c", - "crypto/decrepit/rsa/rsa_decrepit.c", - "crypto/decrepit/x509/x509_decrepit.c", - "crypto/des/des.c", - "crypto/dh_extra/dh_asn1.c", - "crypto/dh_extra/params.c", - "crypto/digest_extra/digest_extra.c", - "crypto/dsa/dsa.c", - "crypto/dsa/dsa_asn1.c", - "crypto/ec_extra/ec_asn1.c", - "crypto/ec_extra/ec_derive.c", - "crypto/ec_extra/hash_to_curve.c", - "crypto/ecdh_extra/ecdh_extra.c", - "crypto/ecdsa_extra/ecdsa_asn1.c", - "crypto/engine/engine.c", - "crypto/err/err.c", - "crypto/evp_extra/evp_asn1.c", - "crypto/evp_extra/p_dsa_asn1.c", - "crypto/evp_extra/p_ec_asn1.c", - "crypto/evp_extra/p_ed25519.c", - "crypto/evp_extra/p_ed25519_asn1.c", - "crypto/evp_extra/p_hmac_asn1.c", - "crypto/evp_extra/p_kem.c", - "crypto/evp_extra/p_kem_asn1.c", - "crypto/evp_extra/p_methods.c", - "crypto/evp_extra/p_rsa_asn1.c", - "crypto/evp_extra/p_x25519.c", - "crypto/evp_extra/p_x25519_asn1.c", - "crypto/evp_extra/print.c", - "crypto/evp_extra/scrypt.c", - "crypto/evp_extra/sign.c", - "crypto/ex_data.c", - "crypto/fipsmodule/bcm.c", - "crypto/fipsmodule/cpucap/cpucap.c", - "crypto/hpke/hpke.c", - "crypto/hrss/hrss.c", - "crypto/kem/kem.c", - "crypto/kem/kem_methods.c", - "crypto/kyber/kem_kyber.c", - "crypto/kyber/kyber1024r3_ref.c", - "crypto/kyber/kyber512r3_ref.c", - "crypto/kyber/kyber768r3_ref.c", - "crypto/kyber/pqcrystals_kyber_ref_common/fips202.c", - "crypto/lhash/lhash.c", - "crypto/mem.c", - "crypto/obj/obj.c", - "crypto/obj/obj_xref.c", - "crypto/ocsp/ocsp_asn.c", - "crypto/ocsp/ocsp_client.c", - "crypto/ocsp/ocsp_extension.c", - "crypto/ocsp/ocsp_http.c", - "crypto/ocsp/ocsp_lib.c", - "crypto/ocsp/ocsp_print.c", - "crypto/ocsp/ocsp_server.c", - "crypto/ocsp/ocsp_verify.c", - "crypto/pem/pem_all.c", - "crypto/pem/pem_info.c", - "crypto/pem/pem_lib.c", - "crypto/pem/pem_oth.c", - "crypto/pem/pem_pk8.c", - "crypto/pem/pem_pkey.c", - "crypto/pem/pem_x509.c", - "crypto/pem/pem_xaux.c", - "crypto/pkcs7/pkcs7.c", - "crypto/pkcs7/pkcs7_x509.c", - "crypto/pkcs8/p5_pbev2.c", - "crypto/pkcs8/pkcs8.c", - "crypto/pkcs8/pkcs8_x509.c", - "crypto/poly1305/poly1305_vec.c", - "crypto/pool/pool.c", - "crypto/rand_extra/forkunsafe.c", - "crypto/rand_extra/pq_custom_randombytes.c", - "crypto/rand_extra/rand_extra.c", - "crypto/rc4/rc4.c", - "crypto/refcount_lock.c", - "crypto/rsa_extra/rsa_asn1.c", - "crypto/rsa_extra/rsa_print.c", - "crypto/rsa_extra/rsassa_pss_asn1.c", - "crypto/siphash/siphash.c", - "crypto/stack/stack.c", - "crypto/thread.c", - "crypto/thread_pthread.c", - "crypto/trust_token/pmbtoken.c", - "crypto/trust_token/trust_token.c", - "crypto/trust_token/voprf.c", - "crypto/x509/a_digest.c", - "crypto/x509/a_sign.c", - "crypto/x509/a_verify.c", - "crypto/x509/algorithm.c", - "crypto/x509/asn1_gen.c", - "crypto/x509/by_dir.c", - "crypto/x509/by_file.c", - "crypto/x509/i2d_pr.c", - "crypto/x509/name_print.c", - "crypto/x509/policy.c", - "crypto/x509/rsa_pss.c", - "crypto/x509/t_crl.c", - "crypto/x509/t_req.c", - "crypto/x509/t_x509.c", - "crypto/x509/t_x509a.c", - "crypto/x509/x509.c", - "crypto/x509/x509_att.c", - "crypto/x509/x509_cmp.c", - "crypto/x509/x509_d2.c", - "crypto/x509/x509_def.c", - "crypto/x509/x509_ext.c", - "crypto/x509/x509_lu.c", - "crypto/x509/x509_obj.c", - "crypto/x509/x509_req.c", - "crypto/x509/x509_set.c", - "crypto/x509/x509_trs.c", - "crypto/x509/x509_txt.c", - "crypto/x509/x509_v3.c", - "crypto/x509/x509_vfy.c", - "crypto/x509/x509_vpm.c", - "crypto/x509/x509cset.c", - "crypto/x509/x509name.c", - "crypto/x509/x509rset.c", - "crypto/x509/x509spki.c", - "crypto/x509/x_algor.c", - "crypto/x509/x_all.c", - "crypto/x509/x_attrib.c", - "crypto/x509/x_crl.c", - "crypto/x509/x_exten.c", - "crypto/x509/x_info.c", - "crypto/x509/x_name.c", - "crypto/x509/x_pkey.c", - "crypto/x509/x_pubkey.c", - "crypto/x509/x_req.c", - "crypto/x509/x_sig.c", - "crypto/x509/x_spki.c", - "crypto/x509/x_val.c", - "crypto/x509/x_x509.c", - "crypto/x509/x_x509a.c", - "crypto/x509v3/v3_akey.c", - "crypto/x509v3/v3_akeya.c", - "crypto/x509v3/v3_alt.c", - "crypto/x509v3/v3_bcons.c", - "crypto/x509v3/v3_bitst.c", - "crypto/x509v3/v3_conf.c", - "crypto/x509v3/v3_cpols.c", - "crypto/x509v3/v3_crld.c", - "crypto/x509v3/v3_enum.c", - "crypto/x509v3/v3_extku.c", - "crypto/x509v3/v3_genn.c", - "crypto/x509v3/v3_ia5.c", - "crypto/x509v3/v3_info.c", - "crypto/x509v3/v3_int.c", - "crypto/x509v3/v3_lib.c", - "crypto/x509v3/v3_ncons.c", - "crypto/x509v3/v3_ocsp.c", - "crypto/x509v3/v3_pcons.c", - "crypto/x509v3/v3_pmaps.c", - "crypto/x509v3/v3_prn.c", - "crypto/x509v3/v3_purp.c", - "crypto/x509v3/v3_skey.c", - "crypto/x509v3/v3_utl.c", - "generated-src/err_data.c", - "generated-src/mac-x86_64/crypto/chacha/chacha-x86_64.S", - "generated-src/mac-x86_64/crypto/cipher_extra/aes128gcmsiv-x86_64.S", - "generated-src/mac-x86_64/crypto/cipher_extra/aesni-sha1-x86_64.S", - "generated-src/mac-x86_64/crypto/cipher_extra/aesni-sha256-x86_64.S", - "generated-src/mac-x86_64/crypto/cipher_extra/chacha20_poly1305_x86_64.S", - "generated-src/mac-x86_64/crypto/fipsmodule/aesni-gcm-avx512.S", - "generated-src/mac-x86_64/crypto/fipsmodule/aesni-gcm-x86_64.S", - "generated-src/mac-x86_64/crypto/fipsmodule/aesni-x86_64.S", - "generated-src/mac-x86_64/crypto/fipsmodule/aesni-xts-avx512.S", - "generated-src/mac-x86_64/crypto/fipsmodule/ghash-ssse3-x86_64.S", - "generated-src/mac-x86_64/crypto/fipsmodule/ghash-x86_64.S", - "generated-src/mac-x86_64/crypto/fipsmodule/md5-x86_64.S", - "generated-src/mac-x86_64/crypto/fipsmodule/p256-x86_64-asm.S", - "generated-src/mac-x86_64/crypto/fipsmodule/p256_beeu-x86_64-asm.S", - "generated-src/mac-x86_64/crypto/fipsmodule/rdrand-x86_64.S", - "generated-src/mac-x86_64/crypto/fipsmodule/rsaz-avx2.S", - "generated-src/mac-x86_64/crypto/fipsmodule/sha1-x86_64.S", - "generated-src/mac-x86_64/crypto/fipsmodule/sha256-x86_64.S", - "generated-src/mac-x86_64/crypto/fipsmodule/sha512-x86_64.S", - "generated-src/mac-x86_64/crypto/fipsmodule/vpaes-x86_64.S", - "generated-src/mac-x86_64/crypto/fipsmodule/x86_64-mont.S", - "generated-src/mac-x86_64/crypto/fipsmodule/x86_64-mont5.S", - "generated-src/mac-x86_64/crypto/test/trampoline-x86_64.S", - "third_party/s2n-bignum/x86_att/curve25519/bignum_madd_n25519.S", - "third_party/s2n-bignum/x86_att/curve25519/bignum_madd_n25519_alt.S", - "third_party/s2n-bignum/x86_att/curve25519/bignum_mod_n25519.S", - "third_party/s2n-bignum/x86_att/curve25519/bignum_neg_p25519.S", - "third_party/s2n-bignum/x86_att/curve25519/curve25519_x25519.S", - "third_party/s2n-bignum/x86_att/curve25519/curve25519_x25519_alt.S", - "third_party/s2n-bignum/x86_att/curve25519/curve25519_x25519base.S", - "third_party/s2n-bignum/x86_att/curve25519/curve25519_x25519base_alt.S", - "third_party/s2n-bignum/x86_att/curve25519/edwards25519_decode.S", - "third_party/s2n-bignum/x86_att/curve25519/edwards25519_decode_alt.S", - "third_party/s2n-bignum/x86_att/curve25519/edwards25519_encode.S", - "third_party/s2n-bignum/x86_att/curve25519/edwards25519_scalarmulbase.S", - "third_party/s2n-bignum/x86_att/curve25519/edwards25519_scalarmulbase_alt.S", - "third_party/s2n-bignum/x86_att/curve25519/edwards25519_scalarmuldouble.S", - "third_party/s2n-bignum/x86_att/curve25519/edwards25519_scalarmuldouble_alt.S", - "third_party/s2n-bignum/x86_att/p384/bignum_add_p384.S", - "third_party/s2n-bignum/x86_att/p384/bignum_deamont_p384.S", - "third_party/s2n-bignum/x86_att/p384/bignum_deamont_p384_alt.S", - "third_party/s2n-bignum/x86_att/p384/bignum_littleendian_6.S", - "third_party/s2n-bignum/x86_att/p384/bignum_montmul_p384.S", - "third_party/s2n-bignum/x86_att/p384/bignum_montmul_p384_alt.S", - "third_party/s2n-bignum/x86_att/p384/bignum_montsqr_p384.S", - "third_party/s2n-bignum/x86_att/p384/bignum_montsqr_p384_alt.S", - "third_party/s2n-bignum/x86_att/p384/bignum_neg_p384.S", - "third_party/s2n-bignum/x86_att/p384/bignum_nonzero_6.S", - "third_party/s2n-bignum/x86_att/p384/bignum_sub_p384.S", - "third_party/s2n-bignum/x86_att/p384/bignum_tomont_p384.S", - "third_party/s2n-bignum/x86_att/p384/bignum_tomont_p384_alt.S", - "third_party/s2n-bignum/x86_att/p521/bignum_add_p521.S", - "third_party/s2n-bignum/x86_att/p521/bignum_fromlebytes_p521.S", - "third_party/s2n-bignum/x86_att/p521/bignum_mul_p521.S", - "third_party/s2n-bignum/x86_att/p521/bignum_mul_p521_alt.S", - "third_party/s2n-bignum/x86_att/p521/bignum_neg_p521.S", - "third_party/s2n-bignum/x86_att/p521/bignum_sqr_p521.S", - "third_party/s2n-bignum/x86_att/p521/bignum_sqr_p521_alt.S", - "third_party/s2n-bignum/x86_att/p521/bignum_sub_p521.S", - "third_party/s2n-bignum/x86_att/p521/bignum_tolebytes_p521.S", -] diff --git a/aws-lc-sys/builder/cc/x86_64-unknown-linux-gnu.toml b/aws-lc-sys/builder/cc/x86_64-unknown-linux-gnu.toml deleted file mode 100644 index bc08762255c..00000000000 --- a/aws-lc-sys/builder/cc/x86_64-unknown-linux-gnu.toml +++ /dev/null @@ -1,316 +0,0 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. -# SPDX-License-Identifier: Apache-2.0 OR ISC -# -# Generated-by: ./scripts/build/generate_build_toml.sh - -[[Library]] -name = "crypto" -flags = [] -sources = [ - "crypto/asn1/a_bitstr.c", - "crypto/asn1/a_bool.c", - "crypto/asn1/a_d2i_fp.c", - "crypto/asn1/a_dup.c", - "crypto/asn1/a_gentm.c", - "crypto/asn1/a_i2d_fp.c", - "crypto/asn1/a_int.c", - "crypto/asn1/a_mbstr.c", - "crypto/asn1/a_object.c", - "crypto/asn1/a_octet.c", - "crypto/asn1/a_strex.c", - "crypto/asn1/a_strnid.c", - "crypto/asn1/a_time.c", - "crypto/asn1/a_type.c", - "crypto/asn1/a_utctm.c", - "crypto/asn1/a_utf8.c", - "crypto/asn1/asn1_lib.c", - "crypto/asn1/asn1_par.c", - "crypto/asn1/asn_pack.c", - "crypto/asn1/f_int.c", - "crypto/asn1/f_string.c", - "crypto/asn1/posix_time.c", - "crypto/asn1/tasn_dec.c", - "crypto/asn1/tasn_enc.c", - "crypto/asn1/tasn_fre.c", - "crypto/asn1/tasn_new.c", - "crypto/asn1/tasn_typ.c", - "crypto/asn1/tasn_utl.c", - "crypto/base64/base64.c", - "crypto/bio/bio.c", - "crypto/bio/bio_mem.c", - "crypto/bio/connect.c", - "crypto/bio/fd.c", - "crypto/bio/file.c", - "crypto/bio/hexdump.c", - "crypto/bio/pair.c", - "crypto/bio/printf.c", - "crypto/bio/socket.c", - "crypto/bio/socket_helper.c", - "crypto/blake2/blake2.c", - "crypto/bn_extra/bn_asn1.c", - "crypto/bn_extra/convert.c", - "crypto/buf/buf.c", - "crypto/bytestring/asn1_compat.c", - "crypto/bytestring/ber.c", - "crypto/bytestring/cbb.c", - "crypto/bytestring/cbs.c", - "crypto/bytestring/unicode.c", - "crypto/chacha/chacha.c", - "crypto/cipher_extra/cipher_extra.c", - "crypto/cipher_extra/derive_key.c", - "crypto/cipher_extra/e_aes_cbc_hmac_sha1.c", - "crypto/cipher_extra/e_aes_cbc_hmac_sha256.c", - "crypto/cipher_extra/e_aesctrhmac.c", - "crypto/cipher_extra/e_aesgcmsiv.c", - "crypto/cipher_extra/e_chacha20poly1305.c", - "crypto/cipher_extra/e_des.c", - "crypto/cipher_extra/e_null.c", - "crypto/cipher_extra/e_rc2.c", - "crypto/cipher_extra/e_rc4.c", - "crypto/cipher_extra/e_tls.c", - "crypto/cipher_extra/tls_cbc.c", - "crypto/conf/conf.c", - "crypto/crypto.c", - "crypto/curve25519/curve25519.c", - "crypto/curve25519/curve25519_nohw.c", - "crypto/curve25519/curve25519_s2n_bignum_asm.c", - "crypto/curve25519/spake25519.c", - "crypto/decrepit/bio/base64_bio.c", - "crypto/decrepit/blowfish/blowfish.c", - "crypto/decrepit/cast/cast.c", - "crypto/decrepit/cast/cast_tables.c", - "crypto/decrepit/cfb/cfb.c", - "crypto/decrepit/dh/dh_decrepit.c", - "crypto/decrepit/evp/evp_do_all.c", - "crypto/decrepit/ripemd/ripemd.c", - "crypto/decrepit/rsa/rsa_decrepit.c", - "crypto/decrepit/x509/x509_decrepit.c", - "crypto/des/des.c", - "crypto/dh_extra/dh_asn1.c", - "crypto/dh_extra/params.c", - "crypto/digest_extra/digest_extra.c", - "crypto/dsa/dsa.c", - "crypto/dsa/dsa_asn1.c", - "crypto/ec_extra/ec_asn1.c", - "crypto/ec_extra/ec_derive.c", - "crypto/ec_extra/hash_to_curve.c", - "crypto/ecdh_extra/ecdh_extra.c", - "crypto/ecdsa_extra/ecdsa_asn1.c", - "crypto/engine/engine.c", - "crypto/err/err.c", - "crypto/evp_extra/evp_asn1.c", - "crypto/evp_extra/p_dsa_asn1.c", - "crypto/evp_extra/p_ec_asn1.c", - "crypto/evp_extra/p_ed25519.c", - "crypto/evp_extra/p_ed25519_asn1.c", - "crypto/evp_extra/p_hmac_asn1.c", - "crypto/evp_extra/p_kem.c", - "crypto/evp_extra/p_kem_asn1.c", - "crypto/evp_extra/p_methods.c", - "crypto/evp_extra/p_rsa_asn1.c", - "crypto/evp_extra/p_x25519.c", - "crypto/evp_extra/p_x25519_asn1.c", - "crypto/evp_extra/print.c", - "crypto/evp_extra/scrypt.c", - "crypto/evp_extra/sign.c", - "crypto/ex_data.c", - "crypto/fipsmodule/bcm.c", - "crypto/fipsmodule/cpucap/cpucap.c", - "crypto/fipsmodule/fips_shared_support.c", - "crypto/hpke/hpke.c", - "crypto/hrss/asm/poly_rq_mul.S", - "crypto/hrss/hrss.c", - "crypto/kem/kem.c", - "crypto/kem/kem_methods.c", - "crypto/kyber/kem_kyber.c", - "crypto/kyber/kyber1024r3_ref.c", - "crypto/kyber/kyber512r3_ref.c", - "crypto/kyber/kyber768r3_ref.c", - "crypto/kyber/pqcrystals_kyber_ref_common/fips202.c", - "crypto/lhash/lhash.c", - "crypto/mem.c", - "crypto/obj/obj.c", - "crypto/obj/obj_xref.c", - "crypto/ocsp/ocsp_asn.c", - "crypto/ocsp/ocsp_client.c", - "crypto/ocsp/ocsp_extension.c", - "crypto/ocsp/ocsp_http.c", - "crypto/ocsp/ocsp_lib.c", - "crypto/ocsp/ocsp_print.c", - "crypto/ocsp/ocsp_server.c", - "crypto/ocsp/ocsp_verify.c", - "crypto/pem/pem_all.c", - "crypto/pem/pem_info.c", - "crypto/pem/pem_lib.c", - "crypto/pem/pem_oth.c", - "crypto/pem/pem_pk8.c", - "crypto/pem/pem_pkey.c", - "crypto/pem/pem_x509.c", - "crypto/pem/pem_xaux.c", - "crypto/pkcs7/pkcs7.c", - "crypto/pkcs7/pkcs7_x509.c", - "crypto/pkcs8/p5_pbev2.c", - "crypto/pkcs8/pkcs8.c", - "crypto/pkcs8/pkcs8_x509.c", - "crypto/poly1305/poly1305.c", - "crypto/poly1305/poly1305_arm.c", - "crypto/poly1305/poly1305_vec.c", - "crypto/pool/pool.c", - "crypto/rand_extra/deterministic.c", - "crypto/rand_extra/entropy_passive.c", - "crypto/rand_extra/forkunsafe.c", - "crypto/rand_extra/fuchsia.c", - "crypto/rand_extra/pq_custom_randombytes.c", - "crypto/rand_extra/rand_extra.c", - "crypto/rand_extra/trusty.c", - "crypto/rand_extra/windows.c", - "crypto/rc4/rc4.c", - "crypto/refcount_c11.c", - "crypto/refcount_lock.c", - "crypto/refcount_win.c", - "crypto/rsa_extra/rsa_asn1.c", - "crypto/rsa_extra/rsa_print.c", - "crypto/rsa_extra/rsassa_pss_asn1.c", - "crypto/siphash/siphash.c", - "crypto/stack/stack.c", - "crypto/thread.c", - "crypto/thread_none.c", - "crypto/thread_pthread.c", - "crypto/thread_win.c", - "crypto/trust_token/pmbtoken.c", - "crypto/trust_token/trust_token.c", - "crypto/trust_token/voprf.c", - "crypto/x509/a_digest.c", - "crypto/x509/a_sign.c", - "crypto/x509/a_verify.c", - "crypto/x509/algorithm.c", - "crypto/x509/asn1_gen.c", - "crypto/x509/by_dir.c", - "crypto/x509/by_file.c", - "crypto/x509/i2d_pr.c", - "crypto/x509/name_print.c", - "crypto/x509/policy.c", - "crypto/x509/rsa_pss.c", - "crypto/x509/t_crl.c", - "crypto/x509/t_req.c", - "crypto/x509/t_x509.c", - "crypto/x509/t_x509a.c", - "crypto/x509/x509.c", - "crypto/x509/x509_att.c", - "crypto/x509/x509_cmp.c", - "crypto/x509/x509_d2.c", - "crypto/x509/x509_def.c", - "crypto/x509/x509_ext.c", - "crypto/x509/x509_lu.c", - "crypto/x509/x509_obj.c", - "crypto/x509/x509_req.c", - "crypto/x509/x509_set.c", - "crypto/x509/x509_trs.c", - "crypto/x509/x509_txt.c", - "crypto/x509/x509_v3.c", - "crypto/x509/x509_vfy.c", - "crypto/x509/x509_vpm.c", - "crypto/x509/x509cset.c", - "crypto/x509/x509name.c", - "crypto/x509/x509rset.c", - "crypto/x509/x509spki.c", - "crypto/x509/x_algor.c", - "crypto/x509/x_all.c", - "crypto/x509/x_attrib.c", - "crypto/x509/x_crl.c", - "crypto/x509/x_exten.c", - "crypto/x509/x_info.c", - "crypto/x509/x_name.c", - "crypto/x509/x_pkey.c", - "crypto/x509/x_pubkey.c", - "crypto/x509/x_req.c", - "crypto/x509/x_sig.c", - "crypto/x509/x_spki.c", - "crypto/x509/x_val.c", - "crypto/x509/x_x509.c", - "crypto/x509/x_x509a.c", - "crypto/x509v3/v3_akey.c", - "crypto/x509v3/v3_akeya.c", - "crypto/x509v3/v3_alt.c", - "crypto/x509v3/v3_bcons.c", - "crypto/x509v3/v3_bitst.c", - "crypto/x509v3/v3_conf.c", - "crypto/x509v3/v3_cpols.c", - "crypto/x509v3/v3_crld.c", - "crypto/x509v3/v3_enum.c", - "crypto/x509v3/v3_extku.c", - "crypto/x509v3/v3_genn.c", - "crypto/x509v3/v3_ia5.c", - "crypto/x509v3/v3_info.c", - "crypto/x509v3/v3_int.c", - "crypto/x509v3/v3_lib.c", - "crypto/x509v3/v3_ncons.c", - "crypto/x509v3/v3_ocsp.c", - "crypto/x509v3/v3_pcons.c", - "crypto/x509v3/v3_pmaps.c", - "crypto/x509v3/v3_prn.c", - "crypto/x509v3/v3_purp.c", - "crypto/x509v3/v3_skey.c", - "crypto/x509v3/v3_utl.c", - "generated-src/err_data.c", - "generated-src/linux-x86_64/crypto/chacha/chacha-x86_64.S", - "generated-src/linux-x86_64/crypto/cipher_extra/aes128gcmsiv-x86_64.S", - "generated-src/linux-x86_64/crypto/cipher_extra/aesni-sha1-x86_64.S", - "generated-src/linux-x86_64/crypto/cipher_extra/aesni-sha256-x86_64.S", - "generated-src/linux-x86_64/crypto/cipher_extra/chacha20_poly1305_x86_64.S", - "generated-src/linux-x86_64/crypto/fipsmodule/aesni-gcm-avx512.S", - "generated-src/linux-x86_64/crypto/fipsmodule/aesni-gcm-x86_64.S", - "generated-src/linux-x86_64/crypto/fipsmodule/aesni-x86_64.S", - "generated-src/linux-x86_64/crypto/fipsmodule/aesni-xts-avx512.S", - "generated-src/linux-x86_64/crypto/fipsmodule/ghash-ssse3-x86_64.S", - "generated-src/linux-x86_64/crypto/fipsmodule/ghash-x86_64.S", - "generated-src/linux-x86_64/crypto/fipsmodule/md5-x86_64.S", - "generated-src/linux-x86_64/crypto/fipsmodule/p256-x86_64-asm.S", - "generated-src/linux-x86_64/crypto/fipsmodule/p256_beeu-x86_64-asm.S", - "generated-src/linux-x86_64/crypto/fipsmodule/rdrand-x86_64.S", - "generated-src/linux-x86_64/crypto/fipsmodule/rsaz-avx2.S", - "generated-src/linux-x86_64/crypto/fipsmodule/sha1-x86_64.S", - "generated-src/linux-x86_64/crypto/fipsmodule/sha256-x86_64.S", - "generated-src/linux-x86_64/crypto/fipsmodule/sha512-x86_64.S", - "generated-src/linux-x86_64/crypto/fipsmodule/vpaes-x86_64.S", - "generated-src/linux-x86_64/crypto/fipsmodule/x86_64-mont.S", - "generated-src/linux-x86_64/crypto/fipsmodule/x86_64-mont5.S", - "generated-src/linux-x86_64/crypto/test/trampoline-x86_64.S", - "third_party/s2n-bignum/x86_att/curve25519/bignum_madd_n25519.S", - "third_party/s2n-bignum/x86_att/curve25519/bignum_madd_n25519_alt.S", - "third_party/s2n-bignum/x86_att/curve25519/bignum_mod_n25519.S", - "third_party/s2n-bignum/x86_att/curve25519/bignum_neg_p25519.S", - "third_party/s2n-bignum/x86_att/curve25519/curve25519_x25519.S", - "third_party/s2n-bignum/x86_att/curve25519/curve25519_x25519_alt.S", - "third_party/s2n-bignum/x86_att/curve25519/curve25519_x25519base.S", - "third_party/s2n-bignum/x86_att/curve25519/curve25519_x25519base_alt.S", - "third_party/s2n-bignum/x86_att/curve25519/edwards25519_decode.S", - "third_party/s2n-bignum/x86_att/curve25519/edwards25519_decode_alt.S", - "third_party/s2n-bignum/x86_att/curve25519/edwards25519_encode.S", - "third_party/s2n-bignum/x86_att/curve25519/edwards25519_scalarmulbase.S", - "third_party/s2n-bignum/x86_att/curve25519/edwards25519_scalarmulbase_alt.S", - "third_party/s2n-bignum/x86_att/curve25519/edwards25519_scalarmuldouble.S", - "third_party/s2n-bignum/x86_att/curve25519/edwards25519_scalarmuldouble_alt.S", - "third_party/s2n-bignum/x86_att/p384/bignum_add_p384.S", - "third_party/s2n-bignum/x86_att/p384/bignum_deamont_p384.S", - "third_party/s2n-bignum/x86_att/p384/bignum_deamont_p384_alt.S", - "third_party/s2n-bignum/x86_att/p384/bignum_littleendian_6.S", - "third_party/s2n-bignum/x86_att/p384/bignum_montmul_p384.S", - "third_party/s2n-bignum/x86_att/p384/bignum_montmul_p384_alt.S", - "third_party/s2n-bignum/x86_att/p384/bignum_montsqr_p384.S", - "third_party/s2n-bignum/x86_att/p384/bignum_montsqr_p384_alt.S", - "third_party/s2n-bignum/x86_att/p384/bignum_neg_p384.S", - "third_party/s2n-bignum/x86_att/p384/bignum_nonzero_6.S", - "third_party/s2n-bignum/x86_att/p384/bignum_sub_p384.S", - "third_party/s2n-bignum/x86_att/p384/bignum_tomont_p384.S", - "third_party/s2n-bignum/x86_att/p384/bignum_tomont_p384_alt.S", - "third_party/s2n-bignum/x86_att/p521/bignum_add_p521.S", - "third_party/s2n-bignum/x86_att/p521/bignum_fromlebytes_p521.S", - "third_party/s2n-bignum/x86_att/p521/bignum_mul_p521.S", - "third_party/s2n-bignum/x86_att/p521/bignum_mul_p521_alt.S", - "third_party/s2n-bignum/x86_att/p521/bignum_neg_p521.S", - "third_party/s2n-bignum/x86_att/p521/bignum_sqr_p521.S", - "third_party/s2n-bignum/x86_att/p521/bignum_sqr_p521_alt.S", - "third_party/s2n-bignum/x86_att/p521/bignum_sub_p521.S", - "third_party/s2n-bignum/x86_att/p521/bignum_tolebytes_p521.S", -] diff --git a/scripts/build/generate_build_toml.sh b/scripts/build/generate_build_toml.sh index 1b6b7b54ee8..776c46618d1 100755 --- a/scripts/build/generate_build_toml.sh +++ b/scripts/build/generate_build_toml.sh @@ -14,6 +14,7 @@ PUBLISH=0 REPO_ROOT=$(git rev-parse --show-toplevel) SYS_CRATE_DIR="${REPO_ROOT}/aws-lc-sys" BUILD_CFG_DIR="${SYS_CRATE_DIR}/builder/cc" +mkdir -p "${BUILD_CFG_DIR}" function collect_source_files() { OS_NAME=$(uname) @@ -46,7 +47,12 @@ function find_generated_src_dir() { echo Unknown OS: "${OS_NAME}" exit 1 fi + ARCH_NAME=$(uname -m) + if [[ "${ARCH_NAME}" =~ aarch64 && "${OS_NAME}" =~ mac ]]; then + OS_NAME=ios + fi + echo "${OS_NAME}-${ARCH_NAME}" }