Overview of the vendored Mbed TLS subset
mainThe src/library/zip/src/mbedtls/ directory contains a trimmed subset of Mbed TLS specifically used for WinZip AES (ZIP compression method 99). It provides support for:
- AES (runtime 128/192/256)
- SHA-1
- HMAC-SHA1
- PBKDF2-HMAC-SHA1
Technical Details:
- Upstream Version: 3.6.6 (branch
mbedtls-3.6) - License: Apache-2.0 (used via the Apache-2.0 OR GPL-2.0-or-later dual license)
- Configuration: The subset is controlled by
include/zip_mbedtls_config.h. This configuration is applied during compilation using the flag-DMBEDTLS_CONFIG_FILE="zip_mbedtls_config.h"(defined insrc/Makevars). - Included Source Files:
library/aes.c,library/sha1.c,library/md.c,library/pkcs5.c, andlibrary/platform_util.c.