X-Git-Url: https://www.bearssl.org/gitweb//home/git/?p=BearSSL;a=blobdiff_plain;f=mk%2Fmkrules.sh;h=0e3895ec763b3413264a94b13da4e118ac4ee02f;hp=44f787e2841a5ce312d3e44c649f72dab79a4774;hb=cfbc702d3d64c209784b664eeab8867b603f4d4c;hpb=af9c79a0710a45361f9ae4313f8bb5bf738c3b7a;ds=inline diff --git a/mk/mkrules.sh b/mk/mkrules.sh index 44f787e..0e3895e 100755 --- a/mk/mkrules.sh +++ b/mk/mkrules.sh @@ -50,6 +50,8 @@ set -e # Source files. Please keep in alphabetical order. coresrc=" \ src/settings.c \ + src/aead/ccm.c \ + src/aead/eax.c \ src/aead/gcm.c \ src/codec/ccopy.c \ src/codec/dec16be.c \ @@ -105,6 +107,7 @@ coresrc=" \ src/hash/ghash_pwr8.c \ src/hash/md5.c \ src/hash/md5sha1.c \ + src/hash/mgf1.c \ src/hash/multihash.c \ src/hash/sha1.c \ src/hash/sha2big.c \ @@ -117,6 +120,7 @@ coresrc=" \ src/int/i15_encode.c \ src/int/i15_fmont.c \ src/int/i15_iszero.c \ + src/int/i15_moddiv.c \ src/int/i15_modpow.c \ src/int/i15_modpow2.c \ src/int/i15_montmul.c \ @@ -135,6 +139,7 @@ coresrc=" \ src/int/i31_encode.c \ src/int/i31_fmont.c \ src/int/i31_iszero.c \ + src/int/i31_moddiv.c \ src/int/i31_modpow.c \ src/int/i31_modpow2.c \ src/int/i31_montmul.c \ @@ -165,28 +170,46 @@ coresrc=" \ src/int/i62_modpow2.c \ src/mac/hmac.c \ src/mac/hmac_ct.c \ + src/rand/aesctr_drbg.c \ src/rand/hmac_drbg.c \ src/rand/sysrng.c \ + src/rsa/rsa_default_keygen.c \ + src/rsa/rsa_default_oaep_decrypt.c \ + src/rsa/rsa_default_oaep_encrypt.c \ src/rsa/rsa_default_pkcs1_sign.c \ src/rsa/rsa_default_pkcs1_vrfy.c \ src/rsa/rsa_default_priv.c \ src/rsa/rsa_default_pub.c \ + src/rsa/rsa_i15_keygen.c \ + src/rsa/rsa_i15_oaep_decrypt.c \ + src/rsa/rsa_i15_oaep_encrypt.c \ src/rsa/rsa_i15_pkcs1_sign.c \ src/rsa/rsa_i15_pkcs1_vrfy.c \ src/rsa/rsa_i15_priv.c \ src/rsa/rsa_i15_pub.c \ + src/rsa/rsa_i31_keygen.c \ + src/rsa/rsa_i31_keygen_inner.c \ + src/rsa/rsa_i31_oaep_decrypt.c \ + src/rsa/rsa_i31_oaep_encrypt.c \ src/rsa/rsa_i31_pkcs1_sign.c \ src/rsa/rsa_i31_pkcs1_vrfy.c \ src/rsa/rsa_i31_priv.c \ src/rsa/rsa_i31_pub.c \ + src/rsa/rsa_i32_oaep_decrypt.c \ + src/rsa/rsa_i32_oaep_encrypt.c \ src/rsa/rsa_i32_pkcs1_sign.c \ src/rsa/rsa_i32_pkcs1_vrfy.c \ src/rsa/rsa_i32_priv.c \ src/rsa/rsa_i32_pub.c \ + src/rsa/rsa_i62_keygen.c \ + src/rsa/rsa_i62_oaep_decrypt.c \ + src/rsa/rsa_i62_oaep_encrypt.c \ src/rsa/rsa_i62_pkcs1_sign.c \ src/rsa/rsa_i62_pkcs1_vrfy.c \ src/rsa/rsa_i62_priv.c \ src/rsa/rsa_i62_pub.c \ + src/rsa/rsa_oaep_pad.c \ + src/rsa/rsa_oaep_unpad.c \ src/rsa/rsa_pkcs1_sig_pad.c \ src/rsa/rsa_pkcs1_sig_unpad.c \ src/rsa/rsa_ssl_decrypt.c \ @@ -201,6 +224,7 @@ coresrc=" \ src/ssl/ssl_client_full.c \ src/ssl/ssl_engine.c \ src/ssl/ssl_engine_default_aescbc.c \ + src/ssl/ssl_engine_default_aesccm.c \ src/ssl/ssl_engine_default_aesgcm.c \ src/ssl/ssl_engine_default_chapol.c \ src/ssl/ssl_engine_default_descbc.c \ @@ -214,6 +238,7 @@ coresrc=" \ src/ssl/ssl_keyexport.c \ src/ssl/ssl_lru.c \ src/ssl/ssl_rec_cbc.c \ + src/ssl/ssl_rec_ccm.c \ src/ssl/ssl_rec_chapol.c \ src/ssl/ssl_rec_gcm.c \ src/ssl/ssl_scert_single_ec.c \ @@ -231,6 +256,7 @@ coresrc=" \ src/symcipher/aes_big_cbcdec.c \ src/symcipher/aes_big_cbcenc.c \ src/symcipher/aes_big_ctr.c \ + src/symcipher/aes_big_ctrcbc.c \ src/symcipher/aes_big_dec.c \ src/symcipher/aes_big_enc.c \ src/symcipher/aes_common.c \ @@ -239,11 +265,13 @@ coresrc=" \ src/symcipher/aes_ct64_cbcdec.c \ src/symcipher/aes_ct64_cbcenc.c \ src/symcipher/aes_ct64_ctr.c \ + src/symcipher/aes_ct64_ctrcbc.c \ src/symcipher/aes_ct64_dec.c \ src/symcipher/aes_ct64_enc.c \ src/symcipher/aes_ct_cbcdec.c \ src/symcipher/aes_ct_cbcenc.c \ src/symcipher/aes_ct_ctr.c \ + src/symcipher/aes_ct_ctrcbc.c \ src/symcipher/aes_ct_dec.c \ src/symcipher/aes_ct_enc.c \ src/symcipher/aes_pwr8.c \ @@ -253,12 +281,14 @@ coresrc=" \ src/symcipher/aes_small_cbcdec.c \ src/symcipher/aes_small_cbcenc.c \ src/symcipher/aes_small_ctr.c \ + src/symcipher/aes_small_ctrcbc.c \ src/symcipher/aes_small_dec.c \ src/symcipher/aes_small_enc.c \ src/symcipher/aes_x86ni.c \ src/symcipher/aes_x86ni_cbcdec.c \ src/symcipher/aes_x86ni_cbcenc.c \ src/symcipher/aes_x86ni_ctr.c \ + src/symcipher/aes_x86ni_ctrcbc.c \ src/symcipher/chacha20_ct.c \ src/symcipher/chacha20_sse2.c \ src/symcipher/des_ct.c \ @@ -385,23 +415,23 @@ EOF (printf "\nOBJ =" for f in $coresrc ; do - printf ' $(OBJDIR)$P%s' "$(basename "$f" .c)\$O" + printf ' \\\n $(OBJDIR)$P%s' "$(basename "$f" .c)\$O" done printf "\nOBJBRSSL =" for f in $toolssrc ; do - printf ' $(OBJDIR)$P%s' "$(basename "$f" .c)\$O" + printf ' \\\n $(OBJDIR)$P%s' "$(basename "$f" .c)\$O" done printf "\nOBJTESTCRYPTO =" for f in $testcryptosrc ; do - printf ' $(OBJDIR)$P%s' "$(basename "$f" .c)\$O" + printf ' \\\n $(OBJDIR)$P%s' "$(basename "$f" .c)\$O" done printf "\nOBJTESTSPEED =" for f in $testspeedsrc ; do - printf ' $(OBJDIR)$P%s' "$(basename "$f" .c)\$O" + printf ' \\\n $(OBJDIR)$P%s' "$(basename "$f" .c)\$O" done printf "\nOBJTESTX509 =" for f in $testx509src ; do - printf ' $(OBJDIR)$P%s' "$(basename "$f" .c)\$O" + printf ' \\\n $(OBJDIR)$P%s' "$(basename "$f" .c)\$O" done printf "\nHEADERSPUB =" for f in $headerspub ; do