/external/elfutils/libasm/ |
asm_addsleb128.c | 43 char tmpbuf[(sizeof (num) * 8 + 6) / 7]; local 44 char *dest = tmpbuf; 66 size_t nbytes = dest - tmpbuf; 74 memcpy (&asmscn->content->data[asmscn->content->len], tmpbuf, nbytes);
|
asm_adduleb128.c | 43 char tmpbuf[(sizeof (num) * 8 + 6) / 7]; local 44 char *dest = tmpbuf; 62 size_t nbytes = dest - tmpbuf; 70 memcpy (&asmscn->content->data[asmscn->content->len], tmpbuf, nbytes);
|
/external/dropbear/libtomcrypt/src/pk/rsa/ |
rsa_verify_hash.c | 41 unsigned char *tmpbuf; local 75 tmpbuf = XMALLOC(siglen); 76 if (tmpbuf == NULL) { 82 if ((err = ltc_mp.rsa_me(sig, siglen, tmpbuf, &x, PK_PUBLIC, key)) != CRYPT_OK) { 83 XFREE(tmpbuf); 89 XFREE(tmpbuf); 95 err = pkcs_1_pss_decode(hash, hashlen, tmpbuf, x, saltlen, hash_idx, modulus_bitlen, stat); 117 if ((err = pkcs_1_v1_5_decode(tmpbuf, x, LTC_PKCS_1_EMSA, modulus_bitlen, out, &outlen, &decoded)) != CRYPT_OK) { 134 LTC_SET_ASN1(siginfo, 1, LTC_ASN1_OCTET_STRING, tmpbuf, siglen); 157 zeromem(tmpbuf, siglen) [all...] |
rsa_import.c | 31 unsigned char *tmpbuf; local 47 tmpbuf = XCALLOC(1, MAX_RSA_SIZE*8); 48 if (tmpbuf == NULL) { 61 LTC_SET_ASN1(ssl_pubkey, 1, LTC_ASN1_BIT_STRING, tmpbuf, MAX_RSA_SIZE*8); 68 y = (y << 1) | tmpbuf[x]; 70 tmpbuf[t++] = (unsigned char)y; 77 if ((err = der_decode_sequence_multi(tmpbuf, t, 81 XFREE(tmpbuf); 84 XFREE(tmpbuf); 88 XFREE(tmpbuf); [all...] |
/external/speex/libspeex/ |
kiss_fftr.c | 25 kiss_fft_cpx * tmpbuf; member in struct:kiss_fftr_state 58 st->tmpbuf = (kiss_fft_cpx *) (((char *) st->substate) + subsize); 59 st->super_twiddles = st->tmpbuf + nfft; 94 kiss_fft( st->substate , (const kiss_fft_cpx*)timedata, st->tmpbuf ); 95 /* The real part of the DC element of the frequency spectrum in st->tmpbuf 105 tdc.r = st->tmpbuf[0].r; 106 tdc.i = st->tmpbuf[0].i; 119 fpk = st->tmpbuf[k]; 120 fpnk.r = st->tmpbuf[ncfft-k].r; 121 fpnk.i = - st->tmpbuf[ncfft-k].i [all...] |
/bootable/bootloader/legacy/nandwrite/ |
nandwrite.c | 131 static unsigned char *tmpbuf = 0; variable 137 if(tmpbuf == 0) { 138 tmpbuf = alloc(4096); 156 if(flash_read_page(p->start * 64, tmpbuf, tmpbuf + 2048)){ 163 hexdump(tmpbuf, 256); 165 hexdump(tmpbuf, 16);
|
/external/openssl/crypto/des/ |
enc_read.c | 102 static unsigned char *tmpbuf=NULL; 107 if (tmpbuf == NULL) 109 tmpbuf=OPENSSL_malloc(BSIZE); 110 if (tmpbuf == NULL) return(-1); 217 DES_pcbc_encrypt(net,tmpbuf,num,sched,iv, 220 DES_cbc_encrypt(net,tmpbuf,num,sched,iv, 225 memcpy(buf,tmpbuf,num);
|
/bionic/libc/netbsd/inet/ |
nsap_addr.c | 93 static char tmpbuf[2+255*3]; local 101 ascii = tmpbuf; 102 start = tmpbuf;
|
/external/openssl/crypto/rand/ |
rand_unix.c | 202 unsigned char tmpbuf[ENTROPY_NEEDED]; local 307 r = read(fd,(unsigned char *)tmpbuf+n, ENTROPY_NEEDED-n); 343 r = RAND_query_egd_bytes(*egdsocket, (unsigned char *)tmpbuf+n, 353 RAND_add(tmpbuf,sizeof tmpbuf,(double)n); 354 OPENSSL_cleanse(tmpbuf,n);
|
/external/openssl/apps/ |
asn1pars.c | 96 unsigned char *tmpbuf; local 307 tmpbuf=(unsigned char *)str; 319 tmpbuf+=j; 322 ctmpbuf = tmpbuf; 341 tmpbuf=at->value.asn1_string->data; 344 str=(char *)tmpbuf;
|
/external/bluetooth/bluez/src/ |
sdpd-request.c | 786 sdp_buf_t tmpbuf; local 789 tmpbuf.data = NULL; 850 tmpbuf.data = malloc(USHRT_MAX); 851 tmpbuf.data_size = 0; 852 tmpbuf.buf_size = USHRT_MAX; 853 memset(tmpbuf.data, 0, USHRT_MAX); 873 status = extract_attrs(rec, seq, &tmpbuf); 876 SDPDBG("Local PDU size : %d", tmpbuf.data_size); 881 if (buf->data_size + tmpbuf.data_size < buf->buf_size) { 883 sdp_append_to_buf(buf, tmpbuf.data, tmpbuf.data_size) [all...] |
/external/elfutils/libelf/ |
elf_getarsym.c | 67 char tmpbuf[17]; local 149 memcpy (tmpbuf, index_hdr->ar_size, 10); 150 tmpbuf[10] = '\0'; 151 index_size = atol (tmpbuf);
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
eap_tls_common.h | 31 struct wpabuf tmpbuf; member in struct:eap_ssl_data
|
eap_ikev2.c | 354 struct wpabuf tmpbuf; local 426 wpabuf_set(&tmpbuf, pos, end - pos); 427 data->in_buf = &tmpbuf; 431 if (data->in_buf == &tmpbuf) 456 if (data->in_buf != &tmpbuf)
|
eap_tls_common.c | 322 wpabuf_set(&data->tmpbuf, *pos, end - *pos); 323 data->in_buf = &data->tmpbuf; 332 if (data->in_buf != &data->tmpbuf)
|
/external/wpa_supplicant_8/src/eap_server/ |
eap_tls_common.h | 58 struct wpabuf tmpbuf; member in struct:eap_ssl_data
|
eap_server_ikev2.c | 355 struct wpabuf tmpbuf; local 427 wpabuf_set(&tmpbuf, pos, end - pos); 428 data->in_buf = &tmpbuf; 432 if (data->in_buf == &tmpbuf) 457 if (data->in_buf != &tmpbuf)
|
eap_server_tls_common.c | 323 wpabuf_set(&data->tmpbuf, *pos, end - *pos); 324 data->tls_in = &data->tmpbuf; 333 if (data->tls_in != &data->tmpbuf)
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
eap_ikev2.c | 337 struct wpabuf tmpbuf; local 411 wpabuf_set(&tmpbuf, pos, end - pos); 412 data->in_buf = &tmpbuf; 416 if (data->in_buf == &tmpbuf) 422 if (data->in_buf != &tmpbuf)
|
eap_tnc.c | 217 struct wpabuf tmpbuf; local 289 wpabuf_set(&tmpbuf, pos, end - pos); 290 data->in_buf = &tmpbuf; 344 if (data->in_buf != &tmpbuf) 409 if (data->in_buf == &tmpbuf)
|
/external/wpa_supplicant_8/src/eap_peer/ |
eap_ikev2.c | 337 struct wpabuf tmpbuf; local 411 wpabuf_set(&tmpbuf, pos, end - pos); 412 data->in_buf = &tmpbuf; 416 if (data->in_buf == &tmpbuf) 422 if (data->in_buf != &tmpbuf)
|
eap_tnc.c | 218 struct wpabuf tmpbuf; local 290 wpabuf_set(&tmpbuf, pos, end - pos); 291 data->in_buf = &tmpbuf; 345 if (data->in_buf != &tmpbuf) 410 if (data->in_buf == &tmpbuf)
|
/external/srec/srec/cfront/ |
spec_anl.c | 423 fftdata *tmpbuf; local 431 tmpbuf = (fftdata *) CALLOC(ns, sizeof(fftdata), "cfront.tmpbuf"); 460 tmpbuf[i] = (int)(w1 * inbuf[u] + w2 * inbuf[l]); 464 tmpbuf[i] = inbuf[ns-1]; 476 inbuf[i] = tmpbuf[i]; 478 FREE((char *) tmpbuf);
|
/external/bluetooth/glib/glib/gnulib/ |
vasnprintf.c | 385 char tmpbuf[700]; local 607 if (tmp_length <= sizeof (tmpbuf)) 608 tmp = tmpbuf; 1051 if (tmp != tmpbuf)
|
/external/e2fsprogs/intl/ |
vasnprintf.c | 271 CHAR_T tmpbuf[700]; local 485 if (tmp_length <= sizeof (tmpbuf) / sizeof (CHAR_T)) 486 tmp = tmpbuf; 837 if (tmp != tmpbuf)
|