diff --git a/BUILD.generated.bzl b/BUILD.generated.bzl index 391844662..a5f68bfca 100644 --- a/BUILD.generated.bzl +++ b/BUILD.generated.bzl @@ -9,80 +9,80 @@ ssl_headers = [ ] fips_fragments = [ - "src/crypto/fipsmodule/aes/aes.c", - "src/crypto/fipsmodule/aes/aes_nohw.c", - "src/crypto/fipsmodule/aes/key_wrap.c", - "src/crypto/fipsmodule/aes/mode_wrappers.c", - "src/crypto/fipsmodule/bn/add.c", - "src/crypto/fipsmodule/bn/asm/x86_64-gcc.c", - "src/crypto/fipsmodule/bn/bn.c", - "src/crypto/fipsmodule/bn/bytes.c", - "src/crypto/fipsmodule/bn/cmp.c", - "src/crypto/fipsmodule/bn/ctx.c", - "src/crypto/fipsmodule/bn/div.c", - "src/crypto/fipsmodule/bn/div_extra.c", - "src/crypto/fipsmodule/bn/exponentiation.c", - "src/crypto/fipsmodule/bn/gcd.c", - "src/crypto/fipsmodule/bn/gcd_extra.c", - "src/crypto/fipsmodule/bn/generic.c", - "src/crypto/fipsmodule/bn/jacobi.c", - "src/crypto/fipsmodule/bn/montgomery.c", - "src/crypto/fipsmodule/bn/montgomery_inv.c", - "src/crypto/fipsmodule/bn/mul.c", - "src/crypto/fipsmodule/bn/prime.c", - "src/crypto/fipsmodule/bn/random.c", - "src/crypto/fipsmodule/bn/rsaz_exp.c", - "src/crypto/fipsmodule/bn/shift.c", - "src/crypto/fipsmodule/bn/sqrt.c", - "src/crypto/fipsmodule/cipher/aead.c", - "src/crypto/fipsmodule/cipher/cipher.c", - "src/crypto/fipsmodule/cipher/e_aes.c", - "src/crypto/fipsmodule/cipher/e_aesccm.c", - "src/crypto/fipsmodule/cmac/cmac.c", - "src/crypto/fipsmodule/dh/check.c", - "src/crypto/fipsmodule/dh/dh.c", - "src/crypto/fipsmodule/digest/digest.c", - "src/crypto/fipsmodule/digest/digests.c", - "src/crypto/fipsmodule/digestsign/digestsign.c", - "src/crypto/fipsmodule/ec/ec.c", - "src/crypto/fipsmodule/ec/ec_key.c", - "src/crypto/fipsmodule/ec/ec_montgomery.c", - "src/crypto/fipsmodule/ec/felem.c", - "src/crypto/fipsmodule/ec/oct.c", - "src/crypto/fipsmodule/ec/p224-64.c", - "src/crypto/fipsmodule/ec/p256-nistz.c", - "src/crypto/fipsmodule/ec/p256.c", - "src/crypto/fipsmodule/ec/scalar.c", - "src/crypto/fipsmodule/ec/simple.c", - "src/crypto/fipsmodule/ec/simple_mul.c", - "src/crypto/fipsmodule/ec/util.c", - "src/crypto/fipsmodule/ec/wnaf.c", - "src/crypto/fipsmodule/ecdh/ecdh.c", - "src/crypto/fipsmodule/ecdsa/ecdsa.c", - "src/crypto/fipsmodule/hkdf/hkdf.c", - "src/crypto/fipsmodule/hmac/hmac.c", - "src/crypto/fipsmodule/md4/md4.c", - "src/crypto/fipsmodule/md5/md5.c", - "src/crypto/fipsmodule/modes/cbc.c", - "src/crypto/fipsmodule/modes/cfb.c", - "src/crypto/fipsmodule/modes/ctr.c", - "src/crypto/fipsmodule/modes/gcm.c", - "src/crypto/fipsmodule/modes/gcm_nohw.c", - "src/crypto/fipsmodule/modes/ofb.c", - "src/crypto/fipsmodule/modes/polyval.c", - "src/crypto/fipsmodule/rand/ctrdrbg.c", - "src/crypto/fipsmodule/rand/rand.c", - "src/crypto/fipsmodule/rsa/blinding.c", - "src/crypto/fipsmodule/rsa/padding.c", - "src/crypto/fipsmodule/rsa/rsa.c", - "src/crypto/fipsmodule/rsa/rsa_impl.c", - "src/crypto/fipsmodule/self_check/fips.c", - "src/crypto/fipsmodule/self_check/self_check.c", - "src/crypto/fipsmodule/service_indicator/service_indicator.c", - "src/crypto/fipsmodule/sha/sha1.c", - "src/crypto/fipsmodule/sha/sha256.c", - "src/crypto/fipsmodule/sha/sha512.c", - "src/crypto/fipsmodule/tls/kdf.c", + "src/crypto/fipsmodule/aes/aes.c.inc", + "src/crypto/fipsmodule/aes/aes_nohw.c.inc", + "src/crypto/fipsmodule/aes/key_wrap.c.inc", + "src/crypto/fipsmodule/aes/mode_wrappers.c.inc", + "src/crypto/fipsmodule/bn/add.c.inc", + "src/crypto/fipsmodule/bn/asm/x86_64-gcc.c.inc", + "src/crypto/fipsmodule/bn/bn.c.inc", + "src/crypto/fipsmodule/bn/bytes.c.inc", + "src/crypto/fipsmodule/bn/cmp.c.inc", + "src/crypto/fipsmodule/bn/ctx.c.inc", + "src/crypto/fipsmodule/bn/div.c.inc", + "src/crypto/fipsmodule/bn/div_extra.c.inc", + "src/crypto/fipsmodule/bn/exponentiation.c.inc", + "src/crypto/fipsmodule/bn/gcd.c.inc", + "src/crypto/fipsmodule/bn/gcd_extra.c.inc", + "src/crypto/fipsmodule/bn/generic.c.inc", + "src/crypto/fipsmodule/bn/jacobi.c.inc", + "src/crypto/fipsmodule/bn/montgomery.c.inc", + "src/crypto/fipsmodule/bn/montgomery_inv.c.inc", + "src/crypto/fipsmodule/bn/mul.c.inc", + "src/crypto/fipsmodule/bn/prime.c.inc", + "src/crypto/fipsmodule/bn/random.c.inc", + "src/crypto/fipsmodule/bn/rsaz_exp.c.inc", + "src/crypto/fipsmodule/bn/shift.c.inc", + "src/crypto/fipsmodule/bn/sqrt.c.inc", + "src/crypto/fipsmodule/cipher/aead.c.inc", + "src/crypto/fipsmodule/cipher/cipher.c.inc", + "src/crypto/fipsmodule/cipher/e_aes.c.inc", + "src/crypto/fipsmodule/cipher/e_aesccm.c.inc", + "src/crypto/fipsmodule/cmac/cmac.c.inc", + "src/crypto/fipsmodule/dh/check.c.inc", + "src/crypto/fipsmodule/dh/dh.c.inc", + "src/crypto/fipsmodule/digest/digest.c.inc", + "src/crypto/fipsmodule/digest/digests.c.inc", + "src/crypto/fipsmodule/digestsign/digestsign.c.inc", + "src/crypto/fipsmodule/ec/ec.c.inc", + "src/crypto/fipsmodule/ec/ec_key.c.inc", + "src/crypto/fipsmodule/ec/ec_montgomery.c.inc", + "src/crypto/fipsmodule/ec/felem.c.inc", + "src/crypto/fipsmodule/ec/oct.c.inc", + "src/crypto/fipsmodule/ec/p224-64.c.inc", + "src/crypto/fipsmodule/ec/p256-nistz.c.inc", + "src/crypto/fipsmodule/ec/p256.c.inc", + "src/crypto/fipsmodule/ec/scalar.c.inc", + "src/crypto/fipsmodule/ec/simple.c.inc", + "src/crypto/fipsmodule/ec/simple_mul.c.inc", + "src/crypto/fipsmodule/ec/util.c.inc", + "src/crypto/fipsmodule/ec/wnaf.c.inc", + "src/crypto/fipsmodule/ecdh/ecdh.c.inc", + "src/crypto/fipsmodule/ecdsa/ecdsa.c.inc", + "src/crypto/fipsmodule/hkdf/hkdf.c.inc", + "src/crypto/fipsmodule/hmac/hmac.c.inc", + "src/crypto/fipsmodule/md4/md4.c.inc", + "src/crypto/fipsmodule/md5/md5.c.inc", + "src/crypto/fipsmodule/modes/cbc.c.inc", + "src/crypto/fipsmodule/modes/cfb.c.inc", + "src/crypto/fipsmodule/modes/ctr.c.inc", + "src/crypto/fipsmodule/modes/gcm.c.inc", + "src/crypto/fipsmodule/modes/gcm_nohw.c.inc", + "src/crypto/fipsmodule/modes/ofb.c.inc", + "src/crypto/fipsmodule/modes/polyval.c.inc", + "src/crypto/fipsmodule/rand/ctrdrbg.c.inc", + "src/crypto/fipsmodule/rand/rand.c.inc", + "src/crypto/fipsmodule/rsa/blinding.c.inc", + "src/crypto/fipsmodule/rsa/padding.c.inc", + "src/crypto/fipsmodule/rsa/rsa.c.inc", + "src/crypto/fipsmodule/rsa/rsa_impl.c.inc", + "src/crypto/fipsmodule/self_check/fips.c.inc", + "src/crypto/fipsmodule/self_check/self_check.c.inc", + "src/crypto/fipsmodule/service_indicator/service_indicator.c.inc", + "src/crypto/fipsmodule/sha/sha1.c.inc", + "src/crypto/fipsmodule/sha/sha256.c.inc", + "src/crypto/fipsmodule/sha/sha512.c.inc", + "src/crypto/fipsmodule/tls/kdf.c.inc", ] ssl_internal_headers = [ diff --git a/sources.json b/sources.json index 43fb0d73d..95c0a38e7 100644 --- a/sources.json +++ b/sources.json @@ -899,80 +899,80 @@ "src/third_party/wycheproof_testvectors/xchacha20_poly1305_test.txt" ], "fips_fragments": [ - "src/crypto/fipsmodule/aes/aes.c", - "src/crypto/fipsmodule/aes/aes_nohw.c", - "src/crypto/fipsmodule/aes/key_wrap.c", - "src/crypto/fipsmodule/aes/mode_wrappers.c", - "src/crypto/fipsmodule/bn/add.c", - "src/crypto/fipsmodule/bn/asm/x86_64-gcc.c", - "src/crypto/fipsmodule/bn/bn.c", - "src/crypto/fipsmodule/bn/bytes.c", - "src/crypto/fipsmodule/bn/cmp.c", - "src/crypto/fipsmodule/bn/ctx.c", - "src/crypto/fipsmodule/bn/div.c", - "src/crypto/fipsmodule/bn/div_extra.c", - "src/crypto/fipsmodule/bn/exponentiation.c", - "src/crypto/fipsmodule/bn/gcd.c", - "src/crypto/fipsmodule/bn/gcd_extra.c", - "src/crypto/fipsmodule/bn/generic.c", - "src/crypto/fipsmodule/bn/jacobi.c", - "src/crypto/fipsmodule/bn/montgomery.c", - "src/crypto/fipsmodule/bn/montgomery_inv.c", - "src/crypto/fipsmodule/bn/mul.c", - "src/crypto/fipsmodule/bn/prime.c", - "src/crypto/fipsmodule/bn/random.c", - "src/crypto/fipsmodule/bn/rsaz_exp.c", - "src/crypto/fipsmodule/bn/shift.c", - "src/crypto/fipsmodule/bn/sqrt.c", - "src/crypto/fipsmodule/cipher/aead.c", - "src/crypto/fipsmodule/cipher/cipher.c", - "src/crypto/fipsmodule/cipher/e_aes.c", - "src/crypto/fipsmodule/cipher/e_aesccm.c", - "src/crypto/fipsmodule/cmac/cmac.c", - "src/crypto/fipsmodule/dh/check.c", - "src/crypto/fipsmodule/dh/dh.c", - "src/crypto/fipsmodule/digest/digest.c", - "src/crypto/fipsmodule/digest/digests.c", - "src/crypto/fipsmodule/digestsign/digestsign.c", - "src/crypto/fipsmodule/ec/ec.c", - "src/crypto/fipsmodule/ec/ec_key.c", - "src/crypto/fipsmodule/ec/ec_montgomery.c", - "src/crypto/fipsmodule/ec/felem.c", - "src/crypto/fipsmodule/ec/oct.c", - "src/crypto/fipsmodule/ec/p224-64.c", - "src/crypto/fipsmodule/ec/p256-nistz.c", - "src/crypto/fipsmodule/ec/p256.c", - "src/crypto/fipsmodule/ec/scalar.c", - "src/crypto/fipsmodule/ec/simple.c", - "src/crypto/fipsmodule/ec/simple_mul.c", - "src/crypto/fipsmodule/ec/util.c", - "src/crypto/fipsmodule/ec/wnaf.c", - "src/crypto/fipsmodule/ecdh/ecdh.c", - "src/crypto/fipsmodule/ecdsa/ecdsa.c", - "src/crypto/fipsmodule/hkdf/hkdf.c", - "src/crypto/fipsmodule/hmac/hmac.c", - "src/crypto/fipsmodule/md4/md4.c", - "src/crypto/fipsmodule/md5/md5.c", - "src/crypto/fipsmodule/modes/cbc.c", - "src/crypto/fipsmodule/modes/cfb.c", - "src/crypto/fipsmodule/modes/ctr.c", - "src/crypto/fipsmodule/modes/gcm.c", - "src/crypto/fipsmodule/modes/gcm_nohw.c", - "src/crypto/fipsmodule/modes/ofb.c", - "src/crypto/fipsmodule/modes/polyval.c", - "src/crypto/fipsmodule/rand/ctrdrbg.c", - "src/crypto/fipsmodule/rand/rand.c", - "src/crypto/fipsmodule/rsa/blinding.c", - "src/crypto/fipsmodule/rsa/padding.c", - "src/crypto/fipsmodule/rsa/rsa.c", - "src/crypto/fipsmodule/rsa/rsa_impl.c", - "src/crypto/fipsmodule/self_check/fips.c", - "src/crypto/fipsmodule/self_check/self_check.c", - "src/crypto/fipsmodule/service_indicator/service_indicator.c", - "src/crypto/fipsmodule/sha/sha1.c", - "src/crypto/fipsmodule/sha/sha256.c", - "src/crypto/fipsmodule/sha/sha512.c", - "src/crypto/fipsmodule/tls/kdf.c" + "src/crypto/fipsmodule/aes/aes.c.inc", + "src/crypto/fipsmodule/aes/aes_nohw.c.inc", + "src/crypto/fipsmodule/aes/key_wrap.c.inc", + "src/crypto/fipsmodule/aes/mode_wrappers.c.inc", + "src/crypto/fipsmodule/bn/add.c.inc", + "src/crypto/fipsmodule/bn/asm/x86_64-gcc.c.inc", + "src/crypto/fipsmodule/bn/bn.c.inc", + "src/crypto/fipsmodule/bn/bytes.c.inc", + "src/crypto/fipsmodule/bn/cmp.c.inc", + "src/crypto/fipsmodule/bn/ctx.c.inc", + "src/crypto/fipsmodule/bn/div.c.inc", + "src/crypto/fipsmodule/bn/div_extra.c.inc", + "src/crypto/fipsmodule/bn/exponentiation.c.inc", + "src/crypto/fipsmodule/bn/gcd.c.inc", + "src/crypto/fipsmodule/bn/gcd_extra.c.inc", + "src/crypto/fipsmodule/bn/generic.c.inc", + "src/crypto/fipsmodule/bn/jacobi.c.inc", + "src/crypto/fipsmodule/bn/montgomery.c.inc", + "src/crypto/fipsmodule/bn/montgomery_inv.c.inc", + "src/crypto/fipsmodule/bn/mul.c.inc", + "src/crypto/fipsmodule/bn/prime.c.inc", + "src/crypto/fipsmodule/bn/random.c.inc", + "src/crypto/fipsmodule/bn/rsaz_exp.c.inc", + "src/crypto/fipsmodule/bn/shift.c.inc", + "src/crypto/fipsmodule/bn/sqrt.c.inc", + "src/crypto/fipsmodule/cipher/aead.c.inc", + "src/crypto/fipsmodule/cipher/cipher.c.inc", + "src/crypto/fipsmodule/cipher/e_aes.c.inc", + "src/crypto/fipsmodule/cipher/e_aesccm.c.inc", + "src/crypto/fipsmodule/cmac/cmac.c.inc", + "src/crypto/fipsmodule/dh/check.c.inc", + "src/crypto/fipsmodule/dh/dh.c.inc", + "src/crypto/fipsmodule/digest/digest.c.inc", + "src/crypto/fipsmodule/digest/digests.c.inc", + "src/crypto/fipsmodule/digestsign/digestsign.c.inc", + "src/crypto/fipsmodule/ec/ec.c.inc", + "src/crypto/fipsmodule/ec/ec_key.c.inc", + "src/crypto/fipsmodule/ec/ec_montgomery.c.inc", + "src/crypto/fipsmodule/ec/felem.c.inc", + "src/crypto/fipsmodule/ec/oct.c.inc", + "src/crypto/fipsmodule/ec/p224-64.c.inc", + "src/crypto/fipsmodule/ec/p256-nistz.c.inc", + "src/crypto/fipsmodule/ec/p256.c.inc", + "src/crypto/fipsmodule/ec/scalar.c.inc", + "src/crypto/fipsmodule/ec/simple.c.inc", + "src/crypto/fipsmodule/ec/simple_mul.c.inc", + "src/crypto/fipsmodule/ec/util.c.inc", + "src/crypto/fipsmodule/ec/wnaf.c.inc", + "src/crypto/fipsmodule/ecdh/ecdh.c.inc", + "src/crypto/fipsmodule/ecdsa/ecdsa.c.inc", + "src/crypto/fipsmodule/hkdf/hkdf.c.inc", + "src/crypto/fipsmodule/hmac/hmac.c.inc", + "src/crypto/fipsmodule/md4/md4.c.inc", + "src/crypto/fipsmodule/md5/md5.c.inc", + "src/crypto/fipsmodule/modes/cbc.c.inc", + "src/crypto/fipsmodule/modes/cfb.c.inc", + "src/crypto/fipsmodule/modes/ctr.c.inc", + "src/crypto/fipsmodule/modes/gcm.c.inc", + "src/crypto/fipsmodule/modes/gcm_nohw.c.inc", + "src/crypto/fipsmodule/modes/ofb.c.inc", + "src/crypto/fipsmodule/modes/polyval.c.inc", + "src/crypto/fipsmodule/rand/ctrdrbg.c.inc", + "src/crypto/fipsmodule/rand/rand.c.inc", + "src/crypto/fipsmodule/rsa/blinding.c.inc", + "src/crypto/fipsmodule/rsa/padding.c.inc", + "src/crypto/fipsmodule/rsa/rsa.c.inc", + "src/crypto/fipsmodule/rsa/rsa_impl.c.inc", + "src/crypto/fipsmodule/self_check/fips.c.inc", + "src/crypto/fipsmodule/self_check/self_check.c.inc", + "src/crypto/fipsmodule/service_indicator/service_indicator.c.inc", + "src/crypto/fipsmodule/sha/sha1.c.inc", + "src/crypto/fipsmodule/sha/sha256.c.inc", + "src/crypto/fipsmodule/sha/sha512.c.inc", + "src/crypto/fipsmodule/tls/kdf.c.inc" ], "fuzz": [ "src/fuzz/arm_cpuinfo.cc", diff --git a/src/build.json b/src/build.json index 4b80dfd4d..9ea699e70 100644 --- a/src/build.json +++ b/src/build.json @@ -16,80 +16,80 @@ "crypto/fipsmodule/bcm.c" ], "internal_hdrs": [ - "crypto/fipsmodule/aes/aes.c", - "crypto/fipsmodule/aes/aes_nohw.c", - "crypto/fipsmodule/aes/key_wrap.c", - "crypto/fipsmodule/aes/mode_wrappers.c", - "crypto/fipsmodule/bn/add.c", - "crypto/fipsmodule/bn/asm/x86_64-gcc.c", - "crypto/fipsmodule/bn/bn.c", - "crypto/fipsmodule/bn/bytes.c", - "crypto/fipsmodule/bn/cmp.c", - "crypto/fipsmodule/bn/ctx.c", - "crypto/fipsmodule/bn/div.c", - "crypto/fipsmodule/bn/div_extra.c", - "crypto/fipsmodule/bn/exponentiation.c", - "crypto/fipsmodule/bn/gcd.c", - "crypto/fipsmodule/bn/gcd_extra.c", - "crypto/fipsmodule/bn/generic.c", - "crypto/fipsmodule/bn/jacobi.c", - "crypto/fipsmodule/bn/montgomery.c", - "crypto/fipsmodule/bn/montgomery_inv.c", - "crypto/fipsmodule/bn/mul.c", - "crypto/fipsmodule/bn/prime.c", - "crypto/fipsmodule/bn/random.c", - "crypto/fipsmodule/bn/rsaz_exp.c", - "crypto/fipsmodule/bn/shift.c", - "crypto/fipsmodule/bn/sqrt.c", - "crypto/fipsmodule/cipher/aead.c", - "crypto/fipsmodule/cipher/cipher.c", - "crypto/fipsmodule/cipher/e_aes.c", - "crypto/fipsmodule/cipher/e_aesccm.c", - "crypto/fipsmodule/cmac/cmac.c", - "crypto/fipsmodule/dh/check.c", - "crypto/fipsmodule/dh/dh.c", - "crypto/fipsmodule/digest/digest.c", - "crypto/fipsmodule/digest/digests.c", - "crypto/fipsmodule/digestsign/digestsign.c", - "crypto/fipsmodule/ec/ec.c", - "crypto/fipsmodule/ec/ec_key.c", - "crypto/fipsmodule/ec/ec_montgomery.c", - "crypto/fipsmodule/ec/felem.c", - "crypto/fipsmodule/ec/oct.c", - "crypto/fipsmodule/ec/p224-64.c", - "crypto/fipsmodule/ec/p256-nistz.c", - "crypto/fipsmodule/ec/p256.c", - "crypto/fipsmodule/ec/scalar.c", - "crypto/fipsmodule/ec/simple.c", - "crypto/fipsmodule/ec/simple_mul.c", - "crypto/fipsmodule/ec/util.c", - "crypto/fipsmodule/ec/wnaf.c", - "crypto/fipsmodule/ecdh/ecdh.c", - "crypto/fipsmodule/ecdsa/ecdsa.c", - "crypto/fipsmodule/hkdf/hkdf.c", - "crypto/fipsmodule/hmac/hmac.c", - "crypto/fipsmodule/md4/md4.c", - "crypto/fipsmodule/md5/md5.c", - "crypto/fipsmodule/modes/cbc.c", - "crypto/fipsmodule/modes/cfb.c", - "crypto/fipsmodule/modes/ctr.c", - "crypto/fipsmodule/modes/gcm.c", - "crypto/fipsmodule/modes/gcm_nohw.c", - "crypto/fipsmodule/modes/ofb.c", - "crypto/fipsmodule/modes/polyval.c", - "crypto/fipsmodule/rand/ctrdrbg.c", - "crypto/fipsmodule/rand/rand.c", - "crypto/fipsmodule/rsa/blinding.c", - "crypto/fipsmodule/rsa/padding.c", - "crypto/fipsmodule/rsa/rsa.c", - "crypto/fipsmodule/rsa/rsa_impl.c", - "crypto/fipsmodule/self_check/fips.c", - "crypto/fipsmodule/self_check/self_check.c", - "crypto/fipsmodule/service_indicator/service_indicator.c", - "crypto/fipsmodule/sha/sha1.c", - "crypto/fipsmodule/sha/sha256.c", - "crypto/fipsmodule/sha/sha512.c", - "crypto/fipsmodule/tls/kdf.c" + "crypto/fipsmodule/aes/aes.c.inc", + "crypto/fipsmodule/aes/aes_nohw.c.inc", + "crypto/fipsmodule/aes/key_wrap.c.inc", + "crypto/fipsmodule/aes/mode_wrappers.c.inc", + "crypto/fipsmodule/bn/add.c.inc", + "crypto/fipsmodule/bn/asm/x86_64-gcc.c.inc", + "crypto/fipsmodule/bn/bn.c.inc", + "crypto/fipsmodule/bn/bytes.c.inc", + "crypto/fipsmodule/bn/cmp.c.inc", + "crypto/fipsmodule/bn/ctx.c.inc", + "crypto/fipsmodule/bn/div.c.inc", + "crypto/fipsmodule/bn/div_extra.c.inc", + "crypto/fipsmodule/bn/exponentiation.c.inc", + "crypto/fipsmodule/bn/gcd.c.inc", + "crypto/fipsmodule/bn/gcd_extra.c.inc", + "crypto/fipsmodule/bn/generic.c.inc", + "crypto/fipsmodule/bn/jacobi.c.inc", + "crypto/fipsmodule/bn/montgomery.c.inc", + "crypto/fipsmodule/bn/montgomery_inv.c.inc", + "crypto/fipsmodule/bn/mul.c.inc", + "crypto/fipsmodule/bn/prime.c.inc", + "crypto/fipsmodule/bn/random.c.inc", + "crypto/fipsmodule/bn/rsaz_exp.c.inc", + "crypto/fipsmodule/bn/shift.c.inc", + "crypto/fipsmodule/bn/sqrt.c.inc", + "crypto/fipsmodule/cipher/aead.c.inc", + "crypto/fipsmodule/cipher/cipher.c.inc", + "crypto/fipsmodule/cipher/e_aes.c.inc", + "crypto/fipsmodule/cipher/e_aesccm.c.inc", + "crypto/fipsmodule/cmac/cmac.c.inc", + "crypto/fipsmodule/dh/check.c.inc", + "crypto/fipsmodule/dh/dh.c.inc", + "crypto/fipsmodule/digest/digest.c.inc", + "crypto/fipsmodule/digest/digests.c.inc", + "crypto/fipsmodule/digestsign/digestsign.c.inc", + "crypto/fipsmodule/ec/ec.c.inc", + "crypto/fipsmodule/ec/ec_key.c.inc", + "crypto/fipsmodule/ec/ec_montgomery.c.inc", + "crypto/fipsmodule/ec/felem.c.inc", + "crypto/fipsmodule/ec/oct.c.inc", + "crypto/fipsmodule/ec/p224-64.c.inc", + "crypto/fipsmodule/ec/p256-nistz.c.inc", + "crypto/fipsmodule/ec/p256.c.inc", + "crypto/fipsmodule/ec/scalar.c.inc", + "crypto/fipsmodule/ec/simple.c.inc", + "crypto/fipsmodule/ec/simple_mul.c.inc", + "crypto/fipsmodule/ec/util.c.inc", + "crypto/fipsmodule/ec/wnaf.c.inc", + "crypto/fipsmodule/ecdh/ecdh.c.inc", + "crypto/fipsmodule/ecdsa/ecdsa.c.inc", + "crypto/fipsmodule/hkdf/hkdf.c.inc", + "crypto/fipsmodule/hmac/hmac.c.inc", + "crypto/fipsmodule/md4/md4.c.inc", + "crypto/fipsmodule/md5/md5.c.inc", + "crypto/fipsmodule/modes/cbc.c.inc", + "crypto/fipsmodule/modes/cfb.c.inc", + "crypto/fipsmodule/modes/ctr.c.inc", + "crypto/fipsmodule/modes/gcm.c.inc", + "crypto/fipsmodule/modes/gcm_nohw.c.inc", + "crypto/fipsmodule/modes/ofb.c.inc", + "crypto/fipsmodule/modes/polyval.c.inc", + "crypto/fipsmodule/rand/ctrdrbg.c.inc", + "crypto/fipsmodule/rand/rand.c.inc", + "crypto/fipsmodule/rsa/blinding.c.inc", + "crypto/fipsmodule/rsa/padding.c.inc", + "crypto/fipsmodule/rsa/rsa.c.inc", + "crypto/fipsmodule/rsa/rsa_impl.c.inc", + "crypto/fipsmodule/self_check/fips.c.inc", + "crypto/fipsmodule/self_check/self_check.c.inc", + "crypto/fipsmodule/service_indicator/service_indicator.c.inc", + "crypto/fipsmodule/sha/sha1.c.inc", + "crypto/fipsmodule/sha/sha256.c.inc", + "crypto/fipsmodule/sha/sha512.c.inc", + "crypto/fipsmodule/tls/kdf.c.inc" ], "asm": [ "third_party/fiat/asm/fiat_p256_adx_mul.S", diff --git a/src/crypto/fipsmodule/aes/aes.c b/src/crypto/fipsmodule/aes/aes.c.inc similarity index 100% rename from src/crypto/fipsmodule/aes/aes.c rename to src/crypto/fipsmodule/aes/aes.c.inc diff --git a/src/crypto/fipsmodule/aes/aes_nohw.c b/src/crypto/fipsmodule/aes/aes_nohw.c.inc similarity index 100% rename from src/crypto/fipsmodule/aes/aes_nohw.c rename to src/crypto/fipsmodule/aes/aes_nohw.c.inc diff --git a/src/crypto/fipsmodule/aes/key_wrap.c b/src/crypto/fipsmodule/aes/key_wrap.c.inc similarity index 100% rename from src/crypto/fipsmodule/aes/key_wrap.c rename to src/crypto/fipsmodule/aes/key_wrap.c.inc diff --git a/src/crypto/fipsmodule/aes/mode_wrappers.c b/src/crypto/fipsmodule/aes/mode_wrappers.c.inc similarity index 100% rename from src/crypto/fipsmodule/aes/mode_wrappers.c rename to src/crypto/fipsmodule/aes/mode_wrappers.c.inc diff --git a/src/crypto/fipsmodule/bcm.c b/src/crypto/fipsmodule/bcm.c index 4ec382bf3..fd6782571 100644 --- a/src/crypto/fipsmodule/bcm.c +++ b/src/crypto/fipsmodule/bcm.c @@ -31,80 +31,82 @@ #include "bcm_interface.h" #include "../internal.h" -#include "aes/aes.c" -#include "aes/aes_nohw.c" -#include "aes/key_wrap.c" -#include "aes/mode_wrappers.c" -#include "bn/add.c" -#include "bn/asm/x86_64-gcc.c" -#include "bn/bn.c" -#include "bn/bytes.c" -#include "bn/cmp.c" -#include "bn/ctx.c" -#include "bn/div.c" -#include "bn/div_extra.c" -#include "bn/exponentiation.c" -#include "bn/gcd.c" -#include "bn/gcd_extra.c" -#include "bn/generic.c" -#include "bn/jacobi.c" -#include "bn/montgomery.c" -#include "bn/montgomery_inv.c" -#include "bn/mul.c" -#include "bn/prime.c" -#include "bn/random.c" -#include "bn/rsaz_exp.c" -#include "bn/shift.c" -#include "bn/sqrt.c" -#include "cipher/aead.c" -#include "cipher/cipher.c" -#include "cipher/e_aes.c" -#include "cipher/e_aesccm.c" -#include "cmac/cmac.c" -#include "dh/check.c" -#include "dh/dh.c" -#include "digest/digest.c" -#include "digest/digests.c" -#include "digestsign/digestsign.c" -#include "ecdh/ecdh.c" -#include "ecdsa/ecdsa.c" -#include "ec/ec.c" -#include "ec/ec_key.c" -#include "ec/ec_montgomery.c" -#include "ec/felem.c" -#include "ec/oct.c" -#include "ec/p224-64.c" -#include "ec/p256.c" -#include "ec/p256-nistz.c" -#include "ec/scalar.c" -#include "ec/simple.c" -#include "ec/simple_mul.c" -#include "ec/util.c" -#include "ec/wnaf.c" -#include "hkdf/hkdf.c" -#include "hmac/hmac.c" -#include "md4/md4.c" -#include "md5/md5.c" -#include "modes/cbc.c" -#include "modes/cfb.c" -#include "modes/ctr.c" -#include "modes/gcm.c" -#include "modes/gcm_nohw.c" -#include "modes/ofb.c" -#include "modes/polyval.c" -#include "rand/ctrdrbg.c" -#include "rand/rand.c" -#include "rsa/blinding.c" -#include "rsa/padding.c" -#include "rsa/rsa.c" -#include "rsa/rsa_impl.c" -#include "self_check/fips.c" -#include "self_check/self_check.c" -#include "service_indicator/service_indicator.c" -#include "sha/sha1.c" -#include "sha/sha256.c" -#include "sha/sha512.c" -#include "tls/kdf.c" +// TODO(crbug.com/362530616): When delocate is removed, build these files as +// separate compilation units again. +#include "aes/aes.c.inc" +#include "aes/aes_nohw.c.inc" +#include "aes/key_wrap.c.inc" +#include "aes/mode_wrappers.c.inc" +#include "bn/add.c.inc" +#include "bn/asm/x86_64-gcc.c.inc" +#include "bn/bn.c.inc" +#include "bn/bytes.c.inc" +#include "bn/cmp.c.inc" +#include "bn/ctx.c.inc" +#include "bn/div.c.inc" +#include "bn/div_extra.c.inc" +#include "bn/exponentiation.c.inc" +#include "bn/gcd.c.inc" +#include "bn/gcd_extra.c.inc" +#include "bn/generic.c.inc" +#include "bn/jacobi.c.inc" +#include "bn/montgomery.c.inc" +#include "bn/montgomery_inv.c.inc" +#include "bn/mul.c.inc" +#include "bn/prime.c.inc" +#include "bn/random.c.inc" +#include "bn/rsaz_exp.c.inc" +#include "bn/shift.c.inc" +#include "bn/sqrt.c.inc" +#include "cipher/aead.c.inc" +#include "cipher/cipher.c.inc" +#include "cipher/e_aes.c.inc" +#include "cipher/e_aesccm.c.inc" +#include "cmac/cmac.c.inc" +#include "dh/check.c.inc" +#include "dh/dh.c.inc" +#include "digest/digest.c.inc" +#include "digest/digests.c.inc" +#include "digestsign/digestsign.c.inc" +#include "ecdh/ecdh.c.inc" +#include "ecdsa/ecdsa.c.inc" +#include "ec/ec.c.inc" +#include "ec/ec_key.c.inc" +#include "ec/ec_montgomery.c.inc" +#include "ec/felem.c.inc" +#include "ec/oct.c.inc" +#include "ec/p224-64.c.inc" +#include "ec/p256.c.inc" +#include "ec/p256-nistz.c.inc" +#include "ec/scalar.c.inc" +#include "ec/simple.c.inc" +#include "ec/simple_mul.c.inc" +#include "ec/util.c.inc" +#include "ec/wnaf.c.inc" +#include "hkdf/hkdf.c.inc" +#include "hmac/hmac.c.inc" +#include "md4/md4.c.inc" +#include "md5/md5.c.inc" +#include "modes/cbc.c.inc" +#include "modes/cfb.c.inc" +#include "modes/ctr.c.inc" +#include "modes/gcm.c.inc" +#include "modes/gcm_nohw.c.inc" +#include "modes/ofb.c.inc" +#include "modes/polyval.c.inc" +#include "rand/ctrdrbg.c.inc" +#include "rand/rand.c.inc" +#include "rsa/blinding.c.inc" +#include "rsa/padding.c.inc" +#include "rsa/rsa.c.inc" +#include "rsa/rsa_impl.c.inc" +#include "self_check/fips.c.inc" +#include "self_check/self_check.c.inc" +#include "service_indicator/service_indicator.c.inc" +#include "sha/sha1.c.inc" +#include "sha/sha256.c.inc" +#include "sha/sha512.c.inc" +#include "tls/kdf.c.inc" #if defined(BORINGSSL_FIPS) diff --git a/src/crypto/fipsmodule/bn/add.c b/src/crypto/fipsmodule/bn/add.c.inc similarity index 100% rename from src/crypto/fipsmodule/bn/add.c rename to src/crypto/fipsmodule/bn/add.c.inc diff --git a/src/crypto/fipsmodule/bn/asm/x86_64-gcc.c b/src/crypto/fipsmodule/bn/asm/x86_64-gcc.c.inc similarity index 100% rename from src/crypto/fipsmodule/bn/asm/x86_64-gcc.c rename to src/crypto/fipsmodule/bn/asm/x86_64-gcc.c.inc diff --git a/src/crypto/fipsmodule/bn/bn.c b/src/crypto/fipsmodule/bn/bn.c.inc similarity index 100% rename from src/crypto/fipsmodule/bn/bn.c rename to src/crypto/fipsmodule/bn/bn.c.inc diff --git a/src/crypto/fipsmodule/bn/bytes.c b/src/crypto/fipsmodule/bn/bytes.c.inc similarity index 100% rename from src/crypto/fipsmodule/bn/bytes.c rename to src/crypto/fipsmodule/bn/bytes.c.inc diff --git a/src/crypto/fipsmodule/bn/cmp.c b/src/crypto/fipsmodule/bn/cmp.c.inc similarity index 100% rename from src/crypto/fipsmodule/bn/cmp.c rename to src/crypto/fipsmodule/bn/cmp.c.inc diff --git a/src/crypto/fipsmodule/bn/ctx.c b/src/crypto/fipsmodule/bn/ctx.c.inc similarity index 100% rename from src/crypto/fipsmodule/bn/ctx.c rename to src/crypto/fipsmodule/bn/ctx.c.inc diff --git a/src/crypto/fipsmodule/bn/div.c b/src/crypto/fipsmodule/bn/div.c.inc similarity index 100% rename from src/crypto/fipsmodule/bn/div.c rename to src/crypto/fipsmodule/bn/div.c.inc diff --git a/src/crypto/fipsmodule/bn/div_extra.c b/src/crypto/fipsmodule/bn/div_extra.c.inc similarity index 100% rename from src/crypto/fipsmodule/bn/div_extra.c rename to src/crypto/fipsmodule/bn/div_extra.c.inc diff --git a/src/crypto/fipsmodule/bn/exponentiation.c b/src/crypto/fipsmodule/bn/exponentiation.c.inc similarity index 100% rename from src/crypto/fipsmodule/bn/exponentiation.c rename to src/crypto/fipsmodule/bn/exponentiation.c.inc diff --git a/src/crypto/fipsmodule/bn/gcd.c b/src/crypto/fipsmodule/bn/gcd.c.inc similarity index 100% rename from src/crypto/fipsmodule/bn/gcd.c rename to src/crypto/fipsmodule/bn/gcd.c.inc diff --git a/src/crypto/fipsmodule/bn/gcd_extra.c b/src/crypto/fipsmodule/bn/gcd_extra.c.inc similarity index 100% rename from src/crypto/fipsmodule/bn/gcd_extra.c rename to src/crypto/fipsmodule/bn/gcd_extra.c.inc diff --git a/src/crypto/fipsmodule/bn/generic.c b/src/crypto/fipsmodule/bn/generic.c.inc similarity index 100% rename from src/crypto/fipsmodule/bn/generic.c rename to src/crypto/fipsmodule/bn/generic.c.inc diff --git a/src/crypto/fipsmodule/bn/jacobi.c b/src/crypto/fipsmodule/bn/jacobi.c.inc similarity index 100% rename from src/crypto/fipsmodule/bn/jacobi.c rename to src/crypto/fipsmodule/bn/jacobi.c.inc diff --git a/src/crypto/fipsmodule/bn/montgomery.c b/src/crypto/fipsmodule/bn/montgomery.c.inc similarity index 100% rename from src/crypto/fipsmodule/bn/montgomery.c rename to src/crypto/fipsmodule/bn/montgomery.c.inc diff --git a/src/crypto/fipsmodule/bn/montgomery_inv.c b/src/crypto/fipsmodule/bn/montgomery_inv.c.inc similarity index 100% rename from src/crypto/fipsmodule/bn/montgomery_inv.c rename to src/crypto/fipsmodule/bn/montgomery_inv.c.inc diff --git a/src/crypto/fipsmodule/bn/mul.c b/src/crypto/fipsmodule/bn/mul.c.inc similarity index 100% rename from src/crypto/fipsmodule/bn/mul.c rename to src/crypto/fipsmodule/bn/mul.c.inc diff --git a/src/crypto/fipsmodule/bn/prime.c b/src/crypto/fipsmodule/bn/prime.c.inc similarity index 100% rename from src/crypto/fipsmodule/bn/prime.c rename to src/crypto/fipsmodule/bn/prime.c.inc diff --git a/src/crypto/fipsmodule/bn/random.c b/src/crypto/fipsmodule/bn/random.c.inc similarity index 100% rename from src/crypto/fipsmodule/bn/random.c rename to src/crypto/fipsmodule/bn/random.c.inc diff --git a/src/crypto/fipsmodule/bn/rsaz_exp.c b/src/crypto/fipsmodule/bn/rsaz_exp.c.inc similarity index 100% rename from src/crypto/fipsmodule/bn/rsaz_exp.c rename to src/crypto/fipsmodule/bn/rsaz_exp.c.inc diff --git a/src/crypto/fipsmodule/bn/shift.c b/src/crypto/fipsmodule/bn/shift.c.inc similarity index 100% rename from src/crypto/fipsmodule/bn/shift.c rename to src/crypto/fipsmodule/bn/shift.c.inc diff --git a/src/crypto/fipsmodule/bn/sqrt.c b/src/crypto/fipsmodule/bn/sqrt.c.inc similarity index 100% rename from src/crypto/fipsmodule/bn/sqrt.c rename to src/crypto/fipsmodule/bn/sqrt.c.inc diff --git a/src/crypto/fipsmodule/cipher/aead.c b/src/crypto/fipsmodule/cipher/aead.c.inc similarity index 100% rename from src/crypto/fipsmodule/cipher/aead.c rename to src/crypto/fipsmodule/cipher/aead.c.inc diff --git a/src/crypto/fipsmodule/cipher/cipher.c b/src/crypto/fipsmodule/cipher/cipher.c.inc similarity index 100% rename from src/crypto/fipsmodule/cipher/cipher.c rename to src/crypto/fipsmodule/cipher/cipher.c.inc diff --git a/src/crypto/fipsmodule/cipher/e_aes.c b/src/crypto/fipsmodule/cipher/e_aes.c.inc similarity index 100% rename from src/crypto/fipsmodule/cipher/e_aes.c rename to src/crypto/fipsmodule/cipher/e_aes.c.inc diff --git a/src/crypto/fipsmodule/cipher/e_aesccm.c b/src/crypto/fipsmodule/cipher/e_aesccm.c.inc similarity index 100% rename from src/crypto/fipsmodule/cipher/e_aesccm.c rename to src/crypto/fipsmodule/cipher/e_aesccm.c.inc diff --git a/src/crypto/fipsmodule/cmac/cmac.c b/src/crypto/fipsmodule/cmac/cmac.c.inc similarity index 100% rename from src/crypto/fipsmodule/cmac/cmac.c rename to src/crypto/fipsmodule/cmac/cmac.c.inc diff --git a/src/crypto/fipsmodule/dh/check.c b/src/crypto/fipsmodule/dh/check.c.inc similarity index 100% rename from src/crypto/fipsmodule/dh/check.c rename to src/crypto/fipsmodule/dh/check.c.inc diff --git a/src/crypto/fipsmodule/dh/dh.c b/src/crypto/fipsmodule/dh/dh.c.inc similarity index 100% rename from src/crypto/fipsmodule/dh/dh.c rename to src/crypto/fipsmodule/dh/dh.c.inc diff --git a/src/crypto/fipsmodule/digest/digest.c b/src/crypto/fipsmodule/digest/digest.c.inc similarity index 100% rename from src/crypto/fipsmodule/digest/digest.c rename to src/crypto/fipsmodule/digest/digest.c.inc diff --git a/src/crypto/fipsmodule/digest/digests.c b/src/crypto/fipsmodule/digest/digests.c.inc similarity index 100% rename from src/crypto/fipsmodule/digest/digests.c rename to src/crypto/fipsmodule/digest/digests.c.inc diff --git a/src/crypto/fipsmodule/digestsign/digestsign.c b/src/crypto/fipsmodule/digestsign/digestsign.c.inc similarity index 100% rename from src/crypto/fipsmodule/digestsign/digestsign.c rename to src/crypto/fipsmodule/digestsign/digestsign.c.inc diff --git a/src/crypto/fipsmodule/ec/ec.c b/src/crypto/fipsmodule/ec/ec.c.inc similarity index 100% rename from src/crypto/fipsmodule/ec/ec.c rename to src/crypto/fipsmodule/ec/ec.c.inc diff --git a/src/crypto/fipsmodule/ec/ec_key.c b/src/crypto/fipsmodule/ec/ec_key.c.inc similarity index 100% rename from src/crypto/fipsmodule/ec/ec_key.c rename to src/crypto/fipsmodule/ec/ec_key.c.inc diff --git a/src/crypto/fipsmodule/ec/ec_montgomery.c b/src/crypto/fipsmodule/ec/ec_montgomery.c.inc similarity index 100% rename from src/crypto/fipsmodule/ec/ec_montgomery.c rename to src/crypto/fipsmodule/ec/ec_montgomery.c.inc diff --git a/src/crypto/fipsmodule/ec/felem.c b/src/crypto/fipsmodule/ec/felem.c.inc similarity index 100% rename from src/crypto/fipsmodule/ec/felem.c rename to src/crypto/fipsmodule/ec/felem.c.inc diff --git a/src/crypto/fipsmodule/ec/oct.c b/src/crypto/fipsmodule/ec/oct.c.inc similarity index 100% rename from src/crypto/fipsmodule/ec/oct.c rename to src/crypto/fipsmodule/ec/oct.c.inc diff --git a/src/crypto/fipsmodule/ec/p224-64.c b/src/crypto/fipsmodule/ec/p224-64.c.inc similarity index 100% rename from src/crypto/fipsmodule/ec/p224-64.c rename to src/crypto/fipsmodule/ec/p224-64.c.inc diff --git a/src/crypto/fipsmodule/ec/p256-nistz.c b/src/crypto/fipsmodule/ec/p256-nistz.c.inc similarity index 100% rename from src/crypto/fipsmodule/ec/p256-nistz.c rename to src/crypto/fipsmodule/ec/p256-nistz.c.inc diff --git a/src/crypto/fipsmodule/ec/p256.c b/src/crypto/fipsmodule/ec/p256.c.inc similarity index 100% rename from src/crypto/fipsmodule/ec/p256.c rename to src/crypto/fipsmodule/ec/p256.c.inc diff --git a/src/crypto/fipsmodule/ec/scalar.c b/src/crypto/fipsmodule/ec/scalar.c.inc similarity index 100% rename from src/crypto/fipsmodule/ec/scalar.c rename to src/crypto/fipsmodule/ec/scalar.c.inc diff --git a/src/crypto/fipsmodule/ec/simple.c b/src/crypto/fipsmodule/ec/simple.c.inc similarity index 100% rename from src/crypto/fipsmodule/ec/simple.c rename to src/crypto/fipsmodule/ec/simple.c.inc diff --git a/src/crypto/fipsmodule/ec/simple_mul.c b/src/crypto/fipsmodule/ec/simple_mul.c.inc similarity index 100% rename from src/crypto/fipsmodule/ec/simple_mul.c rename to src/crypto/fipsmodule/ec/simple_mul.c.inc diff --git a/src/crypto/fipsmodule/ec/util.c b/src/crypto/fipsmodule/ec/util.c.inc similarity index 100% rename from src/crypto/fipsmodule/ec/util.c rename to src/crypto/fipsmodule/ec/util.c.inc diff --git a/src/crypto/fipsmodule/ec/wnaf.c b/src/crypto/fipsmodule/ec/wnaf.c.inc similarity index 100% rename from src/crypto/fipsmodule/ec/wnaf.c rename to src/crypto/fipsmodule/ec/wnaf.c.inc diff --git a/src/crypto/fipsmodule/ecdh/ecdh.c b/src/crypto/fipsmodule/ecdh/ecdh.c.inc similarity index 100% rename from src/crypto/fipsmodule/ecdh/ecdh.c rename to src/crypto/fipsmodule/ecdh/ecdh.c.inc diff --git a/src/crypto/fipsmodule/ecdsa/ecdsa.c b/src/crypto/fipsmodule/ecdsa/ecdsa.c.inc similarity index 100% rename from src/crypto/fipsmodule/ecdsa/ecdsa.c rename to src/crypto/fipsmodule/ecdsa/ecdsa.c.inc diff --git a/src/crypto/fipsmodule/hkdf/hkdf.c b/src/crypto/fipsmodule/hkdf/hkdf.c.inc similarity index 100% rename from src/crypto/fipsmodule/hkdf/hkdf.c rename to src/crypto/fipsmodule/hkdf/hkdf.c.inc diff --git a/src/crypto/fipsmodule/hmac/hmac.c b/src/crypto/fipsmodule/hmac/hmac.c.inc similarity index 100% rename from src/crypto/fipsmodule/hmac/hmac.c rename to src/crypto/fipsmodule/hmac/hmac.c.inc diff --git a/src/crypto/fipsmodule/md4/md4.c b/src/crypto/fipsmodule/md4/md4.c.inc similarity index 100% rename from src/crypto/fipsmodule/md4/md4.c rename to src/crypto/fipsmodule/md4/md4.c.inc diff --git a/src/crypto/fipsmodule/md5/md5.c b/src/crypto/fipsmodule/md5/md5.c.inc similarity index 100% rename from src/crypto/fipsmodule/md5/md5.c rename to src/crypto/fipsmodule/md5/md5.c.inc diff --git a/src/crypto/fipsmodule/modes/cbc.c b/src/crypto/fipsmodule/modes/cbc.c.inc similarity index 100% rename from src/crypto/fipsmodule/modes/cbc.c rename to src/crypto/fipsmodule/modes/cbc.c.inc diff --git a/src/crypto/fipsmodule/modes/cfb.c b/src/crypto/fipsmodule/modes/cfb.c.inc similarity index 100% rename from src/crypto/fipsmodule/modes/cfb.c rename to src/crypto/fipsmodule/modes/cfb.c.inc diff --git a/src/crypto/fipsmodule/modes/ctr.c b/src/crypto/fipsmodule/modes/ctr.c.inc similarity index 100% rename from src/crypto/fipsmodule/modes/ctr.c rename to src/crypto/fipsmodule/modes/ctr.c.inc diff --git a/src/crypto/fipsmodule/modes/gcm.c b/src/crypto/fipsmodule/modes/gcm.c.inc similarity index 100% rename from src/crypto/fipsmodule/modes/gcm.c rename to src/crypto/fipsmodule/modes/gcm.c.inc diff --git a/src/crypto/fipsmodule/modes/gcm_nohw.c b/src/crypto/fipsmodule/modes/gcm_nohw.c.inc similarity index 100% rename from src/crypto/fipsmodule/modes/gcm_nohw.c rename to src/crypto/fipsmodule/modes/gcm_nohw.c.inc diff --git a/src/crypto/fipsmodule/modes/ofb.c b/src/crypto/fipsmodule/modes/ofb.c.inc similarity index 100% rename from src/crypto/fipsmodule/modes/ofb.c rename to src/crypto/fipsmodule/modes/ofb.c.inc diff --git a/src/crypto/fipsmodule/modes/polyval.c b/src/crypto/fipsmodule/modes/polyval.c.inc similarity index 100% rename from src/crypto/fipsmodule/modes/polyval.c rename to src/crypto/fipsmodule/modes/polyval.c.inc diff --git a/src/crypto/fipsmodule/rand/ctrdrbg.c b/src/crypto/fipsmodule/rand/ctrdrbg.c.inc similarity index 100% rename from src/crypto/fipsmodule/rand/ctrdrbg.c rename to src/crypto/fipsmodule/rand/ctrdrbg.c.inc diff --git a/src/crypto/fipsmodule/rand/rand.c b/src/crypto/fipsmodule/rand/rand.c.inc similarity index 100% rename from src/crypto/fipsmodule/rand/rand.c rename to src/crypto/fipsmodule/rand/rand.c.inc diff --git a/src/crypto/fipsmodule/rsa/blinding.c b/src/crypto/fipsmodule/rsa/blinding.c.inc similarity index 100% rename from src/crypto/fipsmodule/rsa/blinding.c rename to src/crypto/fipsmodule/rsa/blinding.c.inc diff --git a/src/crypto/fipsmodule/rsa/padding.c b/src/crypto/fipsmodule/rsa/padding.c.inc similarity index 100% rename from src/crypto/fipsmodule/rsa/padding.c rename to src/crypto/fipsmodule/rsa/padding.c.inc diff --git a/src/crypto/fipsmodule/rsa/rsa.c b/src/crypto/fipsmodule/rsa/rsa.c.inc similarity index 100% rename from src/crypto/fipsmodule/rsa/rsa.c rename to src/crypto/fipsmodule/rsa/rsa.c.inc diff --git a/src/crypto/fipsmodule/rsa/rsa_impl.c b/src/crypto/fipsmodule/rsa/rsa_impl.c.inc similarity index 100% rename from src/crypto/fipsmodule/rsa/rsa_impl.c rename to src/crypto/fipsmodule/rsa/rsa_impl.c.inc diff --git a/src/crypto/fipsmodule/self_check/fips.c b/src/crypto/fipsmodule/self_check/fips.c.inc similarity index 100% rename from src/crypto/fipsmodule/self_check/fips.c rename to src/crypto/fipsmodule/self_check/fips.c.inc diff --git a/src/crypto/fipsmodule/self_check/self_check.c b/src/crypto/fipsmodule/self_check/self_check.c.inc similarity index 100% rename from src/crypto/fipsmodule/self_check/self_check.c rename to src/crypto/fipsmodule/self_check/self_check.c.inc diff --git a/src/crypto/fipsmodule/service_indicator/service_indicator.c b/src/crypto/fipsmodule/service_indicator/service_indicator.c.inc similarity index 100% rename from src/crypto/fipsmodule/service_indicator/service_indicator.c rename to src/crypto/fipsmodule/service_indicator/service_indicator.c.inc diff --git a/src/crypto/fipsmodule/sha/sha1.c b/src/crypto/fipsmodule/sha/sha1.c.inc similarity index 100% rename from src/crypto/fipsmodule/sha/sha1.c rename to src/crypto/fipsmodule/sha/sha1.c.inc diff --git a/src/crypto/fipsmodule/sha/sha256.c b/src/crypto/fipsmodule/sha/sha256.c.inc similarity index 100% rename from src/crypto/fipsmodule/sha/sha256.c rename to src/crypto/fipsmodule/sha/sha256.c.inc diff --git a/src/crypto/fipsmodule/sha/sha512.c b/src/crypto/fipsmodule/sha/sha512.c.inc similarity index 100% rename from src/crypto/fipsmodule/sha/sha512.c rename to src/crypto/fipsmodule/sha/sha512.c.inc diff --git a/src/crypto/fipsmodule/tls/kdf.c b/src/crypto/fipsmodule/tls/kdf.c.inc similarity index 100% rename from src/crypto/fipsmodule/tls/kdf.c rename to src/crypto/fipsmodule/tls/kdf.c.inc diff --git a/src/gen/sources.bzl b/src/gen/sources.bzl index e1b23601b..8ea8f744d 100644 --- a/src/gen/sources.bzl +++ b/src/gen/sources.bzl @@ -19,80 +19,80 @@ bcm_sources = [ ] bcm_internal_headers = [ - "crypto/fipsmodule/aes/aes.c", - "crypto/fipsmodule/aes/aes_nohw.c", - "crypto/fipsmodule/aes/key_wrap.c", - "crypto/fipsmodule/aes/mode_wrappers.c", - "crypto/fipsmodule/bn/add.c", - "crypto/fipsmodule/bn/asm/x86_64-gcc.c", - "crypto/fipsmodule/bn/bn.c", - "crypto/fipsmodule/bn/bytes.c", - "crypto/fipsmodule/bn/cmp.c", - "crypto/fipsmodule/bn/ctx.c", - "crypto/fipsmodule/bn/div.c", - "crypto/fipsmodule/bn/div_extra.c", - "crypto/fipsmodule/bn/exponentiation.c", - "crypto/fipsmodule/bn/gcd.c", - "crypto/fipsmodule/bn/gcd_extra.c", - "crypto/fipsmodule/bn/generic.c", - "crypto/fipsmodule/bn/jacobi.c", - "crypto/fipsmodule/bn/montgomery.c", - "crypto/fipsmodule/bn/montgomery_inv.c", - "crypto/fipsmodule/bn/mul.c", - "crypto/fipsmodule/bn/prime.c", - "crypto/fipsmodule/bn/random.c", - "crypto/fipsmodule/bn/rsaz_exp.c", - "crypto/fipsmodule/bn/shift.c", - "crypto/fipsmodule/bn/sqrt.c", - "crypto/fipsmodule/cipher/aead.c", - "crypto/fipsmodule/cipher/cipher.c", - "crypto/fipsmodule/cipher/e_aes.c", - "crypto/fipsmodule/cipher/e_aesccm.c", - "crypto/fipsmodule/cmac/cmac.c", - "crypto/fipsmodule/dh/check.c", - "crypto/fipsmodule/dh/dh.c", - "crypto/fipsmodule/digest/digest.c", - "crypto/fipsmodule/digest/digests.c", - "crypto/fipsmodule/digestsign/digestsign.c", - "crypto/fipsmodule/ec/ec.c", - "crypto/fipsmodule/ec/ec_key.c", - "crypto/fipsmodule/ec/ec_montgomery.c", - "crypto/fipsmodule/ec/felem.c", - "crypto/fipsmodule/ec/oct.c", - "crypto/fipsmodule/ec/p224-64.c", - "crypto/fipsmodule/ec/p256-nistz.c", - "crypto/fipsmodule/ec/p256.c", - "crypto/fipsmodule/ec/scalar.c", - "crypto/fipsmodule/ec/simple.c", - "crypto/fipsmodule/ec/simple_mul.c", - "crypto/fipsmodule/ec/util.c", - "crypto/fipsmodule/ec/wnaf.c", - "crypto/fipsmodule/ecdh/ecdh.c", - "crypto/fipsmodule/ecdsa/ecdsa.c", - "crypto/fipsmodule/hkdf/hkdf.c", - "crypto/fipsmodule/hmac/hmac.c", - "crypto/fipsmodule/md4/md4.c", - "crypto/fipsmodule/md5/md5.c", - "crypto/fipsmodule/modes/cbc.c", - "crypto/fipsmodule/modes/cfb.c", - "crypto/fipsmodule/modes/ctr.c", - "crypto/fipsmodule/modes/gcm.c", - "crypto/fipsmodule/modes/gcm_nohw.c", - "crypto/fipsmodule/modes/ofb.c", - "crypto/fipsmodule/modes/polyval.c", - "crypto/fipsmodule/rand/ctrdrbg.c", - "crypto/fipsmodule/rand/rand.c", - "crypto/fipsmodule/rsa/blinding.c", - "crypto/fipsmodule/rsa/padding.c", - "crypto/fipsmodule/rsa/rsa.c", - "crypto/fipsmodule/rsa/rsa_impl.c", - "crypto/fipsmodule/self_check/fips.c", - "crypto/fipsmodule/self_check/self_check.c", - "crypto/fipsmodule/service_indicator/service_indicator.c", - "crypto/fipsmodule/sha/sha1.c", - "crypto/fipsmodule/sha/sha256.c", - "crypto/fipsmodule/sha/sha512.c", - "crypto/fipsmodule/tls/kdf.c", + "crypto/fipsmodule/aes/aes.c.inc", + "crypto/fipsmodule/aes/aes_nohw.c.inc", + "crypto/fipsmodule/aes/key_wrap.c.inc", + "crypto/fipsmodule/aes/mode_wrappers.c.inc", + "crypto/fipsmodule/bn/add.c.inc", + "crypto/fipsmodule/bn/asm/x86_64-gcc.c.inc", + "crypto/fipsmodule/bn/bn.c.inc", + "crypto/fipsmodule/bn/bytes.c.inc", + "crypto/fipsmodule/bn/cmp.c.inc", + "crypto/fipsmodule/bn/ctx.c.inc", + "crypto/fipsmodule/bn/div.c.inc", + "crypto/fipsmodule/bn/div_extra.c.inc", + "crypto/fipsmodule/bn/exponentiation.c.inc", + "crypto/fipsmodule/bn/gcd.c.inc", + "crypto/fipsmodule/bn/gcd_extra.c.inc", + "crypto/fipsmodule/bn/generic.c.inc", + "crypto/fipsmodule/bn/jacobi.c.inc", + "crypto/fipsmodule/bn/montgomery.c.inc", + "crypto/fipsmodule/bn/montgomery_inv.c.inc", + "crypto/fipsmodule/bn/mul.c.inc", + "crypto/fipsmodule/bn/prime.c.inc", + "crypto/fipsmodule/bn/random.c.inc", + "crypto/fipsmodule/bn/rsaz_exp.c.inc", + "crypto/fipsmodule/bn/shift.c.inc", + "crypto/fipsmodule/bn/sqrt.c.inc", + "crypto/fipsmodule/cipher/aead.c.inc", + "crypto/fipsmodule/cipher/cipher.c.inc", + "crypto/fipsmodule/cipher/e_aes.c.inc", + "crypto/fipsmodule/cipher/e_aesccm.c.inc", + "crypto/fipsmodule/cmac/cmac.c.inc", + "crypto/fipsmodule/dh/check.c.inc", + "crypto/fipsmodule/dh/dh.c.inc", + "crypto/fipsmodule/digest/digest.c.inc", + "crypto/fipsmodule/digest/digests.c.inc", + "crypto/fipsmodule/digestsign/digestsign.c.inc", + "crypto/fipsmodule/ec/ec.c.inc", + "crypto/fipsmodule/ec/ec_key.c.inc", + "crypto/fipsmodule/ec/ec_montgomery.c.inc", + "crypto/fipsmodule/ec/felem.c.inc", + "crypto/fipsmodule/ec/oct.c.inc", + "crypto/fipsmodule/ec/p224-64.c.inc", + "crypto/fipsmodule/ec/p256-nistz.c.inc", + "crypto/fipsmodule/ec/p256.c.inc", + "crypto/fipsmodule/ec/scalar.c.inc", + "crypto/fipsmodule/ec/simple.c.inc", + "crypto/fipsmodule/ec/simple_mul.c.inc", + "crypto/fipsmodule/ec/util.c.inc", + "crypto/fipsmodule/ec/wnaf.c.inc", + "crypto/fipsmodule/ecdh/ecdh.c.inc", + "crypto/fipsmodule/ecdsa/ecdsa.c.inc", + "crypto/fipsmodule/hkdf/hkdf.c.inc", + "crypto/fipsmodule/hmac/hmac.c.inc", + "crypto/fipsmodule/md4/md4.c.inc", + "crypto/fipsmodule/md5/md5.c.inc", + "crypto/fipsmodule/modes/cbc.c.inc", + "crypto/fipsmodule/modes/cfb.c.inc", + "crypto/fipsmodule/modes/ctr.c.inc", + "crypto/fipsmodule/modes/gcm.c.inc", + "crypto/fipsmodule/modes/gcm_nohw.c.inc", + "crypto/fipsmodule/modes/ofb.c.inc", + "crypto/fipsmodule/modes/polyval.c.inc", + "crypto/fipsmodule/rand/ctrdrbg.c.inc", + "crypto/fipsmodule/rand/rand.c.inc", + "crypto/fipsmodule/rsa/blinding.c.inc", + "crypto/fipsmodule/rsa/padding.c.inc", + "crypto/fipsmodule/rsa/rsa.c.inc", + "crypto/fipsmodule/rsa/rsa_impl.c.inc", + "crypto/fipsmodule/self_check/fips.c.inc", + "crypto/fipsmodule/self_check/self_check.c.inc", + "crypto/fipsmodule/service_indicator/service_indicator.c.inc", + "crypto/fipsmodule/sha/sha1.c.inc", + "crypto/fipsmodule/sha/sha256.c.inc", + "crypto/fipsmodule/sha/sha512.c.inc", + "crypto/fipsmodule/tls/kdf.c.inc", ] bcm_sources_asm = [ diff --git a/src/gen/sources.cmake b/src/gen/sources.cmake index eb22684e6..e3245c154 100644 --- a/src/gen/sources.cmake +++ b/src/gen/sources.cmake @@ -23,80 +23,80 @@ set( set( BCM_INTERNAL_HEADERS - crypto/fipsmodule/aes/aes.c - crypto/fipsmodule/aes/aes_nohw.c - crypto/fipsmodule/aes/key_wrap.c - crypto/fipsmodule/aes/mode_wrappers.c - crypto/fipsmodule/bn/add.c - crypto/fipsmodule/bn/asm/x86_64-gcc.c - crypto/fipsmodule/bn/bn.c - crypto/fipsmodule/bn/bytes.c - crypto/fipsmodule/bn/cmp.c - crypto/fipsmodule/bn/ctx.c - crypto/fipsmodule/bn/div.c - crypto/fipsmodule/bn/div_extra.c - crypto/fipsmodule/bn/exponentiation.c - crypto/fipsmodule/bn/gcd.c - crypto/fipsmodule/bn/gcd_extra.c - crypto/fipsmodule/bn/generic.c - crypto/fipsmodule/bn/jacobi.c - crypto/fipsmodule/bn/montgomery.c - crypto/fipsmodule/bn/montgomery_inv.c - crypto/fipsmodule/bn/mul.c - crypto/fipsmodule/bn/prime.c - crypto/fipsmodule/bn/random.c - crypto/fipsmodule/bn/rsaz_exp.c - crypto/fipsmodule/bn/shift.c - crypto/fipsmodule/bn/sqrt.c - crypto/fipsmodule/cipher/aead.c - crypto/fipsmodule/cipher/cipher.c - crypto/fipsmodule/cipher/e_aes.c - crypto/fipsmodule/cipher/e_aesccm.c - crypto/fipsmodule/cmac/cmac.c - crypto/fipsmodule/dh/check.c - crypto/fipsmodule/dh/dh.c - crypto/fipsmodule/digest/digest.c - crypto/fipsmodule/digest/digests.c - crypto/fipsmodule/digestsign/digestsign.c - crypto/fipsmodule/ec/ec.c - crypto/fipsmodule/ec/ec_key.c - crypto/fipsmodule/ec/ec_montgomery.c - crypto/fipsmodule/ec/felem.c - crypto/fipsmodule/ec/oct.c - crypto/fipsmodule/ec/p224-64.c - crypto/fipsmodule/ec/p256-nistz.c - crypto/fipsmodule/ec/p256.c - crypto/fipsmodule/ec/scalar.c - crypto/fipsmodule/ec/simple.c - crypto/fipsmodule/ec/simple_mul.c - crypto/fipsmodule/ec/util.c - crypto/fipsmodule/ec/wnaf.c - crypto/fipsmodule/ecdh/ecdh.c - crypto/fipsmodule/ecdsa/ecdsa.c - crypto/fipsmodule/hkdf/hkdf.c - crypto/fipsmodule/hmac/hmac.c - crypto/fipsmodule/md4/md4.c - crypto/fipsmodule/md5/md5.c - crypto/fipsmodule/modes/cbc.c - crypto/fipsmodule/modes/cfb.c - crypto/fipsmodule/modes/ctr.c - crypto/fipsmodule/modes/gcm.c - crypto/fipsmodule/modes/gcm_nohw.c - crypto/fipsmodule/modes/ofb.c - crypto/fipsmodule/modes/polyval.c - crypto/fipsmodule/rand/ctrdrbg.c - crypto/fipsmodule/rand/rand.c - crypto/fipsmodule/rsa/blinding.c - crypto/fipsmodule/rsa/padding.c - crypto/fipsmodule/rsa/rsa.c - crypto/fipsmodule/rsa/rsa_impl.c - crypto/fipsmodule/self_check/fips.c - crypto/fipsmodule/self_check/self_check.c - crypto/fipsmodule/service_indicator/service_indicator.c - crypto/fipsmodule/sha/sha1.c - crypto/fipsmodule/sha/sha256.c - crypto/fipsmodule/sha/sha512.c - crypto/fipsmodule/tls/kdf.c + crypto/fipsmodule/aes/aes.c.inc + crypto/fipsmodule/aes/aes_nohw.c.inc + crypto/fipsmodule/aes/key_wrap.c.inc + crypto/fipsmodule/aes/mode_wrappers.c.inc + crypto/fipsmodule/bn/add.c.inc + crypto/fipsmodule/bn/asm/x86_64-gcc.c.inc + crypto/fipsmodule/bn/bn.c.inc + crypto/fipsmodule/bn/bytes.c.inc + crypto/fipsmodule/bn/cmp.c.inc + crypto/fipsmodule/bn/ctx.c.inc + crypto/fipsmodule/bn/div.c.inc + crypto/fipsmodule/bn/div_extra.c.inc + crypto/fipsmodule/bn/exponentiation.c.inc + crypto/fipsmodule/bn/gcd.c.inc + crypto/fipsmodule/bn/gcd_extra.c.inc + crypto/fipsmodule/bn/generic.c.inc + crypto/fipsmodule/bn/jacobi.c.inc + crypto/fipsmodule/bn/montgomery.c.inc + crypto/fipsmodule/bn/montgomery_inv.c.inc + crypto/fipsmodule/bn/mul.c.inc + crypto/fipsmodule/bn/prime.c.inc + crypto/fipsmodule/bn/random.c.inc + crypto/fipsmodule/bn/rsaz_exp.c.inc + crypto/fipsmodule/bn/shift.c.inc + crypto/fipsmodule/bn/sqrt.c.inc + crypto/fipsmodule/cipher/aead.c.inc + crypto/fipsmodule/cipher/cipher.c.inc + crypto/fipsmodule/cipher/e_aes.c.inc + crypto/fipsmodule/cipher/e_aesccm.c.inc + crypto/fipsmodule/cmac/cmac.c.inc + crypto/fipsmodule/dh/check.c.inc + crypto/fipsmodule/dh/dh.c.inc + crypto/fipsmodule/digest/digest.c.inc + crypto/fipsmodule/digest/digests.c.inc + crypto/fipsmodule/digestsign/digestsign.c.inc + crypto/fipsmodule/ec/ec.c.inc + crypto/fipsmodule/ec/ec_key.c.inc + crypto/fipsmodule/ec/ec_montgomery.c.inc + crypto/fipsmodule/ec/felem.c.inc + crypto/fipsmodule/ec/oct.c.inc + crypto/fipsmodule/ec/p224-64.c.inc + crypto/fipsmodule/ec/p256-nistz.c.inc + crypto/fipsmodule/ec/p256.c.inc + crypto/fipsmodule/ec/scalar.c.inc + crypto/fipsmodule/ec/simple.c.inc + crypto/fipsmodule/ec/simple_mul.c.inc + crypto/fipsmodule/ec/util.c.inc + crypto/fipsmodule/ec/wnaf.c.inc + crypto/fipsmodule/ecdh/ecdh.c.inc + crypto/fipsmodule/ecdsa/ecdsa.c.inc + crypto/fipsmodule/hkdf/hkdf.c.inc + crypto/fipsmodule/hmac/hmac.c.inc + crypto/fipsmodule/md4/md4.c.inc + crypto/fipsmodule/md5/md5.c.inc + crypto/fipsmodule/modes/cbc.c.inc + crypto/fipsmodule/modes/cfb.c.inc + crypto/fipsmodule/modes/ctr.c.inc + crypto/fipsmodule/modes/gcm.c.inc + crypto/fipsmodule/modes/gcm_nohw.c.inc + crypto/fipsmodule/modes/ofb.c.inc + crypto/fipsmodule/modes/polyval.c.inc + crypto/fipsmodule/rand/ctrdrbg.c.inc + crypto/fipsmodule/rand/rand.c.inc + crypto/fipsmodule/rsa/blinding.c.inc + crypto/fipsmodule/rsa/padding.c.inc + crypto/fipsmodule/rsa/rsa.c.inc + crypto/fipsmodule/rsa/rsa_impl.c.inc + crypto/fipsmodule/self_check/fips.c.inc + crypto/fipsmodule/self_check/self_check.c.inc + crypto/fipsmodule/service_indicator/service_indicator.c.inc + crypto/fipsmodule/sha/sha1.c.inc + crypto/fipsmodule/sha/sha256.c.inc + crypto/fipsmodule/sha/sha512.c.inc + crypto/fipsmodule/tls/kdf.c.inc ) set( diff --git a/src/gen/sources.gni b/src/gen/sources.gni index 71fdebaeb..292b2f1c9 100644 --- a/src/gen/sources.gni +++ b/src/gen/sources.gni @@ -19,80 +19,80 @@ bcm_sources = [ ] bcm_internal_headers = [ - "crypto/fipsmodule/aes/aes.c", - "crypto/fipsmodule/aes/aes_nohw.c", - "crypto/fipsmodule/aes/key_wrap.c", - "crypto/fipsmodule/aes/mode_wrappers.c", - "crypto/fipsmodule/bn/add.c", - "crypto/fipsmodule/bn/asm/x86_64-gcc.c", - "crypto/fipsmodule/bn/bn.c", - "crypto/fipsmodule/bn/bytes.c", - "crypto/fipsmodule/bn/cmp.c", - "crypto/fipsmodule/bn/ctx.c", - "crypto/fipsmodule/bn/div.c", - "crypto/fipsmodule/bn/div_extra.c", - "crypto/fipsmodule/bn/exponentiation.c", - "crypto/fipsmodule/bn/gcd.c", - "crypto/fipsmodule/bn/gcd_extra.c", - "crypto/fipsmodule/bn/generic.c", - "crypto/fipsmodule/bn/jacobi.c", - "crypto/fipsmodule/bn/montgomery.c", - "crypto/fipsmodule/bn/montgomery_inv.c", - "crypto/fipsmodule/bn/mul.c", - "crypto/fipsmodule/bn/prime.c", - "crypto/fipsmodule/bn/random.c", - "crypto/fipsmodule/bn/rsaz_exp.c", - "crypto/fipsmodule/bn/shift.c", - "crypto/fipsmodule/bn/sqrt.c", - "crypto/fipsmodule/cipher/aead.c", - "crypto/fipsmodule/cipher/cipher.c", - "crypto/fipsmodule/cipher/e_aes.c", - "crypto/fipsmodule/cipher/e_aesccm.c", - "crypto/fipsmodule/cmac/cmac.c", - "crypto/fipsmodule/dh/check.c", - "crypto/fipsmodule/dh/dh.c", - "crypto/fipsmodule/digest/digest.c", - "crypto/fipsmodule/digest/digests.c", - "crypto/fipsmodule/digestsign/digestsign.c", - "crypto/fipsmodule/ec/ec.c", - "crypto/fipsmodule/ec/ec_key.c", - "crypto/fipsmodule/ec/ec_montgomery.c", - "crypto/fipsmodule/ec/felem.c", - "crypto/fipsmodule/ec/oct.c", - "crypto/fipsmodule/ec/p224-64.c", - "crypto/fipsmodule/ec/p256-nistz.c", - "crypto/fipsmodule/ec/p256.c", - "crypto/fipsmodule/ec/scalar.c", - "crypto/fipsmodule/ec/simple.c", - "crypto/fipsmodule/ec/simple_mul.c", - "crypto/fipsmodule/ec/util.c", - "crypto/fipsmodule/ec/wnaf.c", - "crypto/fipsmodule/ecdh/ecdh.c", - "crypto/fipsmodule/ecdsa/ecdsa.c", - "crypto/fipsmodule/hkdf/hkdf.c", - "crypto/fipsmodule/hmac/hmac.c", - "crypto/fipsmodule/md4/md4.c", - "crypto/fipsmodule/md5/md5.c", - "crypto/fipsmodule/modes/cbc.c", - "crypto/fipsmodule/modes/cfb.c", - "crypto/fipsmodule/modes/ctr.c", - "crypto/fipsmodule/modes/gcm.c", - "crypto/fipsmodule/modes/gcm_nohw.c", - "crypto/fipsmodule/modes/ofb.c", - "crypto/fipsmodule/modes/polyval.c", - "crypto/fipsmodule/rand/ctrdrbg.c", - "crypto/fipsmodule/rand/rand.c", - "crypto/fipsmodule/rsa/blinding.c", - "crypto/fipsmodule/rsa/padding.c", - "crypto/fipsmodule/rsa/rsa.c", - "crypto/fipsmodule/rsa/rsa_impl.c", - "crypto/fipsmodule/self_check/fips.c", - "crypto/fipsmodule/self_check/self_check.c", - "crypto/fipsmodule/service_indicator/service_indicator.c", - "crypto/fipsmodule/sha/sha1.c", - "crypto/fipsmodule/sha/sha256.c", - "crypto/fipsmodule/sha/sha512.c", - "crypto/fipsmodule/tls/kdf.c", + "crypto/fipsmodule/aes/aes.c.inc", + "crypto/fipsmodule/aes/aes_nohw.c.inc", + "crypto/fipsmodule/aes/key_wrap.c.inc", + "crypto/fipsmodule/aes/mode_wrappers.c.inc", + "crypto/fipsmodule/bn/add.c.inc", + "crypto/fipsmodule/bn/asm/x86_64-gcc.c.inc", + "crypto/fipsmodule/bn/bn.c.inc", + "crypto/fipsmodule/bn/bytes.c.inc", + "crypto/fipsmodule/bn/cmp.c.inc", + "crypto/fipsmodule/bn/ctx.c.inc", + "crypto/fipsmodule/bn/div.c.inc", + "crypto/fipsmodule/bn/div_extra.c.inc", + "crypto/fipsmodule/bn/exponentiation.c.inc", + "crypto/fipsmodule/bn/gcd.c.inc", + "crypto/fipsmodule/bn/gcd_extra.c.inc", + "crypto/fipsmodule/bn/generic.c.inc", + "crypto/fipsmodule/bn/jacobi.c.inc", + "crypto/fipsmodule/bn/montgomery.c.inc", + "crypto/fipsmodule/bn/montgomery_inv.c.inc", + "crypto/fipsmodule/bn/mul.c.inc", + "crypto/fipsmodule/bn/prime.c.inc", + "crypto/fipsmodule/bn/random.c.inc", + "crypto/fipsmodule/bn/rsaz_exp.c.inc", + "crypto/fipsmodule/bn/shift.c.inc", + "crypto/fipsmodule/bn/sqrt.c.inc", + "crypto/fipsmodule/cipher/aead.c.inc", + "crypto/fipsmodule/cipher/cipher.c.inc", + "crypto/fipsmodule/cipher/e_aes.c.inc", + "crypto/fipsmodule/cipher/e_aesccm.c.inc", + "crypto/fipsmodule/cmac/cmac.c.inc", + "crypto/fipsmodule/dh/check.c.inc", + "crypto/fipsmodule/dh/dh.c.inc", + "crypto/fipsmodule/digest/digest.c.inc", + "crypto/fipsmodule/digest/digests.c.inc", + "crypto/fipsmodule/digestsign/digestsign.c.inc", + "crypto/fipsmodule/ec/ec.c.inc", + "crypto/fipsmodule/ec/ec_key.c.inc", + "crypto/fipsmodule/ec/ec_montgomery.c.inc", + "crypto/fipsmodule/ec/felem.c.inc", + "crypto/fipsmodule/ec/oct.c.inc", + "crypto/fipsmodule/ec/p224-64.c.inc", + "crypto/fipsmodule/ec/p256-nistz.c.inc", + "crypto/fipsmodule/ec/p256.c.inc", + "crypto/fipsmodule/ec/scalar.c.inc", + "crypto/fipsmodule/ec/simple.c.inc", + "crypto/fipsmodule/ec/simple_mul.c.inc", + "crypto/fipsmodule/ec/util.c.inc", + "crypto/fipsmodule/ec/wnaf.c.inc", + "crypto/fipsmodule/ecdh/ecdh.c.inc", + "crypto/fipsmodule/ecdsa/ecdsa.c.inc", + "crypto/fipsmodule/hkdf/hkdf.c.inc", + "crypto/fipsmodule/hmac/hmac.c.inc", + "crypto/fipsmodule/md4/md4.c.inc", + "crypto/fipsmodule/md5/md5.c.inc", + "crypto/fipsmodule/modes/cbc.c.inc", + "crypto/fipsmodule/modes/cfb.c.inc", + "crypto/fipsmodule/modes/ctr.c.inc", + "crypto/fipsmodule/modes/gcm.c.inc", + "crypto/fipsmodule/modes/gcm_nohw.c.inc", + "crypto/fipsmodule/modes/ofb.c.inc", + "crypto/fipsmodule/modes/polyval.c.inc", + "crypto/fipsmodule/rand/ctrdrbg.c.inc", + "crypto/fipsmodule/rand/rand.c.inc", + "crypto/fipsmodule/rsa/blinding.c.inc", + "crypto/fipsmodule/rsa/padding.c.inc", + "crypto/fipsmodule/rsa/rsa.c.inc", + "crypto/fipsmodule/rsa/rsa_impl.c.inc", + "crypto/fipsmodule/self_check/fips.c.inc", + "crypto/fipsmodule/self_check/self_check.c.inc", + "crypto/fipsmodule/service_indicator/service_indicator.c.inc", + "crypto/fipsmodule/sha/sha1.c.inc", + "crypto/fipsmodule/sha/sha256.c.inc", + "crypto/fipsmodule/sha/sha512.c.inc", + "crypto/fipsmodule/tls/kdf.c.inc", ] bcm_sources_asm = [ diff --git a/src/gen/sources.json b/src/gen/sources.json index 1e1776287..d6242bcd8 100644 --- a/src/gen/sources.json +++ b/src/gen/sources.json @@ -4,80 +4,80 @@ "crypto/fipsmodule/bcm.c" ], "internal_hdrs": [ - "crypto/fipsmodule/aes/aes.c", - "crypto/fipsmodule/aes/aes_nohw.c", - "crypto/fipsmodule/aes/key_wrap.c", - "crypto/fipsmodule/aes/mode_wrappers.c", - "crypto/fipsmodule/bn/add.c", - "crypto/fipsmodule/bn/asm/x86_64-gcc.c", - "crypto/fipsmodule/bn/bn.c", - "crypto/fipsmodule/bn/bytes.c", - "crypto/fipsmodule/bn/cmp.c", - "crypto/fipsmodule/bn/ctx.c", - "crypto/fipsmodule/bn/div.c", - "crypto/fipsmodule/bn/div_extra.c", - "crypto/fipsmodule/bn/exponentiation.c", - "crypto/fipsmodule/bn/gcd.c", - "crypto/fipsmodule/bn/gcd_extra.c", - "crypto/fipsmodule/bn/generic.c", - "crypto/fipsmodule/bn/jacobi.c", - "crypto/fipsmodule/bn/montgomery.c", - "crypto/fipsmodule/bn/montgomery_inv.c", - "crypto/fipsmodule/bn/mul.c", - "crypto/fipsmodule/bn/prime.c", - "crypto/fipsmodule/bn/random.c", - "crypto/fipsmodule/bn/rsaz_exp.c", - "crypto/fipsmodule/bn/shift.c", - "crypto/fipsmodule/bn/sqrt.c", - "crypto/fipsmodule/cipher/aead.c", - "crypto/fipsmodule/cipher/cipher.c", - "crypto/fipsmodule/cipher/e_aes.c", - "crypto/fipsmodule/cipher/e_aesccm.c", - "crypto/fipsmodule/cmac/cmac.c", - "crypto/fipsmodule/dh/check.c", - "crypto/fipsmodule/dh/dh.c", - "crypto/fipsmodule/digest/digest.c", - "crypto/fipsmodule/digest/digests.c", - "crypto/fipsmodule/digestsign/digestsign.c", - "crypto/fipsmodule/ec/ec.c", - "crypto/fipsmodule/ec/ec_key.c", - "crypto/fipsmodule/ec/ec_montgomery.c", - "crypto/fipsmodule/ec/felem.c", - "crypto/fipsmodule/ec/oct.c", - "crypto/fipsmodule/ec/p224-64.c", - "crypto/fipsmodule/ec/p256-nistz.c", - "crypto/fipsmodule/ec/p256.c", - "crypto/fipsmodule/ec/scalar.c", - "crypto/fipsmodule/ec/simple.c", - "crypto/fipsmodule/ec/simple_mul.c", - "crypto/fipsmodule/ec/util.c", - "crypto/fipsmodule/ec/wnaf.c", - "crypto/fipsmodule/ecdh/ecdh.c", - "crypto/fipsmodule/ecdsa/ecdsa.c", - "crypto/fipsmodule/hkdf/hkdf.c", - "crypto/fipsmodule/hmac/hmac.c", - "crypto/fipsmodule/md4/md4.c", - "crypto/fipsmodule/md5/md5.c", - "crypto/fipsmodule/modes/cbc.c", - "crypto/fipsmodule/modes/cfb.c", - "crypto/fipsmodule/modes/ctr.c", - "crypto/fipsmodule/modes/gcm.c", - "crypto/fipsmodule/modes/gcm_nohw.c", - "crypto/fipsmodule/modes/ofb.c", - "crypto/fipsmodule/modes/polyval.c", - "crypto/fipsmodule/rand/ctrdrbg.c", - "crypto/fipsmodule/rand/rand.c", - "crypto/fipsmodule/rsa/blinding.c", - "crypto/fipsmodule/rsa/padding.c", - "crypto/fipsmodule/rsa/rsa.c", - "crypto/fipsmodule/rsa/rsa_impl.c", - "crypto/fipsmodule/self_check/fips.c", - "crypto/fipsmodule/self_check/self_check.c", - "crypto/fipsmodule/service_indicator/service_indicator.c", - "crypto/fipsmodule/sha/sha1.c", - "crypto/fipsmodule/sha/sha256.c", - "crypto/fipsmodule/sha/sha512.c", - "crypto/fipsmodule/tls/kdf.c" + "crypto/fipsmodule/aes/aes.c.inc", + "crypto/fipsmodule/aes/aes_nohw.c.inc", + "crypto/fipsmodule/aes/key_wrap.c.inc", + "crypto/fipsmodule/aes/mode_wrappers.c.inc", + "crypto/fipsmodule/bn/add.c.inc", + "crypto/fipsmodule/bn/asm/x86_64-gcc.c.inc", + "crypto/fipsmodule/bn/bn.c.inc", + "crypto/fipsmodule/bn/bytes.c.inc", + "crypto/fipsmodule/bn/cmp.c.inc", + "crypto/fipsmodule/bn/ctx.c.inc", + "crypto/fipsmodule/bn/div.c.inc", + "crypto/fipsmodule/bn/div_extra.c.inc", + "crypto/fipsmodule/bn/exponentiation.c.inc", + "crypto/fipsmodule/bn/gcd.c.inc", + "crypto/fipsmodule/bn/gcd_extra.c.inc", + "crypto/fipsmodule/bn/generic.c.inc", + "crypto/fipsmodule/bn/jacobi.c.inc", + "crypto/fipsmodule/bn/montgomery.c.inc", + "crypto/fipsmodule/bn/montgomery_inv.c.inc", + "crypto/fipsmodule/bn/mul.c.inc", + "crypto/fipsmodule/bn/prime.c.inc", + "crypto/fipsmodule/bn/random.c.inc", + "crypto/fipsmodule/bn/rsaz_exp.c.inc", + "crypto/fipsmodule/bn/shift.c.inc", + "crypto/fipsmodule/bn/sqrt.c.inc", + "crypto/fipsmodule/cipher/aead.c.inc", + "crypto/fipsmodule/cipher/cipher.c.inc", + "crypto/fipsmodule/cipher/e_aes.c.inc", + "crypto/fipsmodule/cipher/e_aesccm.c.inc", + "crypto/fipsmodule/cmac/cmac.c.inc", + "crypto/fipsmodule/dh/check.c.inc", + "crypto/fipsmodule/dh/dh.c.inc", + "crypto/fipsmodule/digest/digest.c.inc", + "crypto/fipsmodule/digest/digests.c.inc", + "crypto/fipsmodule/digestsign/digestsign.c.inc", + "crypto/fipsmodule/ec/ec.c.inc", + "crypto/fipsmodule/ec/ec_key.c.inc", + "crypto/fipsmodule/ec/ec_montgomery.c.inc", + "crypto/fipsmodule/ec/felem.c.inc", + "crypto/fipsmodule/ec/oct.c.inc", + "crypto/fipsmodule/ec/p224-64.c.inc", + "crypto/fipsmodule/ec/p256-nistz.c.inc", + "crypto/fipsmodule/ec/p256.c.inc", + "crypto/fipsmodule/ec/scalar.c.inc", + "crypto/fipsmodule/ec/simple.c.inc", + "crypto/fipsmodule/ec/simple_mul.c.inc", + "crypto/fipsmodule/ec/util.c.inc", + "crypto/fipsmodule/ec/wnaf.c.inc", + "crypto/fipsmodule/ecdh/ecdh.c.inc", + "crypto/fipsmodule/ecdsa/ecdsa.c.inc", + "crypto/fipsmodule/hkdf/hkdf.c.inc", + "crypto/fipsmodule/hmac/hmac.c.inc", + "crypto/fipsmodule/md4/md4.c.inc", + "crypto/fipsmodule/md5/md5.c.inc", + "crypto/fipsmodule/modes/cbc.c.inc", + "crypto/fipsmodule/modes/cfb.c.inc", + "crypto/fipsmodule/modes/ctr.c.inc", + "crypto/fipsmodule/modes/gcm.c.inc", + "crypto/fipsmodule/modes/gcm_nohw.c.inc", + "crypto/fipsmodule/modes/ofb.c.inc", + "crypto/fipsmodule/modes/polyval.c.inc", + "crypto/fipsmodule/rand/ctrdrbg.c.inc", + "crypto/fipsmodule/rand/rand.c.inc", + "crypto/fipsmodule/rsa/blinding.c.inc", + "crypto/fipsmodule/rsa/padding.c.inc", + "crypto/fipsmodule/rsa/rsa.c.inc", + "crypto/fipsmodule/rsa/rsa_impl.c.inc", + "crypto/fipsmodule/self_check/fips.c.inc", + "crypto/fipsmodule/self_check/self_check.c.inc", + "crypto/fipsmodule/service_indicator/service_indicator.c.inc", + "crypto/fipsmodule/sha/sha1.c.inc", + "crypto/fipsmodule/sha/sha256.c.inc", + "crypto/fipsmodule/sha/sha512.c.inc", + "crypto/fipsmodule/tls/kdf.c.inc" ], "asm": [ "gen/bcm/aesni-gcm-x86_64-apple.S",