Home
last modified time | relevance | path

Searched refs:tmpbuf (Results 1 – 25 of 47) sorted by relevance

12

/external/speex/libspeex/
Dkiss_fftr.c25 kiss_fft_cpx * tmpbuf; member
58 st->tmpbuf = (kiss_fft_cpx *) (((char *) st->substate) + subsize); in kiss_fftr_alloc()
59 st->super_twiddles = st->tmpbuf + nfft; in kiss_fftr_alloc()
94 kiss_fft( st->substate , (const kiss_fft_cpx*)timedata, st->tmpbuf ); in kiss_fftr()
105 tdc.r = st->tmpbuf[0].r; in kiss_fftr()
106 tdc.i = st->tmpbuf[0].i; in kiss_fftr()
119 fpk = st->tmpbuf[k]; in kiss_fftr()
120 fpnk.r = st->tmpbuf[ncfft-k].r; in kiss_fftr()
121 fpnk.i = - st->tmpbuf[ncfft-k].i; in kiss_fftr()
147 st->tmpbuf[0].r = freqdata[0].r + freqdata[ncfft].r; in kiss_fftri()
[all …]
/external/dropbear/libtomcrypt/src/pk/rsa/
Drsa_verify_hash.c41 unsigned char *tmpbuf; in rsa_verify_hash_ex() local
75 tmpbuf = XMALLOC(siglen); in rsa_verify_hash_ex()
76 if (tmpbuf == NULL) { in rsa_verify_hash_ex()
82 if ((err = ltc_mp.rsa_me(sig, siglen, tmpbuf, &x, PK_PUBLIC, key)) != CRYPT_OK) { in rsa_verify_hash_ex()
83 XFREE(tmpbuf); in rsa_verify_hash_ex()
89 XFREE(tmpbuf); in rsa_verify_hash_ex()
95 err = pkcs_1_pss_decode(hash, hashlen, tmpbuf, x, saltlen, hash_idx, modulus_bitlen, stat); in rsa_verify_hash_ex()
117 …if ((err = pkcs_1_v1_5_decode(tmpbuf, x, LTC_PKCS_1_EMSA, modulus_bitlen, out, &outlen, &decoded))… in rsa_verify_hash_ex()
134 LTC_SET_ASN1(siginfo, 1, LTC_ASN1_OCTET_STRING, tmpbuf, siglen); in rsa_verify_hash_ex()
157 zeromem(tmpbuf, siglen); in rsa_verify_hash_ex()
[all …]
Drsa_import.c31 unsigned char *tmpbuf; in rsa_import() local
47 tmpbuf = XCALLOC(1, MAX_RSA_SIZE*8); in rsa_import()
48 if (tmpbuf == NULL) { in rsa_import()
61 …LTC_SET_ASN1(ssl_pubkey, 1, LTC_ASN1_BIT_STRING, tmpbuf, MAX_RSA_SIZ… in rsa_import()
68 y = (y << 1) | tmpbuf[x]; in rsa_import()
70 tmpbuf[t++] = (unsigned char)y; in rsa_import()
77 if ((err = der_decode_sequence_multi(tmpbuf, t, in rsa_import()
81 XFREE(tmpbuf); in rsa_import()
84 XFREE(tmpbuf); in rsa_import()
88 XFREE(tmpbuf); in rsa_import()
/external/elfutils/src/
Darlib.c68 char tmpbuf[sizeof (ar_hdr.ar_date) + 1]; in arlib_init() local
69 memcpy (ar_hdr.ar_date, tmpbuf, in arlib_init()
70 snprintf (tmpbuf, sizeof (tmpbuf), "%-*lld", in arlib_init()
116 char tmpbuf[sizeof (((struct ar_hdr *) NULL)->ar_size) + 1]; in arlib_finalize() local
130 memcpy (&((struct ar_hdr *) symtab.longnames)->ar_size, tmpbuf, in arlib_finalize()
131 snprintf (tmpbuf, sizeof (tmpbuf), "%-*zu", in arlib_finalize()
177 memcpy (&((struct ar_hdr *) symtab.symsoff)->ar_size, tmpbuf, in arlib_finalize()
178 snprintf (tmpbuf, sizeof (tmpbuf), "%-*zu", in arlib_finalize()
Dar.c840 char tmpbuf[sizeof (arhdr.ar_name) + 1]; in write_member() local
849 snprintf (tmpbuf, sizeof (tmpbuf), "/%-*ld", in write_member()
851 changed_header = memcmp (arhdr.ar_name, tmpbuf, in write_member()
873 memcpy (arhdr.ar_name, tmpbuf, sizeof (arhdr.ar_name)); in write_member()
1071 char tmpbuf[bufsize + 1]; in no0print() local
1072 snprintf (tmpbuf, sizeof (tmpbuf), ofmt ? "%-*lo" : "%-*ld", bufsize, val); in no0print()
1073 memcpy (buf, tmpbuf, bufsize); in no0print()
1440 char tmpbuf[sizeof (arhdr.ar_name) + 1]; in do_oper_insert() local
1450 snprintf (tmpbuf, sizeof (arhdr.ar_name) + 1, "/%-*ld", in do_oper_insert()
1452 memcpy (arhdr.ar_name, tmpbuf, sizeof (arhdr.ar_name)); in do_oper_insert()
/external/openssl/crypto/des/
Denc_read.c102 static unsigned char *tmpbuf=NULL; in OPENSSL_IMPLEMENT_GLOBAL()
107 if (tmpbuf == NULL) in OPENSSL_IMPLEMENT_GLOBAL()
109 tmpbuf=OPENSSL_malloc(BSIZE); in OPENSSL_IMPLEMENT_GLOBAL()
110 if (tmpbuf == NULL) return(-1); in OPENSSL_IMPLEMENT_GLOBAL()
217 DES_pcbc_encrypt(net,tmpbuf,num,sched,iv, in OPENSSL_IMPLEMENT_GLOBAL()
220 DES_cbc_encrypt(net,tmpbuf,num,sched,iv, in OPENSSL_IMPLEMENT_GLOBAL()
225 memcpy(buf,tmpbuf,num); in OPENSSL_IMPLEMENT_GLOBAL()
/external/elfutils/libcpu/
Di386_data.h182 char tmpbuf[sizeof ("-0x1234(%rr,%rr)")]; in general_mod$r_m() local
185 n = snprintf (tmpbuf, sizeof (tmpbuf), "0x%" PRIx16, disp); in general_mod$r_m()
190 n = snprintf (tmpbuf, sizeof (tmpbuf), "%s0x%" PRIx16, in general_mod$r_m()
194 n += snprintf (tmpbuf + n, sizeof (tmpbuf) - n, "(%%b%c,%%%ci)", in general_mod$r_m()
197 n += snprintf (tmpbuf + n, sizeof (tmpbuf) - n, "(%%%s)", in general_mod$r_m()
204 memcpy (&bufp[*bufcntp], tmpbuf, n + 1); in general_mod$r_m()
224 char tmpbuf[sizeof ("-0x12345678(%rrrr)")]; in general_mod$r_m() local
228 n = snprintf (tmpbuf, sizeof (tmpbuf), "(%%%s)", in general_mod$r_m()
237 tmpbuf[n++] = 'd'; in general_mod$r_m()
239 tmpbuf[2] = 'e'; in general_mod$r_m()
[all …]
/external/elfutils/libasm/
Dasm_adduleb128.c55 char tmpbuf[(sizeof (num) * 8 + 6) / 7]; local
56 char *dest = tmpbuf;
74 size_t nbytes = dest - tmpbuf;
82 memcpy (&asmscn->content->data[asmscn->content->len], tmpbuf, nbytes);
Dasm_addsleb128.c55 char tmpbuf[(sizeof (num) * 8 + 6) / 7]; local
56 char *dest = tmpbuf;
78 size_t nbytes = dest - tmpbuf;
86 memcpy (&asmscn->content->data[asmscn->content->len], tmpbuf, nbytes);
/external/openssl/crypto/rand/
Drand_unix.c242 unsigned char tmpbuf[ENTROPY_NEEDED]; in RAND_poll() local
347 r = read(fd,(unsigned char *)tmpbuf+n, ENTROPY_NEEDED-n); in RAND_poll()
383 r = RAND_query_egd_bytes(*egdsocket, (unsigned char *)tmpbuf+n, in RAND_poll()
393 RAND_add(tmpbuf,sizeof tmpbuf,(double)n); in RAND_poll()
394 OPENSSL_cleanse(tmpbuf,n); in RAND_poll()
/external/bluetooth/bluez/src/
Dsdpd-request.c786 sdp_buf_t tmpbuf; in service_search_attr_req() local
789 tmpbuf.data = NULL; in service_search_attr_req()
850 tmpbuf.data = malloc(USHRT_MAX); in service_search_attr_req()
851 tmpbuf.data_size = 0; in service_search_attr_req()
852 tmpbuf.buf_size = USHRT_MAX; in service_search_attr_req()
853 memset(tmpbuf.data, 0, USHRT_MAX); in service_search_attr_req()
873 status = extract_attrs(rec, seq, &tmpbuf); in service_search_attr_req()
876 SDPDBG("Local PDU size : %d", tmpbuf.data_size); in service_search_attr_req()
881 if (buf->data_size + tmpbuf.data_size < buf->buf_size) { in service_search_attr_req()
883 sdp_append_to_buf(buf, tmpbuf.data, tmpbuf.data_size); in service_search_attr_req()
[all …]
/external/openssl/apps/
Dasn1pars.c96 unsigned char *tmpbuf; in MAIN() local
307 tmpbuf=(unsigned char *)str; in MAIN()
319 tmpbuf+=j; in MAIN()
322 ctmpbuf = tmpbuf; in MAIN()
341 tmpbuf=at->value.asn1_string->data; in MAIN()
344 str=(char *)tmpbuf; in MAIN()
/external/elfutils/libelf/
Delf_getarsym.c176 char tmpbuf[17]; local
177 memcpy (tmpbuf, index_hdr->ar_size, 10);
178 tmpbuf[10] = '\0';
179 size_t index_size = atol (tmpbuf);
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
Deap_tnc.c217 struct wpabuf tmpbuf; in eap_tnc_process() local
289 wpabuf_set(&tmpbuf, pos, end - pos); in eap_tnc_process()
290 data->in_buf = &tmpbuf; in eap_tnc_process()
344 if (data->in_buf != &tmpbuf) in eap_tnc_process()
409 if (data->in_buf == &tmpbuf) in eap_tnc_process()
Deap_ikev2.c337 struct wpabuf tmpbuf; in eap_ikev2_process() local
411 wpabuf_set(&tmpbuf, pos, end - pos); in eap_ikev2_process()
412 data->in_buf = &tmpbuf; in eap_ikev2_process()
416 if (data->in_buf == &tmpbuf) in eap_ikev2_process()
422 if (data->in_buf != &tmpbuf) in eap_ikev2_process()
Deap_wsc.c304 struct wpabuf tmpbuf; in eap_wsc_process() local
393 wpabuf_set(&tmpbuf, pos, end - pos); in eap_wsc_process()
394 data->in_buf = &tmpbuf; in eap_wsc_process()
414 if (data->in_buf != &tmpbuf) in eap_wsc_process()
/external/wpa_supplicant_8/src/eap_peer/
Deap_tnc.c211 struct wpabuf tmpbuf; in eap_tnc_process() local
283 wpabuf_set(&tmpbuf, pos, end - pos); in eap_tnc_process()
284 data->in_buf = &tmpbuf; in eap_tnc_process()
338 if (data->in_buf != &tmpbuf) in eap_tnc_process()
403 if (data->in_buf == &tmpbuf) in eap_tnc_process()
Deap_ikev2.c331 struct wpabuf tmpbuf; in eap_ikev2_process() local
405 wpabuf_set(&tmpbuf, pos, end - pos); in eap_ikev2_process()
406 data->in_buf = &tmpbuf; in eap_ikev2_process()
410 if (data->in_buf == &tmpbuf) in eap_ikev2_process()
416 if (data->in_buf != &tmpbuf) in eap_ikev2_process()
/external/srec/srec/cfront/
Dspec_anl.c423 fftdata *tmpbuf; in freq_warp() local
431 tmpbuf = (fftdata *) CALLOC(ns, sizeof(fftdata), "cfront.tmpbuf"); in freq_warp()
460 tmpbuf[i] = (int)(w1 * inbuf[u] + w2 * inbuf[l]); in freq_warp()
464 tmpbuf[i] = inbuf[ns-1]; in freq_warp()
476 inbuf[i] = tmpbuf[i]; in freq_warp()
478 FREE((char *) tmpbuf); in freq_warp()
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/
Deap_ikev2.c354 struct wpabuf tmpbuf; in eap_ikev2_process() local
426 wpabuf_set(&tmpbuf, pos, end - pos); in eap_ikev2_process()
427 data->in_buf = &tmpbuf; in eap_ikev2_process()
431 if (data->in_buf == &tmpbuf) in eap_ikev2_process()
456 if (data->in_buf != &tmpbuf) in eap_ikev2_process()
Deap_wsc.c343 struct wpabuf tmpbuf; in eap_wsc_process() local
418 wpabuf_set(&tmpbuf, pos, end - pos); in eap_wsc_process()
419 data->in_buf = &tmpbuf; in eap_wsc_process()
445 if (data->in_buf != &tmpbuf) in eap_wsc_process()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_ikev2.c349 struct wpabuf tmpbuf; in eap_ikev2_process() local
421 wpabuf_set(&tmpbuf, pos, end - pos); in eap_ikev2_process()
422 data->in_buf = &tmpbuf; in eap_ikev2_process()
426 if (data->in_buf == &tmpbuf) in eap_ikev2_process()
451 if (data->in_buf != &tmpbuf) in eap_ikev2_process()
Deap_server_wsc.c357 struct wpabuf tmpbuf; in eap_wsc_process() local
432 wpabuf_set(&tmpbuf, pos, end - pos); in eap_wsc_process()
433 data->in_buf = &tmpbuf; in eap_wsc_process()
459 if (data->in_buf != &tmpbuf) in eap_wsc_process()
Deap_server_tls_common.c317 wpabuf_set(&data->tmpbuf, *pos, end - *pos); in eap_server_tls_reassemble()
318 data->tls_in = &data->tmpbuf; in eap_server_tls_reassemble()
327 if (data->tls_in != &data->tmpbuf) in eap_server_tls_free_in_buf()
/external/openssl/crypto/pkcs7/
Dpk7_smime.c562 BIO *tmpbuf, *bread; in PKCS7_decrypt() local
564 if(!(tmpbuf = BIO_new(BIO_f_buffer()))) { in PKCS7_decrypt()
569 if(!(bread = BIO_push(tmpbuf, tmpmem))) { in PKCS7_decrypt()
571 BIO_free_all(tmpbuf); in PKCS7_decrypt()

12