# Right now this script assumes the revision is a tag, and not a branch or an arbitrary
# commit. If this changes, update the check below, or else the script will always conclude
# the repo is not up to date because a tag with that name doesn't exist.
-mbedtls_revision = 'mbedtls-2.4.0'
+mbedtls_revision = 'mbedtls-2.16.2'
if not os.path.exists(mbedtls_dir):
print '''
'mbedtls/library/platform.c',
'mbedtls/library/ripemd160.c',
'mbedtls/library/rsa.c',
+ 'mbedtls/library/rsa_internal.c',
'mbedtls/library/sha1.c',
'mbedtls/library/sha256.c',
'mbedtls/library/sha512.c',
'mbedtls/library/timing.c',
'mbedtls/library/version.c',
'mbedtls/library/version_features.c',
- 'mbedtls/library/xtea.c'
+ 'mbedtls/library/xtea.c',
+ 'mbedtls/library/platform_util.c',
+ 'mbedtls/library/chachapoly.c',
+ 'mbedtls/library/poly1305.c',
+ 'mbedtls/library/chacha20.c'
]
mbeX509_src = [