Searched defs:hd (Results 1 - 25 of 47) sorted by relevance

12

/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt/cipher/
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 Dhmac-tests.c54 gcry_md_hd_t hd; local
60 if (_gcry_md_open (&hd, algo, GCRY_MD_FLAG_HMAC))
62 if (_gcry_md_setkey (hd, key, keylen))
64 _gcry_md_close (hd);
67 _gcry_md_write (hd, data, datalen);
68 digest = _gcry_md_read (hd, algo);
71 _gcry_md_close (hd);
87 _gcry_md_close (hd);
90 _gcry_md_close (hd);
H A Dmd4.c199 MD4_CONTEXT *hd = context; local
201 if( hd->count == 64 ) /* flush the buffer */
203 transform( hd, hd->buf );
205 hd->count = 0;
206 hd->nblocks++;
211 if( hd->count )
213 for( ; inlen && hd->count < 64; inlen-- )
214 hd->buf[hd
244 MD4_CONTEXT *hd = context; local
308 MD4_CONTEXT *hd = context; local
[all...]
H A Dmd5.c224 MD5_CONTEXT *hd = context; local
226 if( hd->count == 64 ) /* flush the buffer */
228 transform( hd, hd->buf );
230 hd->count = 0;
231 hd->nblocks++;
236 if( hd->count )
238 for( ; inlen && hd->count < 64; inlen-- )
239 hd->buf[hd
270 MD5_CONTEXT *hd = context; local
334 MD5_CONTEXT *hd = (MD5_CONTEXT *) context; local
[all...]
H A Dtiger.c593 TIGER_CONTEXT *hd = context; local
595 hd->a = 0x0123456789abcdefLL;
596 hd->b = 0xfedcba9876543210LL;
597 hd->c = 0xf096a5b4c3b2e187LL;
598 hd->nblocks = 0;
599 hd->count = 0;
670 transform ( TIGER_CONTEXT *hd, const unsigned char *data ) argument
694 a = aa = hd->a;
695 b = bb = hd->b;
696 c = cc = hd
723 TIGER_CONTEXT *hd = context; local
763 TIGER_CONTEXT *hd = context; local
827 TIGER_CONTEXT *hd = context; local
[all...]
H A Drmd160.c147 RMD160_CONTEXT *hd = context; local
149 hd->h0 = 0x67452301;
150 hd->h1 = 0xEFCDAB89;
151 hd->h2 = 0x98BADCFE;
152 hd->h3 = 0x10325476;
153 hd->h4 = 0xC3D2E1F0;
154 hd->nblocks = 0;
155 hd->count = 0;
164 transform ( RMD160_CONTEXT *hd, const unsigned char *data ) argument
216 a = hd
408 RMD160_CONTEXT *hd = context; local
448 _gcry_rmd160_mixblock( RMD160_CONTEXT *hd, void *blockof64byte ) argument
469 RMD160_CONTEXT *hd = context; local
533 RMD160_CONTEXT *hd = context; local
547 RMD160_CONTEXT hd; local
[all...]
H A Dsha1.c71 SHA1_CONTEXT *hd = context; local
73 hd->h0 = 0x67452301;
74 hd->h1 = 0xefcdab89;
75 hd->h2 = 0x98badcfe;
76 hd->h3 = 0x10325476;
77 hd->h4 = 0xc3d2e1f0;
78 hd->nblocks = 0;
79 hd->count = 0;
109 transform (SHA1_CONTEXT *hd, const unsigned char *data, size_t nblocks) argument
136 a = hd
241 SHA1_CONTEXT *hd = context; local
290 SHA1_CONTEXT *hd = context; local
356 SHA1_CONTEXT *hd = context; local
368 SHA1_CONTEXT hd; local
[all...]
/osnet-11/usr/src/lib/libc/sparc/fp/
H A D_D_cplx_div.c93 int ha, hb, hc, hd, hz, hw, hs, i, j; local
116 hd = dd.i[0] & ~0x80000000;
117 hw = (hc > hd)? hc : hd;
153 hd = dd.i[0] & ~0x80000000;
154 hw = (hc > hd)? hc : hd;
H A D_D_cplx_div_ix.c103 int hb, hc, hd, hw, i, j; local
120 hd = dd.i[0] & ~0x80000000;
121 hw = (hc > hd)? hc : hd;
148 hd = dd.i[0] & ~0x80000000;
149 hw = (hc > hd)? hc : hd;
187 hd = (hd - 0x38000000) >> 28;
188 d = (d * scl[hd
[all...]
H A D_D_cplx_div_rx.c103 int ha, hc, hd, hw, i, j; local
120 hd = dd.i[0] & ~0x80000000;
121 hw = (hc > hd)? hc : hd;
148 hd = dd.i[0] & ~0x80000000;
149 hw = (hc > hd)? hc : hd;
187 hd = (hd - 0x38000000) >> 28;
188 d = -(d * scl[hd
[all...]
H A D_Q_cplx_div.c100 int ha, hb, hc, hd, hz, hw, hs, i, j; local
123 hd = dd.i[0] & ~0x80000000;
124 hw = (hc > hd)? hc : hd;
H A D_Q_cplx_div_ix.c95 int hb, hc, hd, hw, i, j; local
114 hd = dd.i[0] & ~0x80000000;
115 hw = (hc > hd)? hc : hd;
171 hd = (hd - 0x3fff0000) >> 16;
172 _Q_scl(&d, -hd);
174 hd += hb;
178 _Q_scle(&d, hd);
H A D_Q_cplx_div_rx.c95 int ha, hc, hd, hw, i, j; local
114 hd = dd.i[0] & ~0x80000000;
115 hw = (hc > hd)? hc : hd;
171 hd = (hd - 0x3fff0000) >> 16;
172 _Q_scl(&d, -hd);
174 hd += ha;
178 _Q_scle(&d, hd);
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt-grub/cipher/
H A Dmd4.c199 MD4_CONTEXT *hd = context; local
201 if( hd->count == 64 ) /* flush the buffer */
203 transform( hd, hd->buf );
205 hd->count = 0;
206 hd->nblocks++;
211 if( hd->count )
213 for( ; inlen && hd->count < 64; inlen-- )
214 hd->buf[hd
244 MD4_CONTEXT *hd = context; local
308 MD4_CONTEXT *hd = context; local
[all...]
H A Dmd5.c224 MD5_CONTEXT *hd = context; local
226 if( hd->count == 64 ) /* flush the buffer */
228 transform( hd, hd->buf );
230 hd->count = 0;
231 hd->nblocks++;
236 if( hd->count )
238 for( ; inlen && hd->count < 64; inlen-- )
239 hd->buf[hd
270 MD5_CONTEXT *hd = context; local
334 MD5_CONTEXT *hd = (MD5_CONTEXT *) context; local
[all...]
H A Drmd160.c147 RMD160_CONTEXT *hd = context; local
149 hd->h0 = 0x67452301;
150 hd->h1 = 0xEFCDAB89;
151 hd->h2 = 0x98BADCFE;
152 hd->h3 = 0x10325476;
153 hd->h4 = 0xC3D2E1F0;
154 hd->nblocks = 0;
155 hd->count = 0;
164 transform ( RMD160_CONTEXT *hd, const unsigned char *data ) argument
216 a = hd
408 RMD160_CONTEXT *hd = context; local
455 RMD160_CONTEXT *hd = context; local
519 RMD160_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
[all...]
H A Dsha256.c60 SHA256_CONTEXT *hd = context; local
62 hd->h0 = 0x6a09e667;
63 hd->h1 = 0xbb67ae85;
64 hd->h2 = 0x3c6ef372;
65 hd->h3 = 0xa54ff53a;
66 hd->h4 = 0x510e527f;
67 hd->h5 = 0x9b05688c;
68 hd->h6 = 0x1f83d9ab;
69 hd->h7 = 0x5be0cd19;
71 hd
79 SHA256_CONTEXT *hd = context; local
119 transform(SHA256_CONTEXT *hd, const unsigned char *data) argument
202 SHA256_CONTEXT *hd = context; local
244 SHA256_CONTEXT *hd = context; local
311 SHA256_CONTEXT *hd = context; local
[all...]
H A Dsha512.c69 SHA512_CONTEXT *hd = context; local
71 hd->h0 = U64_C(0x6a09e667f3bcc908);
72 hd->h1 = U64_C(0xbb67ae8584caa73b);
73 hd->h2 = U64_C(0x3c6ef372fe94f82b);
74 hd->h3 = U64_C(0xa54ff53a5f1d36f1);
75 hd->h4 = U64_C(0x510e527fade682d1);
76 hd->h5 = U64_C(0x9b05688c2b3e6c1f);
77 hd->h6 = U64_C(0x1f83d9abfb41bd6b);
78 hd->h7 = U64_C(0x5be0cd19137e2179);
80 hd
87 SHA512_CONTEXT *hd = context; local
107 transform(SHA512_CONTEXT *hd, const unsigned char *data) argument
236 SHA512_CONTEXT *hd = context; local
281 SHA512_CONTEXT *hd = context; local
361 SHA512_CONTEXT *hd = (SHA512_CONTEXT *) context; local
[all...]
H A Dtiger.c593 TIGER_CONTEXT *hd = context; local
595 hd->a = 0x0123456789abcdefLL;
596 hd->b = 0xfedcba9876543210LL;
597 hd->c = 0xf096a5b4c3b2e187LL;
598 hd->nblocks = 0;
599 hd->count = 0;
670 transform ( TIGER_CONTEXT *hd, const unsigned char *data ) argument
694 a = aa = hd->a;
695 b = bb = hd->b;
696 c = cc = hd
723 TIGER_CONTEXT *hd = context; local
763 TIGER_CONTEXT *hd = context; local
827 TIGER_CONTEXT *hd = context; local
[all...]
/osnet-11/usr/src/lib/libc/port/fp/
H A D__flt_decim.c268 int i, is, esum, eround, hd; local
322 hd = *(1+(int *)dd);
324 hd = *(int *)dd;
326 hd = (hd >> 20) & 0x7ff;
327 if (hd >= 0x400) {
328 if (hd > 0x4e0)
331 i = TBL_DECADE_MAX - ((0x4e0 - hd) >> 2);
333 if (hd < 0x358)
336 i = TBL_DECADE_OFFSET - ((0x3ff - hd) >>
[all...]
/osnet-11/usr/src/lib/libsmbfs/common/
H A Dsmbfs_file.c385 smb_scfhandle_t *hd; local
389 if ((hd = smbfs_fh_scf_init()) == NULL)
392 rc = smbfs_fh_scf_getbool(hd, propname, &vbool);
393 smbfs_fh_scf_fini(hd);
410 smb_scfhandle_t *hd; local
413 if ((hd = smbfs_fh_scf_init()) == NULL)
416 rc = smbfs_fh_scf_getint(hd, propname, vint);
417 smbfs_fh_scf_fini(hd);
428 smb_scfhandle_t *hd; local
431 if ((hd
478 smbfs_fh_scf_fini(smb_scfhandle_t *hd) argument
501 smbfs_fh_scf_getbool(smb_scfhandle_t *hd, const char *propname, uint8_t *vbool) argument
531 smbfs_fh_scf_getint(smb_scfhandle_t *hd, const char *propname, int64_t *vint) argument
[all...]
/osnet-11/usr/src/lib/libndr/common/
H A Dndr_svc.c198 ndr_handle_t *hd; local
201 if ((hd = malloc(sizeof (ndr_handle_t))) == NULL)
213 bcopy(&id, &hd->nh_id, sizeof (ndr_hdid_t));
214 hd->nh_fid = xa->fid;
215 hd->nh_svc = xa->binding->service;
216 hd->nh_data = (void *)data;
217 hd->nh_data_free = NULL;
220 hd->nh_next = ndr_handle_list;
221 ndr_handle_list = hd;
224 return (&hd
234 ndr_handle_t *hd; local
268 ndr_handle_t *hd; local
295 ndr_handle_t *hd; local
[all...]
/osnet-11/usr/src/lib/libcurses/screen/
H A Dmvcur.c92 hd, /* cost home-down + relative */ local
115 rl = hd = hu = LARGECOST;
156 hd = _homefirst(newy, newx, H_DO, FALSE);
160 hd >= LARGECOST)
164 if (cm <= rl && cm <= hu && cm <= hd)
167 if (rl <= hu && rl <= hd)
170 (void) _homefirst(newy, newx, hu <= hd ?
/osnet-11/usr/src/lib/libdscfg/common/
H A Dcfg_local.c336 cfgheader_t *hd; local
348 hd = cfp->cf_head;
399 hd->h_cfgs[table_index].l_size += len;
400 hd->h_cfgsizes[table_index] = cfl->l_size;

Completed in 86 milliseconds

12