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