Home
last modified time | relevance | path

Searched refs:iobuf (Results 1 – 19 of 19) sorted by relevance

/titanic_41/usr/src/lib/libbc/libc/gen/common/
H A Dcrypt.c39 static char *iobuf; local
43 if (iobuf == 0) {
44 iobuf = malloc((unsigned)16);
45 if (iobuf == 0)
56 strcpy(iobuf, salt);
58 iobuf[0] = '\0';
59 return(iobuf);
69 strcpy(iobuf, salt);
71 iobuf[0] = '\0';
72 return(iobuf);
H A D_crypt.c153 #define iobuf (_c->_iobuf) macro
419 iobuf[i] = c; in _crypt()
448 iobuf[i+2] = c; in _crypt()
450 iobuf[i+2] = 0; in _crypt()
451 if(iobuf[1]==0) in _crypt()
452 iobuf[1] = iobuf[0]; in _crypt()
453 return(iobuf); in _crypt()
/titanic_41/usr/src/lib/libcrypt/common/
H A Ddes_crypt.c314 char *iobuf; in _get_iobuf() local
318 iobuf = pthread_getspecific(*keyp); in _get_iobuf()
319 if (iobuf == NULL) { in _get_iobuf()
320 if (thr_setspecific(*keyp, (iobuf = malloc(size))) != 0) { in _get_iobuf()
321 if (iobuf) in _get_iobuf()
322 (void) free(iobuf); in _get_iobuf()
323 iobuf = NULL; in _get_iobuf()
326 return (iobuf); in _get_iobuf()
336 char *iobuf = _get_iobuf(&key, IOBUF_SIZE); in des_crypt() local
354 iobuf[i] = (char)c; in des_crypt()
[all …]
/titanic_41/usr/src/cmd/regcmp/
H A Dregcmp.c41 FILE *iobuf; variable
73 if ((iobuf = fopen(*argv, "r")) == NULL) { in main()
106 while (((c = getc(iobuf)) == '\n') || in main()
112 while (((*name++ = c = getc(iobuf)) != ' ') && in main()
115 while (((c = getc(iobuf)) == ' ') || (c == '\n')); in main()
128 while ((c = getc(iobuf)) != '\n'); in main()
132 while (gotflg || (c = getc(iobuf)) != EOF) { in main()
138 switch (c = getc(iobuf)) { in main()
170 while (((c = getc(iobuf)) == '\n') || (c == ' ')); in main()
194 fclose(iobuf); in main()
[all …]
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/crypto/des/
H A Dafsstring2key.c370 char *iobuf) in afs_crypt() argument
398 iobuf[i] = c; in afs_crypt()
423 iobuf[i+2] = c; in afs_crypt()
425 iobuf[i+2] = 0; in afs_crypt()
426 if(iobuf[1]==0) in afs_crypt()
427 iobuf[1] = iobuf[0]; in afs_crypt()
428 return(iobuf); in afs_crypt()
/titanic_41/usr/src/lib/libc/port/gen/
H A Dcrypt.c119 static char *_unix_crypt(const char *pw, const char *salt, char *iobuf);
1065 _unix_crypt(const char *pw, const char *salt, char *iobuf) in _unix_crypt() argument
1071 block = iobuf + 16; in _unix_crypt()
1073 if (iobuf == 0) { in _unix_crypt()
1095 iobuf[i] = (char)c; in _unix_crypt()
1125 iobuf[i+2] = (char)c; in _unix_crypt()
1127 iobuf[i+2] = 0; in _unix_crypt()
1128 if (iobuf[1] == 0) in _unix_crypt()
1129 iobuf[1] = iobuf[0]; in _unix_crypt()
1130 return (iobuf); in _unix_crypt()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dkt_file.c60 char iobuf[BUFSIZ]; /* so we can zap it later */ member
71 #define KTFILEBUFP(id) (((krb5_ktfile_data *)(id)->data)->iobuf)
1192 char iobuf[BUFSIZ]; in krb5_ktfileint_delete_entry() local
1223 memset(iobuf, 0, (size_t) len); in krb5_ktfileint_delete_entry()
1225 xfwrite(iobuf, 1, (size_t) len, KTFILEP(id)); in krb5_ktfileint_delete_entry()
1646 char iobuf[BUFSIZ]; in krb5_ktfileint_find_slot() local
1719 while ((size = xfread(iobuf, 1, sizeof(iobuf), KTFILEP(id)))) { in krb5_ktfileint_find_slot()
1720 if (size != sizeof(iobuf)) { in krb5_ktfileint_find_slot()
1732 memset(iobuf, 0, (size_t) size); in krb5_ktfileint_find_slot()
1733 xfwrite(iobuf, 1, (size_t) size, KTFILEP(id)); in krb5_ktfileint_find_slot()
/titanic_41/usr/src/uts/common/io/tpm/
H A Dtpm.c1523 tpm->iobuf = kmem_zalloc((sizeof (uint8_t))*(tpm->bufsize), KM_SLEEP); in tpm_attach()
1588 ASSERT(tpm->iobuf != NULL); in tpm_cleanup()
1589 kmem_free(tpm->iobuf, (sizeof (uint8_t))*(tpm->bufsize)); in tpm_cleanup()
1833 ret = tis_recv_data(tpm, tpm->iobuf, tpm->bufsize); in tpm_read()
1842 size = load32(tpm->iobuf, 2); in tpm_read()
1854 ret = uiomove(tpm->iobuf, size, UIO_READ, uiop); in tpm_read()
1863 bzero(tpm->iobuf, tpm->bufsize); in tpm_read()
1916 ret = uiomove(tpm->iobuf, TPM_HEADER_SIZE, UIO_WRITE, uiop); in tpm_write()
1927 size = load32(tpm->iobuf, TPM_PARAMSIZE_OFFSET); in tpm_write()
1941 ret = uiomove(tpm->iobuf+TPM_HEADER_SIZE, size-TPM_HEADER_SIZE, in tpm_write()
[all …]
H A Dtpm_ddi.h79 uint8_t *iobuf; member
/titanic_41/usr/src/cmd/cdrw/
H A Dtrackio.h63 struct iobuf { struct
H A Dtrackio.c51 static struct iobuf tio_iobs[NIOBS];
/titanic_41/usr/src/lib/libunistat/common/sdbc/
H A Dsdbc.err41 NOIOBMEM = No memory for iobuf hooks.
42 NOIOBCB = Missing iobuf driver callback.
/titanic_41/usr/src/uts/common/avs/ns/sdbc/
H A Dsdbc_ioctl.h249 int iobuf; member
H A Dsd_conf.c374 if ((rc = _sdbc_iobuf_configure(_sd_cache_config.iobuf))) {
H A Ddynmem_readme.txt274 sdbc_memsize2 ----- iobuf memory
/titanic_41/usr/src/cmd/avs/dscfg/etc/
H A Ddscfg_format35 scm.thread.size.write_cache.fill_pattern.reserved1.iobuf.tdemons.forced_wrthru.no_forced_wrthru
/titanic_41/usr/src/uts/common/io/
H A Dlofi.c717 void *iobuf = bufaddr; in lofi_rdwr() local
721 iobuf = kmem_alloc(len, KM_SLEEP); in lofi_rdwr()
722 if (lofi_crypto(lsp, bp, bufaddr, iobuf, len, in lofi_rdwr()
724 kmem_free(iobuf, len); in lofi_rdwr()
732 bcopy(iobuf, bcopy_locn, len); in lofi_rdwr()
735 error = vn_rdwr(UIO_WRITE, lsp->ls_vp, iobuf, len, in lofi_rdwr()
741 kmem_free(iobuf, len); in lofi_rdwr()
/titanic_41/usr/src/cmd/cron/
H A Dcron.c2715 char iobuf[BUFSIZ]; in mail_result() local
2760 while ((nbytes = fread(iobuf, sizeof (char), BUFSIZ, st)) != 0) in mail_result()
2761 (void) fwrite(iobuf, sizeof (char), nbytes, mailpipe); in mail_result()
/titanic_41/usr/src/cmd/avs/sdbc/
H A Dscmadm.c1568 user_level_conf.iobuf = atoi(buf);