Searched refs:hd (Results 1 - 25 of 72) sorted by relevance

123

/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/libgcrypt-1.5.0/src/
H A Dhmac256.h28 void _gcry_hmac256_update (hmac256_context_t hd, const void *buf, size_t len);
29 const void *_gcry_hmac256_finalize (hmac256_context_t hd, size_t *r_dlen);
30 void _gcry_hmac256_release (hmac256_context_t hd);
H A Dhmac256.c130 transform (hmac256_context_t hd, const void *data_arg)
179 a = hd->h0;
180 b = hd->h1;
181 c = hd->h2;
182 d = hd->h3;
183 e = hd->h4;
184 f = hd->h5;
185 g = hd->h6;
186 h = hd->h7;
212 hd
129 transform(hmac256_context_t hd, const void *data_arg) argument
231 finalize(hmac256_context_t hd) argument
305 hmac256_context_t hd; local
383 _gcry_hmac256_update(hmac256_context_t hd, const void *buffer, size_t length) argument
428 _gcry_hmac256_finalize(hmac256_context_t hd, size_t *r_dlen) argument
465 hmac256_context_t hd; local
653 hmac256_context_t hd; local
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/sh/drivers/
H A Dheartbeat.c39 struct heartbeat_data *hd = (struct heartbeat_data *)data; local
42 ctrl_outw(1 << hd->bit_pos[bit], (unsigned long)hd->base);
44 if ((bit == 0) || (bit == ARRAY_SIZE(hd->bit_pos)-1))
47 mod_timer(&hd->timer, jiffies + (110 - ((300 << FSHIFT) /
54 struct heartbeat_data *hd; local
67 hd = kmalloc(sizeof(struct heartbeat_data), GFP_KERNEL);
68 if (unlikely(!hd))
72 memcpy(hd->bit_pos, pdev->dev.platform_data,
73 ARRAY_SIZE(hd
91 struct heartbeat_data *hd = platform_get_drvdata(pdev); local
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/libgcrypt-1.5.0/cipher/
H A Dmd4.c197 MD4_CONTEXT *hd = context; local
199 if( hd->count == 64 ) /* flush the buffer */
201 transform( hd, hd->buf );
203 hd->count = 0;
204 hd->nblocks++;
209 if( hd->count )
211 for( ; inlen && hd->count < 64; inlen-- )
212 hd->buf[hd
242 MD4_CONTEXT *hd = context; local
306 MD4_CONTEXT *hd = context; local
[all...]
H A Dsha512.c67 SHA512_CONTEXT *hd = context; local
69 hd->h0 = U64_C(0x6a09e667f3bcc908);
70 hd->h1 = U64_C(0xbb67ae8584caa73b);
71 hd->h2 = U64_C(0x3c6ef372fe94f82b);
72 hd->h3 = U64_C(0xa54ff53a5f1d36f1);
73 hd->h4 = U64_C(0x510e527fade682d1);
74 hd->h5 = U64_C(0x9b05688c2b3e6c1f);
75 hd->h6 = U64_C(0x1f83d9abfb41bd6b);
76 hd->h7 = U64_C(0x5be0cd19137e2179);
78 hd
85 SHA512_CONTEXT *hd = context; local
135 transform(SHA512_CONTEXT *hd, const unsigned char *data) argument
310 SHA512_CONTEXT *hd = context; local
355 SHA512_CONTEXT *hd = context; local
435 SHA512_CONTEXT *hd = (SHA512_CONTEXT *) context; local
[all...]
H A Dhash-common.c50 gcry_md_hd_t hd; local
56 err = _gcry_md_open (&hd, algo, 0);
63 _gcry_md_write (hd, data, datalen);
74 _gcry_md_write (hd, aaa, 1000);
84 digest = _gcry_md_read (hd, algo);
90 _gcry_md_close (hd);
H A Dsha256.c59 SHA256_CONTEXT *hd = context; local
61 hd->h0 = 0x6a09e667;
62 hd->h1 = 0xbb67ae85;
63 hd->h2 = 0x3c6ef372;
64 hd->h3 = 0xa54ff53a;
65 hd->h4 = 0x510e527f;
66 hd->h5 = 0x9b05688c;
67 hd->h6 = 0x1f83d9ab;
68 hd->h7 = 0x5be0cd19;
70 hd
78 SHA256_CONTEXT *hd = context; local
143 transform(SHA256_CONTEXT *hd, const unsigned char *data) argument
269 SHA256_CONTEXT *hd = context; local
311 SHA256_CONTEXT *hd = context; local
378 SHA256_CONTEXT *hd = context; local
[all...]
H A Dsha1.c70 SHA1_CONTEXT *hd = context; local
72 hd->h0 = 0x67452301;
73 hd->h1 = 0xefcdab89;
74 hd->h2 = 0x98badcfe;
75 hd->h3 = 0x10325476;
76 hd->h4 = 0xc3d2e1f0;
77 hd->nblocks = 0;
78 hd->count = 0;
108 transform (SHA1_CONTEXT *hd, const unsigned char *data, size_t nblocks) argument
135 a = hd
240 SHA1_CONTEXT *hd = context; local
289 SHA1_CONTEXT *hd = context; local
355 SHA1_CONTEXT *hd = context; local
367 SHA1_CONTEXT hd; local
[all...]
H A Dmd5.c222 MD5_CONTEXT *hd = context; local
224 if( hd->count == 64 ) /* flush the buffer */
226 transform( hd, hd->buf );
228 hd->count = 0;
229 hd->nblocks++;
234 if( hd->count )
236 for( ; inlen && hd->count < 64; inlen-- )
237 hd->buf[hd
268 MD5_CONTEXT *hd = context; local
332 MD5_CONTEXT *hd = (MD5_CONTEXT *) context; local
[all...]
H A Drmd.h34 void _gcry_rmd160_mixblock ( RMD160_CONTEXT *hd, void *blockof64byte );
H A Drmd160.c146 RMD160_CONTEXT *hd = context; local
148 hd->h0 = 0x67452301;
149 hd->h1 = 0xEFCDAB89;
150 hd->h2 = 0x98BADCFE;
151 hd->h3 = 0x10325476;
152 hd->h4 = 0xC3D2E1F0;
153 hd->nblocks = 0;
154 hd->count = 0;
163 transform ( RMD160_CONTEXT *hd, const unsigned char *data ) argument
214 a = hd
406 RMD160_CONTEXT *hd = context; local
446 _gcry_rmd160_mixblock( RMD160_CONTEXT *hd, void *blockof64byte ) argument
467 RMD160_CONTEXT *hd = context; local
531 RMD160_CONTEXT *hd = context; local
545 RMD160_CONTEXT hd; local
[all...]
H A Dmd.c158 static gcry_err_code_t md_enable (gcry_md_hd_t hd, int algo);
436 gcry_md_hd_t hd; local
459 hd = gcry_malloc_secure (n + sizeof (struct gcry_md_context));
461 hd = gcry_malloc (n + sizeof (struct gcry_md_context));
463 if (! hd)
468 hd->ctx = ctx = (struct gcry_md_context *) ((char *) hd + n);
470 hd->bufsize = n - sizeof (struct gcry_md_handle) + 1;
471 hd->bufpos = 0;
474 memset (hd
528 gcry_md_hd_t hd; local
545 md_enable(gcry_md_hd_t hd, int algorithm) argument
624 gcry_md_enable(gcry_md_hd_t hd, int algorithm) argument
718 gcry_md_copy(gcry_md_hd_t *handle, gcry_md_hd_t hd) argument
780 gcry_md_close(gcry_md_hd_t hd) argument
809 gcry_md_write(gcry_md_hd_t hd, const void *inbuf, size_t inlen) argument
853 prepare_macpads(gcry_md_hd_t hd, const unsigned char *key, size_t keylen) argument
890 gcry_md_ctl(gcry_md_hd_t hd, int cmd, void *buffer, size_t buflen) argument
915 gcry_md_setkey(gcry_md_hd_t hd, const void *key, size_t keylen) argument
935 gcry_md_debug(gcry_md_hd_t hd, const char *suffix) argument
978 gcry_md_read(gcry_md_hd_t hd, int algo) argument
992 gcry_md_get(gcry_md_hd_t hd, int algo, byte *buffer, int buflen) argument
1062 gcry_md_get_algo(gcry_md_hd_t hd) argument
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/message/fusion/
H A Dmptscsih.c91 static void mptscsih_copy_sense_data(struct scsi_cmnd *sc, MPT_SCSI_HOST *hd, MPT_FRAME_HDR *mf, SCSIIOReply_t *pScsiReply);
92 static int mptscsih_tm_pending_wait(MPT_SCSI_HOST * hd);
93 static int mptscsih_tm_wait_for_completion(MPT_SCSI_HOST * hd, ulong timeout );
96 static int mptscsih_IssueTaskMgmt(MPT_SCSI_HOST *hd, u8 type, u8 channel, u8 id, int lun, int ctx2abort, ulong timeout);
102 static int mptscsih_do_cmd(MPT_SCSI_HOST *hd, INTERNAL_CMD *iocmd);
103 static void mptscsih_synchronize_cache(MPT_SCSI_HOST *hd, VirtDevice *vdevice);
592 MPT_SCSI_HOST *hd; local
599 hd = (MPT_SCSI_HOST *) ioc->sh->hostdata;
611 hd->ScsiLookup[req_idx_MR]);
615 sc = hd
938 mptscsih_flush_running_cmds(MPT_SCSI_HOST *hd) argument
1009 mptscsih_search_running_cmds(MPT_SCSI_HOST *hd, VirtDevice *vdevice) argument
1079 MPT_SCSI_HOST *hd; local
1107 MPT_SCSI_HOST *hd; local
1156 MPT_SCSI_HOST *hd; local
1302 MPT_SCSI_HOST *hd = (MPT_SCSI_HOST *)host->hostdata; local
1338 MPT_SCSI_HOST *hd; local
1543 mptscsih_TMHandler(MPT_SCSI_HOST *hd, u8 type, u8 channel, u8 id, int lun, int ctx2abort, ulong timeout) argument
1654 mptscsih_IssueTaskMgmt(MPT_SCSI_HOST *hd, u8 type, u8 channel, u8 id, int lun, int ctx2abort, ulong timeout) argument
1766 MPT_SCSI_HOST *hd; local
1851 MPT_SCSI_HOST *hd; local
1899 MPT_SCSI_HOST *hd; local
1945 MPT_SCSI_HOST * hd; local
1987 mptscsih_tm_pending_wait(MPT_SCSI_HOST * hd) argument
2018 mptscsih_tm_wait_for_completion(MPT_SCSI_HOST * hd, ulong timeout ) argument
2093 MPT_SCSI_HOST *hd; local
2309 MPT_SCSI_HOST *hd = (MPT_SCSI_HOST *)host->hostdata; local
2336 MPT_SCSI_HOST *hd = (MPT_SCSI_HOST *)sdev->host->hostdata; local
2380 MPT_SCSI_HOST *hd = (MPT_SCSI_HOST *)sh->hostdata; local
2435 mptscsih_copy_sense_data(struct scsi_cmnd *sc, MPT_SCSI_HOST *hd, MPT_FRAME_HDR *mf, SCSIIOReply_t *pScsiReply) argument
2491 MPT_SCSI_HOST *hd; local
2509 MPT_SCSI_HOST *hd; local
2611 MPT_SCSI_HOST *hd; local
2689 MPT_SCSI_HOST *hd; local
2851 MPT_SCSI_HOST *hd = (MPT_SCSI_HOST *) data; local
2909 mptscsih_do_cmd(MPT_SCSI_HOST *hd, INTERNAL_CMD *io) argument
3147 mptscsih_synchronize_cache(MPT_SCSI_HOST *hd, VirtDevice *vdevice) argument
[all...]
H A Dmptspi.c100 * @hd: Pointer to a SCSI Host Structure
108 mptspi_setTargetNegoParms(MPT_SCSI_HOST *hd, VirtTarget *target, argument
111 SpiCfgData *pspi_data = &hd->ioc->spi_data;
235 * @hd: Pointer to a SCSI Host Structure
245 mptspi_writeIOCPage4(MPT_SCSI_HOST *hd, u8 channel , u8 id) argument
247 MPT_ADAPTER *ioc = hd->ioc;
312 * @hd: Pointer to MPT_SCSI_HOST structure
324 mptspi_initTarget(MPT_SCSI_HOST *hd, VirtTarget *vtarget, argument
339 if ((sdev->type == TYPE_PROCESSOR) && (hd->ioc->spi_data.Saf_Te)) {
343 mptspi_writeIOCPage4(hd, vtarge
372 mptspi_is_raid(struct _MPT_SCSI_HOST *hd, u32 id) argument
395 struct _MPT_SCSI_HOST *hd = (struct _MPT_SCSI_HOST *)shost->hostdata; local
464 mptspi_print_write_nego(struct _MPT_SCSI_HOST *hd, struct scsi_target *starget, u32 ii) argument
489 mptspi_print_read_nego(struct _MPT_SCSI_HOST *hd, struct scsi_target *starget, u32 ii) argument
510 struct _MPT_SCSI_HOST *hd = (struct _MPT_SCSI_HOST *)shost->hostdata; local
609 mptscsih_quiesce_raid(MPT_SCSI_HOST *hd, int quiesce, u8 channel, u8 id) argument
661 mptspi_dv_device(struct _MPT_SCSI_HOST *hd, struct scsi_device *sdev) argument
695 MPT_SCSI_HOST *hd = (MPT_SCSI_HOST *)sdev->host->hostdata; local
727 struct _MPT_SCSI_HOST *hd = local
756 struct _MPT_SCSI_HOST *hd = (MPT_SCSI_HOST *) SCpnt->device->host->hostdata; local
831 struct _MPT_SCSI_HOST *hd = (struct _MPT_SCSI_HOST *)shost->hostdata; local
1017 struct _MPT_SCSI_HOST *hd = (struct _MPT_SCSI_HOST *)shost->hostdata; local
1060 struct _MPT_SCSI_HOST *hd; member in struct:work_queue_wrapper
1068 struct _MPT_SCSI_HOST *hd = wqw->hd; local
1104 mpt_dv_raid(struct _MPT_SCSI_HOST *hd, int disk) argument
1125 struct _MPT_SCSI_HOST *hd = (struct _MPT_SCSI_HOST *)ioc->sh->hostdata; local
1142 struct _MPT_SCSI_HOST *hd = local
1207 struct _MPT_SCSI_HOST *hd = wqw->hd; local
1233 mptspi_dv_renegotiate(struct _MPT_SCSI_HOST *hd) argument
1252 struct _MPT_SCSI_HOST *hd = (struct _MPT_SCSI_HOST *)ioc->sh->hostdata; local
1271 struct _MPT_SCSI_HOST *hd = (struct _MPT_SCSI_HOST *)ioc->sh->hostdata; local
1294 MPT_SCSI_HOST *hd; local
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/dlm/
H A Dutil.c17 static void header_out(struct dlm_header *hd) argument
19 hd->h_version = cpu_to_le32(hd->h_version);
20 hd->h_lockspace = cpu_to_le32(hd->h_lockspace);
21 hd->h_nodeid = cpu_to_le32(hd->h_nodeid);
22 hd->h_length = cpu_to_le16(hd->h_length);
25 static void header_in(struct dlm_header *hd) argument
35 struct dlm_header *hd = (struct dlm_header *) ms; local
61 struct dlm_header *hd = (struct dlm_header *) ms; local
129 struct dlm_header *hd = (struct dlm_header *) rc; local
149 struct dlm_header *hd = (struct dlm_header *) rc; local
[all...]
H A Drequestqueue.h16 int dlm_add_requestqueue(struct dlm_ls *ls, int nodeid, struct dlm_header *hd);
H A Drcom.h21 void dlm_receive_rcom(struct dlm_header *hd, int nodeid);
H A Drequestqueue.c33 int dlm_add_requestqueue(struct dlm_ls *ls, int nodeid, struct dlm_header *hd) argument
36 int length = hd->h_length;
46 memcpy(e->request, hd, length);
68 struct dlm_header *hd; local
82 hd = (struct dlm_header *) e->request;
83 error = dlm_receive_message(hd, e->nodeid, 1);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/ffmpeg-0.5.1/libavformat/
H A Dgopher.c30 URLContext *hd; member in struct:__anon650
36 return url_write(s->hd, buf, size);
69 if (s->hd) {
70 url_close(s->hd);
71 s->hd = NULL;
100 s->hd = NULL;
101 err = url_open(&s->hd, buf, URL_RDWR);
116 int len = url_read(s->hd, buf, size);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/curl-7.23.1/docs/examples/
H A Danyauthput.c105 intptr_t hd ; local
118 hd = open(file, O_RDONLY) ;
119 fstat(hd, &file_info);
131 curl_easy_setopt(curl, CURLOPT_READDATA, (void*)hd);
137 curl_easy_setopt(curl, CURLOPT_IOCTLDATA, (void*)hd);
165 close(hd); /* close the local file */
H A Dhttpput.c59 int hd ; local
72 hd = open(file, O_RDONLY) ;
73 fstat(hd, &file_info);
74 close(hd) ;
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/ide/legacy/
H A DMakefile11 obj-$(CONFIG_BLK_DEV_HD) += hd.o
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/scsi/
H A Dsgiwd93.c39 } hd; member in struct:ip22_hostdata
99 struct hpc_chunk *hcp = (struct hpc_chunk *) hdata->hd.cpu;
119 hregs->ndptr = hdata->hd.dma;
164 static inline void init_hpc_chain(struct hpc_data *hd) argument
166 struct hpc_chunk *hcp = (struct hpc_chunk *) hd->cpu;
167 struct hpc_chunk *dma = (struct hpc_chunk *) hd->dma;
179 hcp->desc.pnext = hd->dma;
235 hdata->hd.cpu = dma_alloc_coherent(&pdev->dev, PAGE_SIZE,
236 &hdata->hd.dma, GFP_KERNEL);
237 if (!hdata->hd
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/libgcrypt-1.5.0/tests/
H A Daeswrap.c65 gcry_cipher_hd_t hd; local
69 err = gcry_cipher_open (&hd, algo, GCRY_CIPHER_MODE_AESWRAP, 0);
76 err = gcry_cipher_setkey (hd, kek, keklen);
87 err = gcry_cipher_encrypt (hd, outbuf, outbuflen, data, datalen);
114 err = gcry_cipher_decrypt (hd, outbuf, outbuflen, expected, expectedlen);
137 gcry_cipher_reset (hd);
143 err = gcry_cipher_decrypt (hd, outbuf, outbuflen, expected, expectedlen);
158 err = gcry_cipher_decrypt (hd, outbuf, outbuflen, expected, expectedlen);
168 gcry_cipher_close (hd);
H A Dhmac.c64 gcry_md_hd_t hd; local
70 err = gcry_md_open (&hd, algo, GCRY_MD_FLAG_HMAC);
84 err = gcry_md_setkey (hd, key, keylen);
91 gcry_md_write (hd, data, datalen);
93 p = gcry_md_read (hd, 0);
108 gcry_md_close (hd);

Completed in 109 milliseconds

123