/osnet-11/usr/src/cmd/hal/utils/ |
H A D | cdutils.h | 41 int mode_sense(int fd, uchar_t pc, int dbd, int page_len, 42 uchar_t *buffer); 44 uchar_t *buffer, int *plen); 46 uchar_t *buf); 57 uchar_t *buf);
|
H A D | cdutils.c | 117 (uchar_t)scmd->uscsi_cdb[0], ret, 119 (uchar_t)SENSE_KEY(rqbuf), 120 (uchar_t)ASC(rqbuf), (uchar_t)ASCQ(rqbuf))); 134 mode_sense(int fd, uchar_t pc, int dbd, int page_len, uchar_t *buffer) 160 get_mode_page(int fd, int page_no, int pc, int buf_len, uchar_t *buffer, int *plen) 163 uchar_t byte2; 164 uchar_t buf[256]; 167 byte2 = (uchar_t)(((p [all...] |
/osnet-11/usr/src/lib/libsmbfs/common/ |
H A D | smbfs_ntlm.c | 79 smbfs_ntlm_compute_lm_hash(uchar_t *hash, const char *pass) 81 static const uchar_t M8[8] = "KGS!@#$%"; 82 uchar_t P14[14 + 1]; 115 smbfs_ntlm_compute_nt_hash(uchar_t *hash, const char *pass) 144 smbfs_ntlm_v1_response(uchar_t *resp, 145 const uchar_t *hash, 146 const uchar_t *chal, int clen) 148 uchar_t S21[21]; 168 smbfs_ntlm_v1_session_key(uchar_t *ssn_key, const uchar_t *nt_has [all...] |
H A D | smbfs_crypt.c | 47 smbfs_initlmkey(uchar_t *keyout, const uchar_t *keyin); 51 * but use uchar_t, return errno. 54 smbfs_encrypt_DES(uchar_t *Result, int ResultLen, 55 const uchar_t *Key, int KeyLen, 56 const uchar_t *Data, int DataLen) 63 uchar_t des_key[8]; 132 smbfs_initlmkey(uchar_t *keyout, const uchar_t *keyin)
|
H A D | libsmbfs.h | 138 int smbfs_ctx_setpwhash(struct smb_ctx *, const uchar_t *, const uchar_t *); 160 int smbfs_fh_getssnkey(int, uchar_t *, size_t); 243 const uchar_t *lmhash, const uchar_t *nthash);
|
H A D | smbfs_keychain.c | 57 uchar_t *lmhash, 58 uchar_t *nthash) 159 uchar_t lmhash[SMBIOC_HASH_SZ]; 160 uchar_t nthash[SMBIOC_HASH_SZ]; 194 const uchar_t *lmhash, const uchar_t *nthash) 196 static const uchar_t hash_zeros[SMBIOC_HASH_SZ] = { 0 }; 206 (uchar_t *)lmhash, (uchar_t *)nthash); 251 uchar_t *lmhas [all...] |
H A D | smbfs_lib.h | 86 uchar_t iod_nthash[NTLM_HASH_SZ]; 87 uchar_t iod_lmhash[NTLM_HASH_SZ]; 133 uchar_t ct_clnonce[NTLM_CHAL_SZ]; 134 uchar_t ct_ntlm_chal[NTLM_CHAL_SZ]; 195 uchar_t pw_lmhash[NTLM_HASH_SZ]; /* LanMan p/w hash */ 196 uchar_t pw_nthash[NTLM_HASH_SZ]; /* NTLM p/w hash */
|
/osnet-11/usr/src/lib/libdtrace/common/ |
H A D | dt_buf.h | 40 uchar_t *dbu_buf; /* buffer base address */ 41 uchar_t *dbu_ptr; /* current buffer location */
|
/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softKeystore.h | 50 uchar_t object_type; 92 CK_RV soft_gen_crypt_key(uchar_t *pPIN, soft_object_t **key, 95 CK_RV soft_gen_hmac_key(uchar_t *pPIN, soft_object_t **key, CK_BYTE **saltdata); 97 CK_RV soft_keystore_pack_obj(struct object *obj, uchar_t **ks_buf, size_t *len); 101 CK_RV soft_unpack_obj_attribute(uchar_t *buf, biginteger_t *key_dest, 106 CK_RV soft_pack_object(struct object *objp, uchar_t *buf); 108 CK_RV soft_unpack_object(struct object *objp, uchar_t *buf); 123 CK_RV soft_keystore_crypt(soft_object_t *key_p, uchar_t *ivec,
|
H A D | softSSL.c | 73 static uchar_t TLS_MASTER_SECRET_LABEL[] = {"master secret"}; 76 static uchar_t TLS_KEY_EXPANSION_LABEL[] = {"key expansion"}; 79 static uchar_t TLS_CLIENT_KEY_LABEL[] = {"client write key"}; 82 static uchar_t TLS_SERVER_KEY_LABEL[] = {"server write key"}; 85 static uchar_t TLS_IV_BLOCK_LABEL[] = {"IV block"}; 88 static void P_MD5(uchar_t *secret, uint_t secretlen, uchar_t *label, 89 uint_t labellen, uchar_t *rand1, uint_t rand1len, uchar_t *rand2, 90 uint_t rand2len, uchar_t *resul [all...] |
/osnet-11/usr/src/lib/libnsl/nsl/ |
H A D | t_optmgmt.c | 150 if ((uchar_t *)opt_start + sizeof (struct t_opthdr) 151 > (uchar_t *)opt_end) { 166 if ((uchar_t *)opt_start + sizeof (struct t_opthdr) 167 > (uchar_t *)opt_end) { 189 next_opt = (struct t_opthdr *)((uchar_t *)opt + 192 if ((uchar_t *)next_opt < (uchar_t *)opt || /* (1) */ 194 (((uchar_t *)next_opt - (uchar_t *)opt_end) >= 211 optlen = (t_scalar_t)((uchar_t *) [all...] |
/osnet-11/usr/src/lib/libsmbns/common/ |
H A D | smbns_dyndns.h | 188 const uchar_t *tk_key_data; 190 const uchar_t *tk_other_data; 207 const uchar_t *ts_mac_data; 211 const uchar_t *ts_other_data;
|
/osnet-11/usr/src/lib/libdevid/ |
H A D | libdevid.h | 45 extern int devid_scsi_encode(int version, char *driver_name, uchar_t *inq, 46 size_t inq_len, uchar_t *inq80, size_t inq80_len, 47 uchar_t *inq83, size_t inq83_len, ddi_devid_t *devid); 50 char *wwnstr, uchar_t *srmir_buf, size_t srmir_len,
|
/osnet-11/usr/src/lib/libuuid/common/ |
H A D | etheraddr.h | 50 uchar_t wa_etheraddr[DLPI_PHYSADDR_MAX];
|
/osnet-11/usr/src/lib/libdladm/common/ |
H A D | libdlaggr.h | 56 uchar_t lp_mac[ETHERADDRL]; 68 uchar_t lg_mac[ETHERADDRL]; 77 aggr_mode_t, uint32_t, boolean_t, const uchar_t *, 87 const uchar_t *, aggr_lacp_mode_t, 97 uchar_t *);
|
/osnet-11/usr/src/lib/libprtdiag/inc/ |
H A D | pdevinfo_sun4u.h | 63 uchar_t simm_status[SIMM_COUNT]; /* SIMM status */ 103 uchar_t sysctrl; /* sysctrl register contents */ 104 uchar_t sysstat1; /* system status1 register contents. */ 105 uchar_t sysstat2; /* system status2 register contents. */ 106 uchar_t ps_shadow[SYS_PS_COUNT]; /* power supply shadow */ 108 uchar_t clk_freq2; /* clock frequency register 2 contents */ 109 uchar_t fan_status; /* shadow fan status */ 110 uchar_t keysw_status; /* status of the key switch */ 112 uchar_t clk_ver; /* clock version register */
|
/osnet-11/usr/src/lib/libelfsign/common/ |
H A D | libelfsign.h | 121 const uchar_t *sig, int sig_len, const char *oid, int oid_len); 123 struct filesignatures *fsp, uchar_t *sig, size_t *sig_len); 130 extern ELFsign_status_t elfsign_hash(ELFsign_t ess, uchar_t *hash, 133 uchar_t *hash, size_t *hash_len); 134 extern void elfsign_buffer_len(ELFsign_t ess, size_t *ip, uchar_t *cp, 176 const uchar_t *data, size_t data_len, uchar_t *sig, 181 const uchar_t *sig, size_t sig_len, 182 const uchar_t *data, size_t data_len);
|
/osnet-11/usr/src/lib/libdlpi/common/ |
H A D | libdlpi.h | 120 uchar_t di_physaddr[DLPI_PHYSADDR_MAX]; 121 uchar_t di_physaddrlen; 122 uchar_t di_bcastaddr[DLPI_PHYSADDR_MAX]; 123 uchar_t di_bcastaddrlen; 150 uchar_t dri_destaddr[DLPI_PHYSADDR_MAX]; 151 uchar_t dri_destaddrlen; 171 uchar_t physaddr[DLPI_PHYSADDR_MAX]; 172 uchar_t physaddrlen;
|
/osnet-11/usr/src/lib/efcode/include/fcode/ |
H A D | public.h | 46 void run_fcode(fcode_env_t *, uchar_t *, int);
|
/osnet-11/usr/src/lib/libcryptoutil/common/ |
H A D | tohexstr.c | 41 tohexstr(uchar_t *bytes, size_t blen, char *hexstr, size_t hexlen) 67 hexstr_to_bytes(char *hexstr, size_t hexlen, uchar_t **bytes, size_t *blen) 71 uchar_t *b = NULL;
|
/osnet-11/usr/src/lib/libdhcputil/common/ |
H A D | dhcp_symbol.h | 106 uchar_t ds_gran; /* granularity */ 107 uchar_t ds_max; /* maximum number */ 109 uchar_t ds_dhcpv6; /* dhcpv6 flag */
|
/osnet-11/usr/src/lib/libslp/clib/ |
H A D | slp_ami.h | 666 uchar_t *publicExponent; /* const */ 671 uchar_t *saltVal; /* const */ 722 uchar_t **, /* OUT: DES session key */ 727 uchar_t **, /* OUT: triple DES session key */ 734 uchar_t **, /* OUT: RC2 session key */ 740 uchar_t **)); /* OUT: RC4 key */ 745 const uchar_t *, 747 uchar_t **, /* OUT: public key */ 749 uchar_t **, /* OUT: private key */ 755 const uchar_t *, /* I [all...] |
/osnet-11/usr/src/lib/libmapid/common/ |
H A D | mapid.h | 99 uchar_t buf[PACKETSZ]; 129 static void resolve_process_txt(uchar_t *, int); 132 static uchar_t *resolv_skip_rr(uchar_t *, uchar_t *);
|
/osnet-11/usr/src/lib/libsoftcrypto/common/ |
H A D | crypt.c | 59 uchar_t *key_str, size_t key_len, void *iv, size_t iv_len, 61 static int ucrypto_common_update(crypto_ctx_t *context, uchar_t *in, 62 size_t in_len, uchar_t *out, size_t *out_len, ucrypto_op_t op_type); 63 static int ucrypto_common_final(crypto_ctx_t *context, uchar_t *out, 65 static int ucrypto_atomic(ucrypto_mech_t mech_type, uchar_t *key_str, 66 size_t key_len, void *iv, size_t iv_len, uchar_t *in, size_t in_len, 67 uchar_t *out, size_t *out_len, ucrypto_op_t op_type); 250 uchar_t *key_str, size_t key_len, void *iv, size_t iv_len, 274 ucrypto_common_update(crypto_ctx_t *context, uchar_t *in, size_t in_len, 275 uchar_t *ou [all...] |
/osnet-11/usr/src/lib/storage/libg_fc/common/ |
H A D | io.c | 89 g_scsi_persistent_reserve_in_cmd(int fd, uchar_t *buf_ptr, 90 int buf_len, uchar_t action) 125 g_scsi_send_diag_cmd(int fd, uchar_t *buf_ptr, int buf_len) 128 uchar_t cdb[] = {SCMD_SDIAG, SCSI_ESI_PF, 0, 0, 0, 0}; 162 rec_diag_cmd(int fd, uchar_t *buf_ptr, int buf_len, uchar_t page_code, 163 uchar_t cdb_one) 166 uchar_t cdb[] = {SCMD_GDIAG, 0, 0, 0, 0, 0}; 194 g_scsi_rec_diag_cmd(int fd, uchar_t *buf_ptr, int buf_len, uchar_t page_cod [all...] |