Home
last modified time | relevance | path

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

/titanic_41/usr/src/common/net/wanboot/crypt/
H A Dcbc.c40 cbc_xorblock(uint8_t *lastp, uint8_t *thisp, int blocksize) in cbc_xorblock() argument
47 IS_P2ALIGNED(lastp, sizeof (uint32_t)) && in cbc_xorblock()
52 last32p = (uint32_t *)lastp; in cbc_xorblock()
60 thisp[i] ^= lastp[i]; in cbc_xorblock()
69 uint8_t *lastp; in cbc_encrypt() local
78 lastp = IV; in cbc_encrypt()
81 cbc_xorblock(lastp, thisp, ch->blocklen); in cbc_encrypt()
84 lastp = thisp; in cbc_encrypt()
88 bcopy(lastp, IV, ch->blocklen); in cbc_encrypt()
97 uint8_t *lastp; in cbc_decrypt() local
[all …]
/titanic_41/usr/src/common/crypto/modes/
H A Dcbc.c52 uint8_t *lastp; in cbc_encrypt_contiguous_blocks() local
69 lastp = (uint8_t *)ctx->cbc_iv; in cbc_encrypt_contiguous_blocks()
94 xor_block(lastp, blockp); in cbc_encrypt_contiguous_blocks()
98 lastp = blockp; in cbc_encrypt_contiguous_blocks()
111 xor_block(blockp, lastp); in cbc_encrypt_contiguous_blocks()
112 encrypt(ctx->cbc_keysched, lastp, lastp); in cbc_encrypt_contiguous_blocks()
118 copy_block(lastp, out_data_1); in cbc_encrypt_contiguous_blocks()
120 bcopy(lastp, out_data_1, out_data_1_len); in cbc_encrypt_contiguous_blocks()
122 bcopy(lastp + out_data_1_len, in cbc_encrypt_contiguous_blocks()
179 uint8_t *lastp; in cbc_decrypt_contiguous_blocks() local
[all …]
H A Dctr.c52 uint8_t *lastp; in ctr_mode_contiguous_blocks() local
70 lastp = (uint8_t *)ctx->ctr_cb; in ctr_mode_contiguous_blocks()
94 lastp = (uint8_t *)ctx->ctr_tmp; in ctr_mode_contiguous_blocks()
119 xor_block(blockp, lastp); in ctr_mode_contiguous_blocks()
123 bcopy(lastp, ctx->ctr_copy_to, in ctr_mode_contiguous_blocks()
125 bcopy(lastp + ctx->ctr_remainder_len, datap, in ctr_mode_contiguous_blocks()
133 bcopy(lastp, out_data_1, out_data_1_len); in ctr_mode_contiguous_blocks()
135 bcopy(lastp + out_data_1_len, out_data_2, in ctr_mode_contiguous_blocks()
171 uint8_t *lastp; in ctr_mode_final() local
186 lastp = (uint8_t *)ctx->ctr_tmp; in ctr_mode_final()
[all …]
H A Decb.c50 uint8_t *lastp; in ecb_cipher_contiguous_blocks() local
67 lastp = (uint8_t *)ctx->ecb_iv; in ecb_cipher_contiguous_blocks()
91 lastp = blockp; in ecb_cipher_contiguous_blocks()
100 cipher(ctx->ecb_keysched, blockp, lastp); in ecb_cipher_contiguous_blocks()
105 bcopy(lastp, out_data_1, out_data_1_len); in ecb_cipher_contiguous_blocks()
107 bcopy(lastp + out_data_1_len, out_data_2, in ecb_cipher_contiguous_blocks()
H A Dccm.c58 uint8_t *lastp; in ccm_mode_encrypt_contiguous_blocks() local
77 lastp = (uint8_t *)ctx->ccm_cb; in ccm_mode_encrypt_contiguous_blocks()
112 lastp = (uint8_t *)ctx->ccm_tmp; in ccm_mode_encrypt_contiguous_blocks()
127 xor_block(blockp, lastp); in ccm_mode_encrypt_contiguous_blocks()
144 copy_block(lastp, out_data_1); in ccm_mode_encrypt_contiguous_blocks()
146 bcopy(lastp, out_data_1, out_data_1_len); in ccm_mode_encrypt_contiguous_blocks()
148 bcopy(lastp + out_data_1_len, in ccm_mode_encrypt_contiguous_blocks()
211 uint8_t *lastp, *mac_buf, *ccm_mac_p, *macp; in ccm_encrypt_final() local
250 lastp = (uint8_t *)ctx->ccm_tmp; in ccm_encrypt_final()
251 encrypt_block(ctx->ccm_keysched, (uint8_t *)ctx->ccm_cb, lastp); in ccm_encrypt_final()
[all …]
H A Dgcm.c141 uint8_t *lastp; in gcm_mode_encrypt_contiguous_blocks() local
160 lastp = (uint8_t *)ctx->gcm_cb; in gcm_mode_encrypt_contiguous_blocks()
193 lastp = (uint8_t *)ctx->gcm_tmp; in gcm_mode_encrypt_contiguous_blocks()
210 copy_block(lastp, out_data_1); in gcm_mode_encrypt_contiguous_blocks()
212 bcopy(lastp, out_data_1, out_data_1_len); in gcm_mode_encrypt_contiguous_blocks()
214 bcopy(lastp + out_data_1_len, in gcm_mode_encrypt_contiguous_blocks()
/titanic_41/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 == NULL)
229 SH_LIST_INSERT_AFTER(lastp, newp, links, __data);
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->next_pgno = PGNO(pagep);
240 pagep->prev_pgno = PGNO(lastp);
241 (void)memp_fput(dbp->mpf, lastp, DB_MPOOL_DIRTY);
[all …]
/titanic_41/usr/src/lib/libc/port/locale/
H A Drune.c55 void *lastp; in _Read_RuneMagi() local
95 lastp = fdata + sb.st_size; in _Read_RuneMagi()
105 if (variable > lastp) { in _Read_RuneMagi()
111 if (variable > lastp) { in _Read_RuneMagi()
117 if (variable > lastp) { in _Read_RuneMagi()
130 if (variable > lastp) { in _Read_RuneMagi()
136 if ((char *)variable + frl->variable_len > (char *)lastp) { in _Read_RuneMagi()
/titanic_41/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;
/titanic_41/usr/src/lib/libdladm/common/
H A Dpropfuncs.c123 prop_db_info_t *lastp = NULL, *lip = listp, *nlip = NULL; in process_prop_set() local
139 lastp = lip; in process_prop_set()
154 if (lastp != NULL) in process_prop_set()
155 lastp->li_nextprop = nlip; in process_prop_set()
/titanic_41/usr/src/cmd/abi/spectrans/spec2trace/
H A Dparseproto.y1303 type_t *lastp = dp; in type_AddTail() local
1306 while (p = lastp->t_next) in type_AddTail()
1307 lastp = p; in type_AddTail()
1309 lastp->t_next = tp; in type_AddTail()
1614 decl_t *lastp = dp; in decl_AddArg() local
1617 while (p = lastp->d_next) in decl_AddArg()
1618 lastp = p; in decl_AddArg()
1620 lastp->d_next = tp; in decl_AddArg()
/titanic_41/usr/src/lib/brand/solaris10/s10_support/
H A Ds10_support.c246 char *lastp; in have_valid_ku() local
285 while ((p = strtok_r(pstr, " ", &lastp)) != NULL) { in have_valid_ku()
/titanic_41/usr/src/cmd/more/
H A Dmore.c953 static int lastcmd, lastp; variable
987 lastp = colonch = 0; in command()
989 lastp++; in command()
1131 lastp++; in command()
1139 if (lastp) { in command()
1295 if (lastp) in do_shell()
/titanic_41/usr/src/uts/common/fs/hsfs/
H A Dhsfs_vnops.c812 struct page *pp, *searchp, *lastp; in hsfs_getpage_ra() local
929 lastp = NULL; in hsfs_getpage_ra()
963 if (lastp != searchp) { in hsfs_getpage_ra()
1038 lastp = searchp; in hsfs_getpage_ra()
1103 struct page *pp, *searchp, *lastp; in hsfs_getapage() local
1302 lastp = NULL; in hsfs_getapage()
1327 if (lastp != searchp) { in hsfs_getapage()
1427 lastp = searchp; in hsfs_getapage()
/titanic_41/usr/src/cmd/fs.d/nfs/lib/
H A Dnfslog_config.c694 nfsl_config_t *lastp = NULL; in getlastconfig() local
697 lastp = listp; in getlastconfig()
699 return (lastp); in getlastconfig()
/titanic_41/usr/src/cmd/man/
H A Dman.c421 struct man_node *lastp = NULL; in build_manpath() local
457 lastp = manpage = currp; in build_manpath()
472 lastp->next = currp; in build_manpath()
473 lastp = currp; in build_manpath()
/titanic_41/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/
H A Dpi_subr.c599 char *lastp; in pi_get_path() local
622 if ((token = strtok_r(buf, "/@", &lastp)) != NULL) { in pi_get_path()
624 while ((token = strtok_r(NULL, "/@", &lastp)) != NULL) { in pi_get_path()
/titanic_41/usr/src/cmd/lockstat/
H A Dlockstat.c1026 char *addrp, *offp, *sizep, *evp, *lastp, *p; in main() local
1151 evp = strtok_r(optarg, ",", &lastp); in main()
1165 evp = strtok_r(NULL, ",", &lastp); in main()
/titanic_41/usr/src/lib/libshell/common/sh/
H A Dinit.c804 register char *lastp, *oldp=str, *newp=strchr(oldp,':'); in vpath_set() local
810 if(lastp=strchr(newp,':')) in vpath_set()
811 *lastp = 0; in vpath_set()
815 newp=lastp; in vpath_set()
/titanic_41/usr/src/lib/hbaapi/common/
H A DHBAAPILIB.c385 HBA_ADAPTERCALLBACK_ELEM **lastp; in local_remove_callback() local
404 lastp = *listp; in local_remove_callback()
407 lastp = &(cbp->next); in local_remove_callback()
416 *lastp = cbp->next; in local_remove_callback()
/titanic_41/usr/src/lib/smhba/common/
H A DSMHBAAPILIB.c498 HBA_ADAPTERCALLBACK_ELEM **lastp; in local_remove_callback() local
523 lastp = *listp; in local_remove_callback()
526 lastp = &(cbp->next); in local_remove_callback()
536 *lastp = cbp->next; in local_remove_callback()
/titanic_41/usr/src/uts/common/io/
H A Dstream.c1533 mblk_t *lastp = NULL; in rmvb() local
1538 if (lastp) in rmvb()
1539 lastp->b_cont = tmp->b_cont; in rmvb()
1545 lastp = tmp; in rmvb()
/titanic_41/usr/src/cmd/zoneadm/
H A Dzoneadm.c3176 char *lastp; in opt_match() local
3178 if ((p = strtok_r(options, ",", &lastp)) != NULL) { in opt_match()
3181 while ((p = strtok_r(NULL, ",", &lastp)) != NULL) { in opt_match()
/titanic_41/usr/src/cmd/cpio/
H A Dcpio.c5358 char *lastp; in missdir() local
5363 lastp = c_p + strlen(nam_p) - 1; in missdir()
5364 if (*lastp == '/') in missdir()
5365 *lastp = '\0'; in missdir()