Lines Matching refs:session
884 mbedtls_ssl_session session; local
886 mbedtls_ssl_session_init(&session);
887 ret = mbedtls_ssl_session_load(&session, sdata, slen);
892 ret = mbedtls_ssl_set_session(&backend->ssl, &session);
898 mbedtls_ssl_session_free(&session);
1118 static void mbedtls_session_free(void *session, size_t slen) argument
1121 free(session);
1136 mbedtls_ssl_session session; local
1140 mbedtls_ssl_session_init(&session);
1141 ret = mbedtls_ssl_get_session(&backend->ssl, &session);
1144 mbedtls_ssl_session_free(&session);
1149 mbedtls_ssl_session_save(&session, NULL, 0, &slen);
1156 ret = mbedtls_ssl_session_save(&session, sdata, slen, &slen);
1170 mbedtls_ssl_session_free(&session);