Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/arcfour/
H A Darcfour_str2key.c26 unsigned char *copystr = NULL; in krb5int_arcfour_string_to_key() local
47 copystr = malloc(len); in krb5int_arcfour_string_to_key()
48 if (copystr == NULL) in krb5int_arcfour_string_to_key()
52 asctouni(copystr, (uchar_t *)string->data, slen ); in krb5int_arcfour_string_to_key()
56 krb5_MD4Update(&md4_context, (unsigned char *)copystr, len); in krb5int_arcfour_string_to_key()
72 memset (copystr, 0, len); in krb5int_arcfour_string_to_key()
75 if (copystr) in krb5int_arcfour_string_to_key()
76 free(copystr); in krb5int_arcfour_string_to_key()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/des/
H A Dstring2key.c55 register char *str, *copystr; in mit_des_string_to_key_int() local
93 copystr = malloc((size_t) length); in mit_des_string_to_key_int()
94 if (!copystr) { in mit_des_string_to_key_int()
98 (void) memcpy(copystr, (char *) data->data, data->length); in mit_des_string_to_key_int()
100 (void) memcpy(copystr + data->length, (char *)salt->data, salt->length); in mit_des_string_to_key_int()
116 str = copystr; in mit_des_string_to_key_int()
156 retval = mit_des_cbc_cksum(context, (unsigned char*)copystr, key, in mit_des_string_to_key_int()
160 (void) memset(copystr, 0, (size_t) length); in mit_des_string_to_key_int()
161 krb5_xfree(copystr); in mit_des_string_to_key_int()
/illumos-gate/usr/src/lib/libfakekernel/common/
H A Dcopy.c39 return (copystr(src, dst, max_len, copied)); in copyinstr()
43 copystr(const char *src, char *dst, size_t max_len, size_t *outlen) in copystr() function
H A Dmapfile-vers50 copystr;
/illumos-gate/usr/src/ucbcmd/mkstr/
H A Dmkstr.c70 static void copystr(void);
154 copystr(); in process()
178 copystr(void) in copystr() function
/illumos-gate/usr/src/uts/common/fs/autofs/
H A Dauto_vfsops.c455 error = copystr(args.opts, strbuff, sizeof (strbuff), in auto_mount()
477 error = copystr(args.map, strbuff, sizeof (strbuff), in auto_mount()
539 error = copystr(args.path, strbuff, sizeof (strbuff), &len); in auto_mount()
554 error = copystr(args.opts, strbuff, sizeof (strbuff), &len); in auto_mount()
571 error = copystr(args.map, strbuff, sizeof (strbuff), &len); in auto_mount()
586 error = copystr(args.subdir, strbuff, sizeof (strbuff), &len); in auto_mount()
601 error = copystr(args.key, strbuff, sizeof (strbuff), &len); in auto_mount()
/illumos-gate/usr/src/cmd/ttymon/
H A Dttyadm.c168 copystr(ptr->p_prompt, optarg); in main()
172 copystr(ptr->p_dmsg, optarg); in main()
H A Dtmextern.h155 extern void copystr(char *, char *);
H A Dtmutil.c228 copystr(char *s1, char *s2) in copystr() function
H A Dtmexpress.c305 copystr(tbuf, optarg); in ttymon_options()
/illumos-gate/usr/src/uts/sun4/ml/
H A Dcopy.S59 ENTRY(copystr) function
101 SET_SIZE(copystr)
/illumos-gate/usr/src/uts/common/fs/
H A Dpathname.c114 error = copystr(str, pnp->pn_path, bufsize, &pnp->pn_pathlen); in pn_get_buf()
148 error = copystr(path, pnp->pn_path, pnp->pn_bufsize, &pnp->pn_pathlen); in pn_set()
H A Dlookup.c534 error = copystr(pp->pn_buf, in lookuppnvp()
538 error = copystr(component, in lookuppnvp()
H A Dvfs.c1177 error = copystr(uap->fstype, fsname, in domount()
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_lookup.c459 error = copystr(pp->pn_buf, in lookuppnvp()
463 error = copystr(component, in lookuppnvp()
/illumos-gate/usr/src/uts/common/sys/
H A Dsystm.h219 int copystr(const char *, char *, size_t, size_t *);
/illumos-gate/usr/src/uts/common/os/
H A Dmodsysfile.c1509 (void) copystr(path, rootfs.bo_name, BO_MAXOBJNAME, NULL); in setbootpath()
1516 (void) copystr(fstype, rootfs.bo_fstype, BO_MAXFSNAME, NULL); in setbootfstype()
1545 (void) copystr(sysp->sys_ptr, bootobjp->bo_name, in setparams()
1551 (void) copystr(sysp->sys_ptr, bootobjp->bo_fstype, in setparams()
H A Dstreamio.c3824 error = (copyflag & U_TO_K ? copyinstr : copystr)((void *)arg, in strioctl()
3875 error = (copyflag & U_TO_K ? copyinstr : copystr)((void *)arg, in strioctl()
4174 copystr)(STRUCT_FGETP(strmodinsert, mod_name), in strioctl()
4337 copystr)(STRUCT_FGETP(strmodremove, mod_name), in strioctl()
/illumos-gate/usr/src/uts/common/io/
H A Dsysmsg.c575 error = copystr((caddr_t)arg, infop, size, NULL); in sysmioctl()
/illumos-gate/usr/src/uts/intel/ml/
H A Dcopy.S1468 ENTRY(copystr) function
1530 SET_SIZE(copystr)
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_log.c1901 error = copystr(fname, namebuf, MAXPATHLEN, &len); in nfslog_getfh()
H A Dnfs_vfsops.c561 error = copystr(uap->fstype, name, FSTYPSZ, &n); in nfs_mount()
H A Dnfs3_vfsops.c544 error = copystr(uap->fstype, name, FSTYPSZ, &n); in nfs3_mount()
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_vfsops.c1115 (void) copystr(path, fsp->fs_fsmnt, sizeof (fsp->fs_fsmnt) - 1, &len); in mountfs()
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsocktpi.c5930 error = ((mode & FKIOCTL) ? copystr : copyinstr)( in socktpi_plumbioctl()
6068 error = ((mode & FKIOCTL) ? copystr : copyinstr)( in socktpi_plumbioctl()