ºìÁªLinuxÃÅ»§
Linux°ïÖú

mbed TLS 1.3.11·¢²¼£¬2.0ÌØÐÔÇÀÏÈÔ¤ÀÀ£¡

·¢²¼Ê±¼ä:2015-06-12 16:08:18À´Ô´:ºìÁª×÷Õß:empast
PolarSSL Ô´Â룬ҲÐíÊÇ×îСÇɵÄssl´úÂë¿â¡£¸ßЧ¡¢±ãÓÚÒÆÖ²ºÍ¼¯³É¡£ÓÈÆäÊʺÏǶÈëʽӦÓá£

Ŀǰ PolarSSL ÒѾ­±» ARM ¹«Ë¾ÊÕ¹º£¬²¢¸ÄÃûΪ mbed TLS¡£Ðí¿ÉÖ¤Ò²ÓÉ GPL ¸ÄΪ Apache¡£

mbed TLS 1.3.11 ·¢²¼£¬´Ë°æ±¾ÐÞ¸´ÁËһЩÑÏÖØµÄ bug£¬½â¾öÁËһЩ°²È«ÎÊÌ⡣ͬʱҲÌí¼ÓÁËһЩÓÅ»¯¹¦ÄܺÍÌáÉý¿ÉÓÃÐÔµÄÐÂÌØÐÔ¡£

mbed TLS 2.0 ½«»áÔÚ¼¸Öܺ󷢲¼£¬Ê׸öÌṩ DTLS ¹Ù·½Ö§³ÖµÄ°æ±¾£¡

Ϊʲô²»ÊÇ 1.5 ¶øÊÇ 2.0 °æ±¾ÄØ£¿ÒòΪ׼±¸´Ó 2.0 ·ÖÖ§¿ªÊ¼Ê¹ÓÃÓïÒå°æ±¾¿ØÖÆ£¬Ò²¾ÍÊÇ˵ 2.0.1 ½«»áÊǵÚÒ»¸ö bug ÐÞ¸´°æ±¾£¬2.1.0 ÊÇÐÂÌØÐÔ°æ±¾£¬ÏÂÒ»¸öÖØÒª°æ±¾·ÖÖ§ÊÇ 3.0.0£¨API ²»¼æÈÝ£©¡£

mbed TLS 2.0 °æ±¾½«»áÖØÃüÃûËùÓй«¹²¿É¼ûµÄ·ûºÅ (function names, types, enum constants, macros, global objects) £¬ÕâЩ¶¼»áÒÔ MBEDTLS_ (macros, enum constants) »òÕß mbedtls_ ¿ªÍ·¡£

HMAC º¯ÊýʹÓà MD layer Ìæ»»£¬¸Ä½ø SSL ÅäÖýӿڣ¬¸ü¶à mbed 2.0 ÌØÐÔÔ¤ÀÀºÍ×¼±¸Çë¿´ÕâÀhttps://tls.mbed.org/tech-updates/blog/preparing-2.0-upgrade¡£

mbed 1.3.11 ¸üÐÂÄÚÈÝ

°²È«ÐÞ¸´

´Ë°æ±¾½â¾öÁË SSL_VERIFY_OPTIONAL authmode Ð޸ģ¬È·±£ keyUsage ºÍ extendedKey ÄÜÕýÈ·µ÷ÓúÍʹÓᣠSSL_VERIFY_REQUIRED ÊÇ authmode ÍÆ¼ö°²È«ÉèÖá£

ÐÂÌØÐÔ

ÌáÉý ECC ÐÔÄÜ£¬Ö§³Ö Diffie-Hellman ²ÎÊý

ÖØÒª¸Ä½ø

Remove bias in mpi_gen_prime (contributed by Pascal Junod).

Remove potential sources of timing variations (some contributed by Pascal Junod).

Options POLARSSL_HAVE_INT8 and POLARSSL_HAVE_INT16 are deprecated.

Enabling POLARSSL_NET_C without POLARSSL_HAVE_IPV6 is deprecated.

compat-1.2.h and openssl.h are deprecated.

Adjusting/overriding CFLAGS and LDFLAGS with the make build system is now more flexible (warning: OFLAGS is not used any more) (see the README) (contributed by Alon Bar-Lev).

ssl_set_own_cert() no longer calls pk_check_pair() since the performance impact was bad for some users (this was introduced in 1.3.10).

Move from SHA-1 to SHA-256 in example programs using signatures (suggested by Thorsten M¨¹hlfelder).

Remove some unneeded inclusions of header files from the standard library "minimize" others (e.g. use stddef.h if only size_t is needed).

Change #include lines in test files to use double quotes instead of angle brackets for uniformity with the rest of the code.

Remove dependency on sscanf() in X.509 parsing modules.

Bug ÐÞ¸´

Fix compile errors with PLATFORM_NO_STD_FUNCTIONS.

Fix compile error with PLATFORM_EXIT_ALT (thanks to Rafał Przywara).

Fix bug in entropy.c when THREADING_C is also enabled that caused entropy_free() to crash (thanks to Rafał Przywara).

Fix memory leak when gcm_setkey() and ccm_setkey() are used more than once on the same context.

Fix bug in ssl_mail_client when password is longer that username (found by Bruno Pape).

Fix undefined behaviour (memcmp( NULL, NULL, 0 );) in X.509 modules (detected by Clang's 3.6 UBSan).

mpi_size() and mpi_msb() would segfault when called on an mpi that is initialized but not set (found by pravic).

Fix detection of support for getrandom() on Linux (reported by syzzer) by doing it at runtime (using uname) rather that compile time.

Fix handling of symlinks by "make install" (found by Gaël PORTAY).

Fix potential NULL pointer dereference (not trigerrable remotely) when ssl_write() is called before the handshake is finished (introduced in 1.3.10) (first reported by Martin Blumenstingl).

Fix bug in pk_parse_key() that caused some valid private EC keys to be rejected.

Fix bug in Via Padlock support (found by Nikos Mavrogiannopoulos).

Fix thread safety bug in RSA operations (found by Fredrik Axelsson).

Fix hardclock() (only used in the benchmarking program) with some versions of mingw64 (found by kxjhlele).

Fix warnings from mingw64 in timing.c (found by kxjklele).

Fix potential unintended sign extension in asn1_get_len() on 64-bit platforms.

Fix potential memory leak in ssl_set_psk() (found by Mansour Moufid).

Fix compile error when POLARSSL_SSL_DISABLE_RENEGOTATION and POLARSSL_SSL_SSESSION_TICKETS where both enabled in config.h (introduced in 1.3.10).

Add missing extern "C" guard in aesni.h (reported by amir zamani).

Add missing dependency on SHA-256 in some x509 programs (reported by Gergely Budai).

Fix bug related to ssl_set_curves(): the client didn't check that the curve picked by the server was actually allowed.

Èí¼þÏêÇ飺https://tls.mbed.org/tech-updates/releases/mbedtls-1.3.11-released

ÏÂÔØµØÖ·£ºhttps://tls.mbed.org/download/mbedtls-1.3.11-gpl.tgz

À´×Ô:¿ªÔ´ÖйúÉçÇø
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 0 ÌõÆÀÂÛ