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

/illumos-gate/usr/src/common/net/wanboot/crypt/
H A Dcbc.c40 cbc_xorblock(uint8_t *lastp, uint8_t *thisp, int blocksize) argument
47 IS_P2ALIGNED(lastp, sizeof (uint32_t)) &&
52 last32p = (uint32_t *)lastp;
60 thisp[i] ^= lastp[i];
69 uint8_t *lastp; local
78 lastp = IV;
81 cbc_xorblock(lastp, thisp, ch->blocklen);
84 lastp = thisp;
88 bcopy(lastp, IV, ch->blocklen);
97 uint8_t *lastp; local
[all...]
/illumos-gate/usr/src/common/crypto/modes/
H A Dcbc.c52 uint8_t *lastp; local
69 lastp = (uint8_t *)ctx->cbc_iv;
94 xor_block(lastp, blockp);
98 lastp = blockp;
111 xor_block(blockp, lastp);
112 encrypt(ctx->cbc_keysched, lastp, lastp);
118 copy_block(lastp, out_data_1);
120 bcopy(lastp, out_data_1, out_data_1_len);
122 bcopy(lastp
179 uint8_t *lastp; local
[all...]
H A Decb.c50 uint8_t *lastp; local
67 lastp = (uint8_t *)ctx->ecb_iv;
91 lastp = blockp;
100 cipher(ctx->ecb_keysched, blockp, lastp);
105 bcopy(lastp, out_data_1, out_data_1_len);
107 bcopy(lastp + out_data_1_len, out_data_2,
H A Dctr.c52 uint8_t *lastp; local
70 lastp = (uint8_t *)ctx->ctr_cb;
94 lastp = (uint8_t *)ctx->ctr_tmp;
119 xor_block(blockp, lastp);
123 bcopy(lastp, ctx->ctr_copy_to,
125 bcopy(lastp + ctx->ctr_remainder_len, datap,
133 bcopy(lastp, out_data_1, out_data_1_len);
135 bcopy(lastp + out_data_1_len, out_data_2,
171 uint8_t *lastp; local
186 lastp
[all...]
H A Dccm.c58 uint8_t *lastp; local
77 lastp = (uint8_t *)ctx->ccm_cb;
112 lastp = (uint8_t *)ctx->ccm_tmp;
127 xor_block(blockp, lastp);
144 copy_block(lastp, out_data_1);
146 bcopy(lastp, out_data_1, out_data_1_len);
148 bcopy(lastp + out_data_1_len,
211 uint8_t *lastp, *mac_buf, *ccm_mac_p, *macp; local
250 lastp = (uint8_t *)ctx->ccm_tmp;
251 encrypt_block(ctx->ccm_keysched, (uint8_t *)ctx->ccm_cb, lastp);
[all...]
H A Dgcm.c141 uint8_t *lastp; local
160 lastp = (uint8_t *)ctx->gcm_cb;
193 lastp = (uint8_t *)ctx->gcm_tmp;
210 copy_block(lastp, out_data_1);
212 bcopy(lastp, out_data_1, out_data_1_len);
214 bcopy(lastp + out_data_1_len,
/illumos-gate/usr/src/cmd/sendmail/db/db/
H A Ddb_salloc.c155 struct __data *elp, *lastp, *newp; local
186 for (elp = SH_LIST_FIRST(hp, __data), lastp = NULL;
188 lastp = elp, elp = SH_LIST_NEXT(elp, links, __data))
203 if (lastp != NULL)
204 SH_LIST_INSERT_AFTER(lastp, newp, links, __data);
211 if (lastp != NULL && (u_int8_t *)lastp +
212 lastp->len + sizeof(size_t) == (u_int8_t *)newp) {
213 lastp->len += newp->len + sizeof(size_t);
226 if (lastp
[all...]
H A Ddb_overflow.c174 PAGE *pagep, *lastp; local
190 lastp = NULL;
213 PGNO(pagep), lastp ? PGNO(lastp) : PGNO_INVALID,
215 lastp == NULL ? &null_lsn : &LSN(lastp),
220 if (lastp)
221 LSN(lastp) = new_lsn;
236 if (lastp == NULL)
239 lastp
[all...]
/illumos-gate/usr/src/lib/libc/port/locale/
H A Drune.c55 void *lastp; local
95 lastp = fdata + sb.st_size;
105 if (variable > lastp) {
111 if (variable > lastp) {
117 if (variable > lastp) {
130 if (variable > lastp) {
136 if ((char *)variable + frl->variable_len > (char *)lastp) {
/illumos-gate/usr/src/cmd/write/
H A Dwrite.c585 char *cp, *nextp, *lastp; local
605 lastp = buf + n; /* Lastp points to the first junk byte. */
606 while (nextp < lastp) {
607 if ((n = (lastp - nextp)) > (unsigned int)MB_CUR_MAX)
610 if ((lastp - nextp) < (unsigned int)MB_CUR_MAX)
617 delta_size = lastp - nextp;
623 nextp = lastp;
/illumos-gate/usr/src/lib/brand/solaris10/s10_support/
H A Ds10_support.c246 char *lastp; local
285 while ((p = strtok_r(pstr, " ", &lastp)) != NULL) {
/illumos-gate/usr/src/lib/libdladm/common/
H A Dpropfuncs.c123 prop_db_info_t *lastp = NULL, *lip = listp, *nlip = NULL; local
139 lastp = lip;
154 if (lastp != NULL)
155 lastp->li_nextprop = nlip;
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/
H A Dparseproto.y1303 type_t *lastp = dp;
1306 while (p = lastp->t_next)
1307 lastp = p;
1309 lastp->t_next = tp;
1614 decl_t *lastp = dp;
1617 while (p = lastp->d_next)
1618 lastp = p;
1620 lastp->d_next = tp;
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dnfslog_config.c694 nfsl_config_t *lastp = NULL; local
697 lastp = listp;
699 return (lastp);
/illumos-gate/usr/src/uts/common/fs/hsfs/
H A Dhsfs_vnops.c812 struct page *pp, *searchp, *lastp; local
929 lastp = NULL;
963 if (lastp != searchp) {
1038 lastp = searchp;
1103 struct page *pp, *searchp, *lastp; local
1302 lastp = NULL;
1327 if (lastp != searchp) {
1427 lastp = searchp;
/illumos-gate/usr/src/cmd/more/
H A Dmore.c953 static int lastcmd, lastp; variable
987 lastp = colonch = 0;
989 lastp++;
1131 lastp++;
1139 if (lastp) {
1295 if (lastp)
/illumos-gate/usr/src/cmd/man/
H A Dman.c421 struct man_node *lastp = NULL; local
457 lastp = manpage = currp;
472 lastp->next = currp;
473 lastp = currp;
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/
H A Dpi_subr.c599 char *lastp; local
622 if ((token = strtok_r(buf, "/@", &lastp)) != NULL) {
624 while ((token = strtok_r(NULL, "/@", &lastp)) != NULL) {
/illumos-gate/usr/src/cmd/lockstat/
H A Dlockstat.c1026 char *addrp, *offp, *sizep, *evp, *lastp, *p; local
1151 evp = strtok_r(optarg, ",", &lastp);
1165 evp = strtok_r(NULL, ",", &lastp);
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dinit.c804 register char *lastp, *oldp=str, *newp=strchr(oldp,':'); local
810 if(lastp=strchr(newp,':'))
811 *lastp = 0;
815 newp=lastp;
/illumos-gate/usr/src/lib/hbaapi/common/
H A DHBAAPILIB.c386 HBA_ADAPTERCALLBACK_ELEM **lastp;
405 lastp = *listp;
408 lastp = &(cbp->next);
417 *lastp = cbp->next;
385 HBA_ADAPTERCALLBACK_ELEM **lastp; local
/illumos-gate/usr/src/lib/smhba/common/
H A DSMHBAAPILIB.c498 HBA_ADAPTERCALLBACK_ELEM **lastp; local
523 lastp = *listp;
526 lastp = &(cbp->next);
536 *lastp = cbp->next;
/illumos-gate/usr/src/uts/common/io/
H A Dstream.c1533 mblk_t *lastp = NULL; local
1538 if (lastp)
1539 lastp->b_cont = tmp->b_cont;
1545 lastp = tmp;
/illumos-gate/usr/src/cmd/zoneadm/
H A Dzoneadm.c3177 char *lastp; local
3179 if ((p = strtok_r(options, ",", &lastp)) != NULL) {
3182 while ((p = strtok_r(NULL, ",", &lastp)) != NULL) {
/illumos-gate/usr/src/cmd/cpio/
H A Dcpio.c5358 char *lastp; local
5363 lastp = c_p + strlen(nam_p) - 1;
5364 if (*lastp == '/')
5365 *lastp = '\0';

Completed in 146 milliseconds