Lines Matching refs:slen
879 size_t slen = 0; local
883 &sdata, &slen, NULL) && slen) {
887 ret = mbedtls_ssl_session_load(&session, sdata, slen);
1118 static void mbedtls_session_free(void *session, size_t slen) argument
1120 (void)slen;
1138 size_t slen = 0; local
1149 mbedtls_ssl_session_save(&session, NULL, 0, &slen);
1150 if(!slen) {
1154 sdata = malloc(slen);
1156 ret = mbedtls_ssl_session_save(&session, sdata, slen, &slen);
1163 sdata, slen, mbedtls_session_free);