Searched defs:tmp_buf (Results 1 - 6 of 6) sorted by relevance

/external/openssl/crypto/evp/
H A Ddigest.c292 unsigned char *tmp_buf; local
309 tmp_buf = out->md_data;
312 else tmp_buf = NULL;
318 if (tmp_buf)
319 out->md_data = tmp_buf;
/external/openssl/crypto/x509/
H A Dx509_obj.c77 char tmp_buf[80]; local
109 i2t_ASN1_OBJECT(tmp_buf,sizeof(tmp_buf),ne->object);
110 s=tmp_buf;
/external/libsepol/src/
H A Dnode_record.c393 char *tmp_buf = malloc(node->addr_sz); local
394 if (!tmp_buf) {
399 memcpy(tmp_buf, node->addr, node->addr_sz);
400 *buffer = tmp_buf;
482 char *tmp_buf = malloc(node->mask_sz); local
483 if (!tmp_buf) {
488 memcpy(tmp_buf, node->mask, node->mask_sz);
489 *buffer = tmp_buf;
/external/openssl/ssl/
H A Dd1_clnt.c989 unsigned char tmp_buf[SSL_MAX_MASTER_KEY_LENGTH]; local
1007 tmp_buf[0]=s->client_version>>8;
1008 tmp_buf[1]=s->client_version&0xff;
1009 if (RAND_bytes(&(tmp_buf[2]),sizeof tmp_buf-2) <= 0)
1012 s->session->master_key_length=sizeof tmp_buf;
1018 n=RSA_public_encrypt(sizeof tmp_buf,
1019 tmp_buf,p,rsa,RSA_PKCS1_PADDING);
1022 if (s->options & SSL_OP_PKCS1_CHECK_2) tmp_buf[0]=0x70;
1040 tmp_buf,sizeo
1055 unsigned char tmp_buf[SSL_MAX_MASTER_KEY_LENGTH]; local
[all...]
H A Ds3_clnt.c2308 unsigned char tmp_buf[SSL_MAX_MASTER_KEY_LENGTH]; local
2326 tmp_buf[0]=s->client_version>>8;
2327 tmp_buf[1]=s->client_version&0xff;
2328 if (RAND_bytes(&(tmp_buf[2]),sizeof tmp_buf-2) <= 0)
2331 s->session->master_key_length=sizeof tmp_buf;
2337 n=RSA_public_encrypt(sizeof tmp_buf,
2338 tmp_buf,p,rsa,RSA_PKCS1_PADDING);
2341 if (s->options & SSL_OP_PKCS1_CHECK_2) tmp_buf[0]=0x70;
2359 tmp_buf,sizeo
2374 unsigned char tmp_buf[SSL_MAX_MASTER_KEY_LENGTH]; local
[all...]
/external/qemu/
H A Dblock.c976 uint8_t tmp_buf[BDRV_SECTOR_SIZE]; local
988 if ((ret = bdrv_read(bs, sector_num, tmp_buf, 1)) < 0)
990 memcpy(buf, tmp_buf + (offset & (BDRV_SECTOR_SIZE - 1)), len);
1011 if ((ret = bdrv_read(bs, sector_num, tmp_buf, 1)) < 0)
1013 memcpy(buf, tmp_buf, count);
1021 uint8_t tmp_buf[BDRV_SECTOR_SIZE]; local
1033 if ((ret = bdrv_read(bs, sector_num, tmp_buf, 1)) < 0)
1035 memcpy(tmp_buf + (offset & (BDRV_SECTOR_SIZE - 1)), buf, len);
1036 if ((ret = bdrv_write(bs, sector_num, tmp_buf, 1)) < 0)
1058 if ((ret = bdrv_read(bs, sector_num, tmp_buf,
[all...]

Completed in 108 milliseconds