Message ID | 20180602161003.688-3-hauke@hauke-m.de |
---|---|
State | Accepted |
Delegated to: | Hauke Mehrtens |
Headers | show |
Series | mbedtls: Activate TLS session cache | expand |
On 02/06/18 18:10, Hauke Mehrtens wrote: > This make sit possible to store informations about a session and reuse > it later. When used by a server it increases the time to create a new > TLS session from about 1 second to less than 0.1 seconds. > ...it *decreases* the time to... > The size of the ipkg file increased by about 800 Bytes. > > Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> > --- > package/libs/mbedtls/patches/200-config.patch | 10 ---------- > 1 file changed, 10 deletions(-) > > diff --git a/package/libs/mbedtls/patches/200-config.patch b/package/libs/mbedtls/patches/200-config.patch > index ff5d29a066..538a6d1087 100644 > --- a/package/libs/mbedtls/patches/200-config.patch > +++ b/package/libs/mbedtls/patches/200-config.patch > @@ -219,16 +219,6 @@ > > /** > * \def MBEDTLS_RSA_C > -@@ -2446,8 +2446,8 @@ > - * Caller: > - * > - * Requires: MBEDTLS_SSL_CACHE_C > -- */ > - #define MBEDTLS_SSL_CACHE_C > -+ */ > - > - /** > - * \def MBEDTLS_SSL_COOKIE_C > @@ -2468,8 +2468,8 @@ > * Caller: > * >
diff --git a/package/libs/mbedtls/patches/200-config.patch b/package/libs/mbedtls/patches/200-config.patch index ff5d29a066..538a6d1087 100644 --- a/package/libs/mbedtls/patches/200-config.patch +++ b/package/libs/mbedtls/patches/200-config.patch @@ -219,16 +219,6 @@ /** * \def MBEDTLS_RSA_C -@@ -2446,8 +2446,8 @@ - * Caller: - * - * Requires: MBEDTLS_SSL_CACHE_C -- */ - #define MBEDTLS_SSL_CACHE_C -+ */ - - /** - * \def MBEDTLS_SSL_COOKIE_C @@ -2468,8 +2468,8 @@ * Caller: *
This make sit possible to store informations about a session and reuse it later. When used by a server it increases the time to create a new TLS session from about 1 second to less than 0.1 seconds. The size of the ipkg file increased by about 800 Bytes. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> --- package/libs/mbedtls/patches/200-config.patch | 10 ---------- 1 file changed, 10 deletions(-)