Searched refs:uchar_t (Results 26 - 50 of 323) sorted by relevance

1234567891011>>

/osnet-11/usr/src/cmd/hal/utils/
H A Dcdutils.h41 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 Dcdutils.c117 (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 Dsmbfs_ntlm.c79 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 Dsmbfs_crypt.c47 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 Dlibsmbfs.h138 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 Dsmbfs_keychain.c57 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 Dsmbfs_lib.h86 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 Ddt_buf.h40 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 DsoftKeystore.h50 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 DsoftSSL.c73 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 Dt_optmgmt.c150 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 Dsmbns_dyndns.h188 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 Dlibdevid.h45 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 Detheraddr.h50 uchar_t wa_etheraddr[DLPI_PHYSADDR_MAX];
/osnet-11/usr/src/lib/libdladm/common/
H A Dlibdlaggr.h56 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 Dpdevinfo_sun4u.h63 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 Dlibelfsign.h121 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 Dlibdlpi.h120 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 Dpublic.h46 void run_fcode(fcode_env_t *, uchar_t *, int);
/osnet-11/usr/src/lib/libcryptoutil/common/
H A Dtohexstr.c41 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 Ddhcp_symbol.h106 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 Dslp_ami.h666 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 Dmapid.h99 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 Dcrypt.c59 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 Dio.c89 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...]

Completed in 59 milliseconds

1234567891011>>