/dports/net/libwebsockets/libwebsockets-v4.2.2/minimal-examples/api-tests/api-test-jose/ |
H A D | jwe.c | 147 lws_concat_temp(temp, temp_len), &temp_len, in test_jwe_a1() 511 lws_concat_temp(temp, temp_len), &temp_len, in test_jwe_ra_ptext_1024() 522 lws_concat_temp(temp, temp_len), &temp_len, in test_jwe_ra_ptext_1024() 534 lws_concat_temp(temp, temp_len), &temp_len); in test_jwe_ra_ptext_1024() 641 lws_concat_temp(temp, temp_len), &temp_len, in test_jwe_r256a192_ptext() 652 lws_concat_temp(temp, temp_len), &temp_len, in test_jwe_r256a192_ptext() 773 lws_concat_temp(temp, temp_len), &temp_len, in test_jwe_r256a256_ptext() 784 lws_concat_temp(temp, temp_len), &temp_len, in test_jwe_r256a256_ptext() 1797 lws_concat_temp(temp, temp_len), &temp_len, in test_ecdhes_t1() 1822 lws_concat_temp(temp, temp_len), &temp_len, in test_ecdhes_t1() [all …]
|
H A D | jws.c | 50 temp, &temp_len); in test_jws_none() 202 lws_concat_temp(temp, temp_len), &temp_len) < 0) { in test_jws_HS256() 330 temp_len -= l + 1; in test_jws_RS256() 351 context, lws_concat_temp(temp, temp_len), &temp_len) < 0) { in test_jws_RS256() 451 (char *)lws_concat_temp(temp, temp_len), &temp_len) < 0) { in test_jws_ES256() 490 temp_len -= l + 1; in test_jws_ES256() 528 context, lws_concat_temp(temp, temp_len), &temp_len) < 0) { in test_jws_ES256() 613 lws_concat_temp(temp, temp_len), &temp_len) < 0) { in test_jws_ES512() 648 if (temp_len < l) in test_jws_ES512() 652 temp_len -= (l + 1); in test_jws_ES512() [all …]
|
/dports/net/libwebsockets/libwebsockets-v4.2.2/minimal-examples/crypto/minimal-crypto-jws/ |
H A D | main.c | 24 int temp_len = sizeof(temp); in main() local 66 lws_concat_temp(temp, temp_len), in main() 67 &temp_len, strlen(p) + 10, 0)) { in main() 78 in = lws_concat_temp(temp, temp_len); in main() 84 temp_len -= n; in main() 107 lws_concat_temp(temp, temp_len), in main() 123 lws_concat_temp(temp, temp_len), in main() 171 lws_concat_temp(temp, temp_len), in main() 172 &temp_len) < 0) { in main() 188 lws_concat_temp(temp, temp_len), in main() [all …]
|
/dports/net/libwebsockets/libwebsockets-v4.2.2/minimal-examples/crypto/minimal-crypto-jwe/ |
H A D | main.c | 88 int temp_len = sizeof(temp); in main() local 138 lws_concat_temp(temp, temp_len), in main() 139 &temp_len, strlen(p) + in main() 152 in = lws_concat_temp(temp, temp_len); in main() 192 &temp_len, (unsigned int)n, in main() 201 &temp_len); in main() 236 &temp_len)) { in main() 248 lws_concat_temp(temp, temp_len), in main() 249 &temp_len) != 5) { in main() 262 lws_concat_temp(temp, temp_len), in main() [all …]
|
/dports/net/libwebsockets/libwebsockets-v4.2.2/lib/jose/jwe/ |
H A D | jwe-ecdh-es-aeskw.c | 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() 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() 413 temp + (ot - *temp_len), in lws_jwe_encrypt_ecdh_cbc_hs() [all …]
|
H A D | jwe-rsa-aesgcm.c | 32 lws_jwe_encrypt_rsa_aes_gcm(struct lws_jwe *jwe, char *temp, int *temp_len) in lws_jwe_encrypt_rsa_aes_gcm() argument 36 int n, ret = -1, ot = *temp_len; in lws_jwe_encrypt_rsa_aes_gcm() 47 temp, temp_len, in lws_jwe_encrypt_rsa_aes_gcm() 52 temp + (ot - *temp_len), in lws_jwe_encrypt_rsa_aes_gcm() 53 temp_len, LWS_AESGCM_TAG, 0)) in lws_jwe_encrypt_rsa_aes_gcm() 59 temp + (ot - *temp_len), temp_len, in lws_jwe_encrypt_rsa_aes_gcm() 79 temp + (ot - *temp_len), temp_len, in lws_jwe_encrypt_rsa_aes_gcm()
|
H A D | jwe-rsa-aescbc.c | 47 char *temp, int *temp_len) in lws_jwe_encrypt_rsa_aes_cbc_hs() argument 50 ot = *temp_len; in lws_jwe_encrypt_rsa_aes_cbc_hs() 67 temp, temp_len, in lws_jwe_encrypt_rsa_aes_cbc_hs() 72 if (lws_jws_alloc_element(&jwe->jws.map, LJWE_ATAG, temp + (ot - *temp_len), in lws_jwe_encrypt_rsa_aes_cbc_hs() 73 temp_len, (unsigned int)hlen / 2, 0)) in lws_jwe_encrypt_rsa_aes_cbc_hs() 76 if (lws_jws_alloc_element(&jwe->jws.map, LJWE_IV, temp + (ot - *temp_len), in lws_jwe_encrypt_rsa_aes_cbc_hs() 77 temp_len, LWS_JWE_AES_IV_BYTES, 0)) in lws_jwe_encrypt_rsa_aes_cbc_hs() 84 if (lws_jws_dup_element(&jwe->jws.map, LJWE_EKEY, temp + (ot - *temp_len), in lws_jwe_encrypt_rsa_aes_cbc_hs() 85 temp_len, jwe->jws.map.buf[LJWE_EKEY], in lws_jwe_encrypt_rsa_aes_cbc_hs()
|
H A D | private-lib-jose-jwe.h | 36 char *temp, int *temp_len); 58 char *temp, int *temp_len); 67 char *temp, int *temp_len); 84 char *temp, int *temp_len); 88 char *temp, int *temp_len);
|
H A D | jwe.c | 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() 330 temp, temp_len) < 0) { in lws_jwe_auth_and_decrypt() 375 temp, temp_len); in lws_jwe_auth_and_decrypt() 403 temp += ot - *temp_len; in lws_jwe_encrypt() [all …]
|
/dports/archivers/dact/dact-0.8.42/ |
H A D | mkstemp.c | 39 int i, temp_len; in mkstemp() local 41 temp_len=strlen(template); in mkstemp() 42 if (temp_len<6) return(-1); in mkstemp() 43 if (strcmp(template+(temp_len-6), "XXXXXX")!=0) return(-1); in mkstemp() 45 srand(getpid()+temp_len); in mkstemp() 47 template[temp_len-i-1]='A'+((rand()+i)%26); in mkstemp()
|
/dports/textproc/zorba/zorba-2.7.0/src/util/ |
H A D | utf8_util.tcc | 114 size_type temp_len; in normalize() local 115 if ( !utf8::to_string( u_out.getBuffer(), u_out.length(), &temp, &temp_len ) ) in normalize() 117 out->assign( temp, temp_len ); in normalize() 134 size_type temp_len; in strip_diacritics() local 137 out->assign( temp, temp_len ); in strip_diacritics() 154 size_type temp_len; in to_string() local 155 if ( to_string( in, in_len, &temp, &temp_len ) ) { in to_string() 156 out->assign( temp, temp_len ); in to_string() 168 size_type temp_len; in to_string() local 169 if ( utf8::to_string( in, in_len, &temp, &temp_len ) ) { in to_string() [all …]
|
/dports/security/afl++/AFLplusplus-3.14c/src/ |
H A D | afl-fuzz-one.c | 372 u32 len, temp_len; in fuzz_one_original() local 1969 temp_len = len; in fuzz_one_original() 2057 temp_len = new_len; in fuzz_one_original() 2522 temp_len -= del_len; in fuzz_one_original() 2664 if ((temp_len >= 2 && r % 2) || temp_len + HAVOC_BLK_XL >= MAX_FILE) { in fuzz_one_original() 2671 if (copy_len > temp_len) copy_len = temp_len; in fuzz_one_original() 2737 temp_len = len; in fuzz_one_original() 2894 u32 len, temp_len; in mopt_common_fuzzing() local 4360 temp_len = len; in mopt_common_fuzzing() 4949 if (copy_len > temp_len) copy_len = temp_len; in mopt_common_fuzzing() [all …]
|
/dports/multimedia/mencoder/mplayer-export-2021-12-29/libmpcodecs/ |
H A D | ve_vfw.c | 79 int temp_len; in vfw_open_encoder() local 157 mp_msg(MSGT_WIN32,MSGL_INFO,"ICSetState ret: %d\n", temp_len); in vfw_open_encoder() 161 temp_len = ICCompressGetFormatSize(encoder_hic, input_bih); in vfw_open_encoder() 162 mp_msg(MSGT_WIN32,MSGL_INFO,"ICCompressGetFormatSize ret: %d\n", temp_len); in vfw_open_encoder() 164 if (temp_len < sizeof(BITMAPINFOHEADER)) temp_len=sizeof(BITMAPINFOHEADER); in vfw_open_encoder() 166 output_bih = malloc(temp_len+4); in vfw_open_encoder() 167 memset(output_bih,0,temp_len); in vfw_open_encoder() 168 output_bih->biSize = temp_len; //sizeof(BITMAPINFOHEADER); in vfw_open_encoder() 175 int temp_len=output_bih->biSize; in vfw_start_encoder() local 187 if (temp_len > sizeof(BITMAPINFOHEADER)) in vfw_start_encoder() [all …]
|
/dports/multimedia/mplayer/mplayer-export-2021-12-29/libmpcodecs/ |
H A D | ve_vfw.c | 79 int temp_len; in vfw_open_encoder() local 157 mp_msg(MSGT_WIN32,MSGL_INFO,"ICSetState ret: %d\n", temp_len); in vfw_open_encoder() 161 temp_len = ICCompressGetFormatSize(encoder_hic, input_bih); in vfw_open_encoder() 162 mp_msg(MSGT_WIN32,MSGL_INFO,"ICCompressGetFormatSize ret: %d\n", temp_len); in vfw_open_encoder() 164 if (temp_len < sizeof(BITMAPINFOHEADER)) temp_len=sizeof(BITMAPINFOHEADER); in vfw_open_encoder() 166 output_bih = malloc(temp_len+4); in vfw_open_encoder() 167 memset(output_bih,0,temp_len); in vfw_open_encoder() 168 output_bih->biSize = temp_len; //sizeof(BITMAPINFOHEADER); in vfw_open_encoder() 175 int temp_len=output_bih->biSize; in vfw_start_encoder() local 187 if (temp_len > sizeof(BITMAPINFOHEADER)) in vfw_start_encoder() [all …]
|
/dports/net/libwebsockets/libwebsockets-v4.2.2/lib/jose/jws/ |
H A D | jws.c | 60 int *temp_len; member 115 *args->temp_len -= ctx->npos; in lws_jws_json_cb() 131 *args->temp_len -= n; in lws_jws_json_cb() 140 char *temp, int *temp_len) in lws_jws_json_parse() argument 148 args.temp_len = temp_len; in lws_jws_json_parse() 206 *temp_len -= (int)actual_alloc; in lws_jws_dup_element() 228 *temp_len -= n; in lws_jws_encode_b64_element() 252 *temp_len -= (int)actual_alloc; in lws_jws_randomize_element() 694 char *temp, int *temp_len) in lws_jws_sig_confirm_compact_b64() argument 714 int *temp_len) in lws_jws_sig_confirm_compact() argument [all …]
|
H A D | jose.c | 72 int *temp_len; member 349 if (*args->temp_len < ctx->npos) { in lws_jws_jose_cb() 361 *args->temp_len -= ctx->npos; in lws_jws_jose_cb() 376 *args->temp_len += in lws_jws_jose_cb() 410 char *temp, int *temp_len, int is_jwe) in lws_jose_parse() argument 424 args.temp_len = temp_len; in lws_jose_parse() 449 const char *buf, int len, char *temp, int *temp_len) in lws_jws_parse_jose() argument 452 temp, temp_len, 0); in lws_jws_parse_jose() 457 const char *buf, int len, char *temp, int *temp_len) in lws_jwe_parse_jose() argument 460 (const uint8_t *)buf, len, temp, temp_len, 1); in lws_jwe_parse_jose()
|
/dports/emulators/ppsspp-qt5/ppsspp-1.12.3/Windows/Debugger/ |
H A D | Debugger_VFPUDlg.cpp | 150 int temp_len = sprintf_s(temp, "M%i00", matrix); in DlgProc() local 151 TextOutA(hdc,3,my+2,temp,temp_len); in DlgProc() 160 temp_len = sprintf_s(temp, "R%i0%i", matrix, column); in DlgProc() 161 TextOutA(hdc,x+3,y+2,temp,temp_len); in DlgProc() 164 temp_len = sprintf_s(temp, "C%i%i0", matrix, column); in DlgProc() 165 TextOutA(hdc,3,y+rowHeight*(column+1)+1,temp,temp_len); in DlgProc() 175 case 0: temp_len = sprintf_s(temp,"%f",val); break; in DlgProc() 177 case 2: temp_len = sprintf_s(temp,"0x%08x",hex); break; in DlgProc() 178 default:temp_len = sprintf_s(temp,"%f",val); break; in DlgProc() 181 TextOutA(hdc,x+3,y+2,temp,temp_len); in DlgProc()
|
/dports/emulators/ppsspp/ppsspp-1.12.3/Windows/Debugger/ |
H A D | Debugger_VFPUDlg.cpp | 150 int temp_len = sprintf_s(temp, "M%i00", matrix); in DlgProc() local 151 TextOutA(hdc,3,my+2,temp,temp_len); in DlgProc() 160 temp_len = sprintf_s(temp, "R%i0%i", matrix, column); in DlgProc() 161 TextOutA(hdc,x+3,y+2,temp,temp_len); in DlgProc() 164 temp_len = sprintf_s(temp, "C%i%i0", matrix, column); in DlgProc() 165 TextOutA(hdc,3,y+rowHeight*(column+1)+1,temp,temp_len); in DlgProc() 175 case 0: temp_len = sprintf_s(temp,"%f",val); break; in DlgProc() 177 case 2: temp_len = sprintf_s(temp,"0x%08x",hex); break; in DlgProc() 178 default:temp_len = sprintf_s(temp,"%f",val); break; in DlgProc() 181 TextOutA(hdc,x+3,y+2,temp,temp_len); in DlgProc()
|
/dports/emulators/libretro-ppsspp/ppsspp-1.12.3/Windows/Debugger/ |
H A D | Debugger_VFPUDlg.cpp | 150 int temp_len = sprintf_s(temp, "M%i00", matrix); in DlgProc() local 151 TextOutA(hdc,3,my+2,temp,temp_len); in DlgProc() 160 temp_len = sprintf_s(temp, "R%i0%i", matrix, column); in DlgProc() 161 TextOutA(hdc,x+3,y+2,temp,temp_len); in DlgProc() 164 temp_len = sprintf_s(temp, "C%i%i0", matrix, column); in DlgProc() 165 TextOutA(hdc,3,y+rowHeight*(column+1)+1,temp,temp_len); in DlgProc() 175 case 0: temp_len = sprintf_s(temp,"%f",val); break; in DlgProc() 177 case 2: temp_len = sprintf_s(temp,"0x%08x",hex); break; in DlgProc() 178 default:temp_len = sprintf_s(temp,"%f",val); break; in DlgProc() 181 TextOutA(hdc,x+3,y+2,temp,temp_len); in DlgProc()
|
/dports/net/libwebsockets/libwebsockets-v4.2.2/include/libwebsockets/ |
H A D | lws-jws.h | 119 char *temp, int *temp_len); 125 char *temp, int *temp_len); 149 char *temp, int *temp_len); 226 char *temp, int *temp_len); 280 char *temp, int *temp_len, const void *in, size_t in_len, 306 int idx, char *temp, int *temp_len, size_t random_len, 330 int *temp_len, size_t len, size_t actual_alloc); 353 char *temp, int *temp_len, const void *in,
|
/dports/net/libwebsockets/libwebsockets-v4.2.2/lib/jose/jwe/enc/ |
H A D | aeskw.c | 38 lws_jwe_encrypt_aeskw_cbc_hs(struct lws_jwe *jwe, char *temp, int *temp_len) in lws_jwe_encrypt_aeskw_cbc_hs() argument 45 ot = *temp_len; in lws_jwe_encrypt_aeskw_cbc_hs() 56 temp, temp_len, in lws_jwe_encrypt_aeskw_cbc_hs() 63 if (lws_jws_alloc_element(&jwe->jws.map, LJWE_ATAG, temp + (ot - *temp_len), in lws_jwe_encrypt_aeskw_cbc_hs() 64 temp_len, (unsigned int)hlen / 2, 0)) in lws_jwe_encrypt_aeskw_cbc_hs() 67 if (lws_jws_alloc_element(&jwe->jws.map, LJWE_IV, temp + (ot - *temp_len), in lws_jwe_encrypt_aeskw_cbc_hs() 68 temp_len, LWS_JWE_AES_IV_BYTES, 0)) in lws_jwe_encrypt_aeskw_cbc_hs()
|
/dports/audio/libmp3splt/libmp3splt-0.9.2/src/ |
H A D | oformat_parser.c | 452 int temp_len = strlen(state->oformat.format[i])+10; in splt_of_put_output_format_filename() local 453 if ((temp = malloc(temp_len * sizeof(char))) == NULL) in splt_of_put_output_format_filename() 458 memset(temp, 0x0, temp_len); in splt_of_put_output_format_filename() 537 snprintf(temp + offset, temp_len, "%s", format); in splt_of_put_output_format_filename() 575 snprintf(temp,temp_len, "%s", state->oformat.format[i]+2); in splt_of_put_output_format_filename() 620 snprintf(temp,temp_len, "%s", state->oformat.format[i]+2); in splt_of_put_output_format_filename() 664 snprintf(temp,temp_len, "%s", state->oformat.format[i]+2); in splt_of_put_output_format_filename() 708 snprintf(temp,temp_len, "%s", state->oformat.format[i]+2); in splt_of_put_output_format_filename() 752 snprintf(temp,temp_len, "%s", state->oformat.format[i]+2); in splt_of_put_output_format_filename() 796 snprintf(temp,temp_len, "%s", state->oformat.format[i]+2); in splt_of_put_output_format_filename() [all …]
|
/dports/sysutils/xvidcap/xvidcap-1.1.7/ffmpeg/libavcodec/ |
H A D | resample.c | 34 int temp_len; member 188 bufin[i]= av_malloc( (nb_samples + s->temp_len) * sizeof(short) ); in audio_resample() 189 memcpy(bufin[i], s->temp[i], s->temp_len * sizeof(short)); in audio_resample() 190 buftmp2[i] = bufin[i] + s->temp_len; in audio_resample() 214 nb_samples += s->temp_len; in audio_resample() 223 s->temp_len= nb_samples - consumed; in audio_resample() 224 s->temp[i]= av_realloc(s->temp[i], s->temp_len*sizeof(short)); in audio_resample() 225 memcpy(s->temp[i], bufin[i] + consumed, s->temp_len*sizeof(short)); in audio_resample()
|
/dports/net/vncreflector/vnc_reflector/ |
H A D | host_connect.c | 273 hs->temp_len = buf_get_CARD32(&cur_slot->readbuf[4]); in rf_host_auth() 274 aio_setread(rf_host_conn_failed, NULL, hs->temp_len); in rf_host_auth() 296 (int)hs->temp_len, cur_slot->readbuf); in rf_host_conn_failed() 358 hs->temp_len = buf_get_CARD32(&cur_slot->readbuf[20]); in rf_host_initmsg() 359 aio_setread(rf_host_set_formats, NULL, hs->temp_len); in rf_host_initmsg() 378 (int)hs->temp_len, cur_slot->readbuf); in rf_host_set_formats() 380 new_name = malloc((size_t)hs->temp_len + 1); in rf_host_set_formats() 386 g_screen_info.name_length = hs->temp_len; in rf_host_set_formats() 387 memcpy(g_screen_info.name, cur_slot->readbuf, hs->temp_len); in rf_host_set_formats() 388 g_screen_info.name[hs->temp_len] = '\0'; in rf_host_set_formats()
|
/dports/print/limereport/LimeReport-1.5.35/3rdparty/zint-2.6.1/backend/ |
H A D | plessey.c | 378 unsigned int temp_len; in msi_plessey_mod1110() local 408 temp_len = src_len; in msi_plessey_mod1110() 413 temp_len += 2; in msi_plessey_mod1110() 416 temp[temp_len++] = itoc(check); in msi_plessey_mod1110() 417 temp[temp_len] = '\0'; in msi_plessey_mod1110() 422 i = !(temp_len & 1); in msi_plessey_mod1110() 423 for (; i < temp_len; i += 2) { in msi_plessey_mod1110() 439 i = temp_len & 1; in msi_plessey_mod1110() 440 for (; i < temp_len; i += 2) { in msi_plessey_mod1110() 456 temp[temp_len++] = itoc(pump); in msi_plessey_mod1110() [all …]
|