Lines Matching refs:temp_len
199 lws_jwe_encrypt_ecdh(struct lws_jwe *jwe, char *temp, int *temp_len,
204 int m, n, ret = -1, ot = *temp_len, ss_len = sizeof(shared_secret),
340 m = n = lws_snprintf(temp, (size_t)*temp_len,
343 *temp_len -= n;
345 n = lws_jwk_export(ephem, 0, temp + (ot - *temp_len), temp_len);
352 n = lws_snprintf(temp + (ot - *temp_len), (size_t)*temp_len, "}");
353 *temp_len -= n + 1;
360 temp + (ot - *temp_len), temp_len,
378 lws_jwe_encrypt_ecdh_cbc_hs(struct lws_jwe *jwe, char *temp, int *temp_len)
384 int n, ot = *temp_len, ret = -1;
390 temp + (ot - *temp_len), temp_len,
397 ss_len = lws_jwe_encrypt_ecdh(jwe, temp + (ot - *temp_len), temp_len, cek);
408 temp + (ot - *temp_len),
409 temp_len, (unsigned int)enc_hlen / 2, 0))
413 temp + (ot - *temp_len),
414 temp_len, LWS_JWE_AES_IV_BYTES, 0))
605 char *temp, int *temp_len)
610 temp, temp_len,