Lines Matching refs:temp_len
55 int *temp_len; member
95 if (*args->temp_len < ctx->npos) { in lws_jwe_json_cb()
113 *args->temp_len -= ctx->npos; in lws_jwe_json_cb()
122 (char *)args->temp, *args->temp_len); in lws_jwe_json_cb()
129 *args->temp_len -= n; in lws_jwe_json_cb()
138 char *temp, int *temp_len) in lws_jwe_json_parse() argument
146 args.temp_len = temp_len; in lws_jwe_json_parse()
323 lws_jwe_auth_and_decrypt(struct lws_jwe *jwe, char *temp, int *temp_len) in lws_jwe_auth_and_decrypt() argument
330 temp, temp_len) < 0) { in lws_jwe_auth_and_decrypt()
375 temp, temp_len); in lws_jwe_auth_and_decrypt()
384 lws_jwe_encrypt(struct lws_jwe *jwe, char *temp, int *temp_len) in lws_jwe_encrypt() argument
386 int valid_aescbc_hmac, valid_aesgcm, ot = *temp_len, ret = -1; in lws_jwe_encrypt()
398 (int)jwe->jws.map.len[LJWS_JOSE], temp, temp_len) < 0) { in lws_jwe_encrypt()
403 temp += ot - *temp_len; in lws_jwe_encrypt()
415 ret = lws_jwe_encrypt_rsa_aes_cbc_hs(jwe, temp, temp_len); in lws_jwe_encrypt()
420 ret = lws_jwe_encrypt_rsa_aes_gcm(jwe, temp, temp_len); in lws_jwe_encrypt()
429 ret = lws_jwe_encrypt_aeskw_cbc_hs(jwe, temp, temp_len); in lws_jwe_encrypt()
437 ret = lws_jwe_encrypt_ecdh_cbc_hs(jwe, temp, temp_len); in lws_jwe_encrypt()