|
1024 | 1024 | */
|
1025 | 1025 | #define MBEDTLS_VERSION_FEATURES
|
1026 | 1026 |
|
1027 |
| -/** |
1028 |
| - * \def MBEDTLS_X509_ALLOW_EXTENSIONS_NON_V3 |
1029 |
| - * |
1030 |
| - * If set, the X509 parser will not break-off when parsing an X509 certificate |
1031 |
| - * and encountering an extension in a v1 or v2 certificate. |
1032 |
| - * |
1033 |
| - * Uncomment to prevent an error. |
1034 |
| - */ |
1035 |
| -//#define MBEDTLS_X509_ALLOW_EXTENSIONS_NON_V3 |
1036 |
| - |
1037 |
| -/** |
1038 |
| - * \def MBEDTLS_X509_ALLOW_UNSUPPORTED_CRITICAL_EXTENSION |
1039 |
| - * |
1040 |
| - * If set, the X509 parser will not break-off when parsing an X509 certificate |
1041 |
| - * and encountering an unknown critical extension. |
1042 |
| - * |
1043 |
| - * \warning Depending on your PKI use, enabling this can be a security risk! |
1044 |
| - * |
1045 |
| - * Uncomment to prevent an error. |
1046 |
| - */ |
1047 |
| -//#define MBEDTLS_X509_ALLOW_UNSUPPORTED_CRITICAL_EXTENSION |
1048 |
| - |
1049 |
| -/** |
1050 |
| - * \def MBEDTLS_X509_CHECK_KEY_USAGE |
1051 |
| - * |
1052 |
| - * Enable verification of the keyUsage extension (CA and leaf certificates). |
1053 |
| - * |
1054 |
| - * Disabling this avoids problems with mis-issued and/or misused |
1055 |
| - * (intermediate) CA and leaf certificates. |
1056 |
| - * |
1057 |
| - * \warning Depending on your PKI use, disabling this can be a security risk! |
1058 |
| - * |
1059 |
| - * Comment to skip keyUsage checking for both CA and leaf certificates. |
1060 |
| - */ |
1061 |
| -#define MBEDTLS_X509_CHECK_KEY_USAGE |
1062 |
| - |
1063 |
| -/** |
1064 |
| - * \def MBEDTLS_X509_CHECK_EXTENDED_KEY_USAGE |
1065 |
| - * |
1066 |
| - * Enable verification of the extendedKeyUsage extension (leaf certificates). |
1067 |
| - * |
1068 |
| - * Disabling this avoids problems with mis-issued and/or misused certificates. |
1069 |
| - * |
1070 |
| - * \warning Depending on your PKI use, disabling this can be a security risk! |
1071 |
| - * |
1072 |
| - * Comment to skip extendedKeyUsage checking for certificates. |
1073 |
| - */ |
1074 |
| -#define MBEDTLS_X509_CHECK_EXTENDED_KEY_USAGE |
1075 |
| - |
1076 |
| -/** |
1077 |
| - * \def MBEDTLS_X509_RSASSA_PSS_SUPPORT |
1078 |
| - * |
1079 |
| - * Enable parsing and verification of X.509 certificates, CRLs and CSRS |
1080 |
| - * signed with RSASSA-PSS (aka PKCS#1 v2.1). |
1081 |
| - * |
1082 |
| - * Comment this macro to disallow using RSASSA-PSS in certificates. |
1083 |
| - */ |
1084 |
| -#define MBEDTLS_X509_RSASSA_PSS_SUPPORT |
1085 | 1027 | /* \} name SECTION: mbed TLS feature support */
|
1086 | 1028 |
|
1087 | 1029 | /**
|
|
1212 | 1154 | * Enable the generic ASN1 parser.
|
1213 | 1155 | *
|
1214 | 1156 | * Module: library/asn1.c
|
1215 |
| - * Caller: library/x509.c |
1216 |
| - * library/dhm.c |
| 1157 | + * Caller: library/dhm.c |
1217 | 1158 | * library/pkcs12.c
|
1218 | 1159 | * library/pkcs5.c
|
1219 | 1160 | * library/pkparse.c
|
|
1228 | 1169 | * Module: library/asn1write.c
|
1229 | 1170 | * Caller: library/ecdsa.c
|
1230 | 1171 | * library/pkwrite.c
|
1231 |
| - * library/x509_create.c |
1232 |
| - * library/x509write_crt.c |
1233 |
| - * library/x509write_csr.c |
1234 | 1172 | */
|
1235 | 1173 | #define MBEDTLS_ASN1_WRITE_C
|
1236 | 1174 |
|
|
1388 | 1326 | */
|
1389 | 1327 | #define MBEDTLS_CCM_C
|
1390 | 1328 |
|
1391 |
| -/** |
1392 |
| - * \def MBEDTLS_CERTS_C |
1393 |
| - * |
1394 |
| - * Enable the test certificates. |
1395 |
| - * |
1396 |
| - * Module: library/certs.c |
1397 |
| - * Caller: |
1398 |
| - * |
1399 |
| - * This module is used for testing (ssl_client/server). |
1400 |
| - */ |
1401 |
| -#define MBEDTLS_CERTS_C |
1402 |
| - |
1403 | 1329 | /**
|
1404 | 1330 | * \def MBEDTLS_CHACHA20_C
|
1405 | 1331 | *
|
|
1767 | 1693 | * library/pkparse.c
|
1768 | 1694 | * library/pkwrite.c
|
1769 | 1695 | * library/rsa.c
|
1770 |
| - * library/x509.c |
1771 |
| - * library/x509_create.c |
1772 |
| - * library/x509_crl.c |
1773 |
| - * library/x509_crt.c |
1774 |
| - * library/x509_csr.c |
1775 |
| - * library/x509write_crt.c |
1776 |
| - * library/x509write_csr.c |
1777 | 1696 | *
|
1778 | 1697 | * This modules translates between OIDs and internal values.
|
1779 | 1698 | */
|
|
1801 | 1720 | * Module: library/pem.c
|
1802 | 1721 | * Caller: library/dhm.c
|
1803 | 1722 | * library/pkparse.c
|
1804 |
| - * library/x509_crl.c |
1805 |
| - * library/x509_crt.c |
1806 |
| - * library/x509_csr.c |
1807 | 1723 | *
|
1808 | 1724 | * Requires: MBEDTLS_BASE64_C
|
1809 | 1725 | *
|
|
1818 | 1734 | *
|
1819 | 1735 | * Module: library/pem.c
|
1820 | 1736 | * Caller: library/pkwrite.c
|
1821 |
| - * library/x509write_crt.c |
1822 |
| - * library/x509write_csr.c |
1823 | 1737 | *
|
1824 | 1738 | * Requires: MBEDTLS_BASE64_C
|
1825 | 1739 | *
|
|
1846 | 1760 | * Enable the generic public (asymetric) key parser.
|
1847 | 1761 | *
|
1848 | 1762 | * Module: library/pkparse.c
|
1849 |
| - * Caller: library/x509_crt.c |
1850 |
| - * library/x509_csr.c |
1851 | 1763 | *
|
1852 | 1764 | * Requires: MBEDTLS_PK_C
|
1853 | 1765 | *
|
|
1861 | 1773 | * Enable the generic public (asymetric) key writer.
|
1862 | 1774 | *
|
1863 | 1775 | * Module: library/pkwrite.c
|
1864 |
| - * Caller: library/x509write.c |
1865 | 1776 | *
|
1866 | 1777 | * Requires: MBEDTLS_PK_C
|
1867 | 1778 | *
|
|
1882 | 1793 | */
|
1883 | 1794 | #define MBEDTLS_PKCS5_C
|
1884 | 1795 |
|
1885 |
| -/** |
1886 |
| - * \def MBEDTLS_PKCS11_C |
1887 |
| - * |
1888 |
| - * Enable wrapper for PKCS#11 smartcard support. |
1889 |
| - * |
1890 |
| - * Module: library/pkcs11.c |
1891 |
| - * Caller: library/pk.c |
1892 |
| - * |
1893 |
| - * Requires: MBEDTLS_PK_C |
1894 |
| - * |
1895 |
| - * This module enables SSL/TLS PKCS #11 smartcard support. |
1896 |
| - * Requires the presence of the PKCS#11 helper library (libpkcs11-helper) |
1897 |
| - */ |
1898 |
| -//#define MBEDTLS_PKCS11_C |
1899 |
| - |
1900 | 1796 | /**
|
1901 | 1797 | * \def MBEDTLS_PKCS12_C
|
1902 | 1798 | *
|
|
1998 | 1894 | *
|
1999 | 1895 | * Module: library/rsa.c
|
2000 | 1896 | * library/rsa_internal.c
|
2001 |
| - * Caller: library/x509.c |
2002 | 1897 | *
|
2003 | 1898 | * This module is used by the following key exchanges:
|
2004 | 1899 | * RSA, DHE-RSA, ECDHE-RSA, RSA-PSK
|
|
2014 | 1909 | *
|
2015 | 1910 | * Module: library/sha1.c
|
2016 | 1911 | * Caller: library/md.c
|
2017 |
| - * library/x509write_crt.c |
2018 | 1912 | *
|
2019 | 1913 | * This module is required for SSL/TLS up to version 1.1, for TLS 1.2
|
2020 | 1914 | * depending on the handshake parameters, and for SHA1-signed certificates.
|
|
2109 | 2003 | */
|
2110 | 2004 | #define MBEDTLS_VERSION_C
|
2111 | 2005 |
|
2112 |
| -/** |
2113 |
| - * \def MBEDTLS_X509_USE_C |
2114 |
| - * |
2115 |
| - * Enable X.509 core for using certificates. |
2116 |
| - * |
2117 |
| - * Module: library/x509.c |
2118 |
| - * Caller: library/x509_crl.c |
2119 |
| - * library/x509_crt.c |
2120 |
| - * library/x509_csr.c |
2121 |
| - * |
2122 |
| - * Requires: MBEDTLS_ASN1_PARSE_C, MBEDTLS_BIGNUM_C, MBEDTLS_OID_C, |
2123 |
| - * MBEDTLS_PK_PARSE_C |
2124 |
| - * |
2125 |
| - * This module is required for the X.509 parsing modules. |
2126 |
| - */ |
2127 |
| -#define MBEDTLS_X509_USE_C |
2128 |
| - |
2129 |
| -/** |
2130 |
| - * \def MBEDTLS_X509_CRT_PARSE_C |
2131 |
| - * |
2132 |
| - * Enable X.509 certificate parsing. |
2133 |
| - * |
2134 |
| - * Module: library/x509_crt.c |
2135 |
| - * Caller: library/ssl_cli.c |
2136 |
| - * library/ssl_srv.c |
2137 |
| - * library/ssl_tls.c |
2138 |
| - * |
2139 |
| - * Requires: MBEDTLS_X509_USE_C |
2140 |
| - * |
2141 |
| - * This module is required for X.509 certificate parsing. |
2142 |
| - */ |
2143 |
| -#define MBEDTLS_X509_CRT_PARSE_C |
2144 |
| - |
2145 |
| -/** |
2146 |
| - * \def MBEDTLS_X509_CRL_PARSE_C |
2147 |
| - * |
2148 |
| - * Enable X.509 CRL parsing. |
2149 |
| - * |
2150 |
| - * Module: library/x509_crl.c |
2151 |
| - * Caller: library/x509_crt.c |
2152 |
| - * |
2153 |
| - * Requires: MBEDTLS_X509_USE_C |
2154 |
| - * |
2155 |
| - * This module is required for X.509 CRL parsing. |
2156 |
| - */ |
2157 |
| -#define MBEDTLS_X509_CRL_PARSE_C |
2158 |
| - |
2159 |
| -/** |
2160 |
| - * \def MBEDTLS_X509_CSR_PARSE_C |
2161 |
| - * |
2162 |
| - * Enable X.509 Certificate Signing Request (CSR) parsing. |
2163 |
| - * |
2164 |
| - * Module: library/x509_csr.c |
2165 |
| - * Caller: library/x509_crt_write.c |
2166 |
| - * |
2167 |
| - * Requires: MBEDTLS_X509_USE_C |
2168 |
| - * |
2169 |
| - * This module is used for reading X.509 certificate request. |
2170 |
| - */ |
2171 |
| -#define MBEDTLS_X509_CSR_PARSE_C |
2172 |
| - |
2173 |
| -/** |
2174 |
| - * \def MBEDTLS_X509_CREATE_C |
2175 |
| - * |
2176 |
| - * Enable X.509 core for creating certificates. |
2177 |
| - * |
2178 |
| - * Module: library/x509_create.c |
2179 |
| - * |
2180 |
| - * Requires: MBEDTLS_BIGNUM_C, MBEDTLS_OID_C, MBEDTLS_PK_WRITE_C |
2181 |
| - * |
2182 |
| - * This module is the basis for creating X.509 certificates and CSRs. |
2183 |
| - */ |
2184 |
| -#define MBEDTLS_X509_CREATE_C |
2185 |
| - |
2186 |
| -/** |
2187 |
| - * \def MBEDTLS_X509_CRT_WRITE_C |
2188 |
| - * |
2189 |
| - * Enable creating X.509 certificates. |
2190 |
| - * |
2191 |
| - * Module: library/x509_crt_write.c |
2192 |
| - * |
2193 |
| - * Requires: MBEDTLS_X509_CREATE_C |
2194 |
| - * |
2195 |
| - * This module is required for X.509 certificate creation. |
2196 |
| - */ |
2197 |
| -#define MBEDTLS_X509_CRT_WRITE_C |
2198 |
| - |
2199 |
| -/** |
2200 |
| - * \def MBEDTLS_X509_CSR_WRITE_C |
2201 |
| - * |
2202 |
| - * Enable creating X.509 Certificate Signing Requests (CSR). |
2203 |
| - * |
2204 |
| - * Module: library/x509_csr_write.c |
2205 |
| - * |
2206 |
| - * Requires: MBEDTLS_X509_CREATE_C |
2207 |
| - * |
2208 |
| - * This module is required for X.509 certificate request writing. |
2209 |
| - */ |
2210 |
| -#define MBEDTLS_X509_CSR_WRITE_C |
2211 |
| - |
2212 | 2006 | /**
|
2213 | 2007 | * \def MBEDTLS_XTEA_C
|
2214 | 2008 | *
|
|
0 commit comments