/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/ |
H A D | util_seqnum.c | 32 kg_make_seq_num(context, key, direction, seqnum, cksum, buf) in kg_make_seq_num() argument 36 krb5_ui_4 seqnum; 48 plain[0] = (seqnum>>24) & 0xff; 49 plain[1] = (seqnum>>16) & 0xff; 50 plain[2] = (seqnum>>8) & 0xff; 51 plain[3] = seqnum & 0xff; 59 plain[0] = (unsigned char) (seqnum&0xff); 60 plain[1] = (unsigned char) ((seqnum>>8)&0xff); 61 plain[2] = (unsigned char) ((seqnum>>16)&0xff); 62 plain[3] = (unsigned char) ((seqnum>>24)&0xff); [all …]
|
H A D | util_ordering.c | 129 queue_insert(queue *q, int after, gssint_uint64 seqnum) in queue_insert() argument 144 QELEM(q,after+1) = seqnum; in queue_insert() 160 g_order_init(void **vqueue, gssint_uint64 seqnum, in g_order_init() argument 174 q->firstnum = seqnum; in g_order_init() 182 g_order_check(void **vqueue, gssint_uint64 seqnum) in g_order_check() argument 195 seqnum -= q->firstnum; in g_order_check() 202 seqnum &= q->mask; in g_order_check() 207 if (seqnum == expected) { in g_order_check() 208 queue_insert(q, q->start+q->length-1, seqnum); in g_order_check() 213 if (after(seqnum, expected, q->mask)) { in g_order_check() [all …]
|
H A D | k5seal.c | 59 gssint_uint64 *seqnum, in make_seal_token_v1() argument 292 seqnum32 = (OM_uint32)(*seqnum & 0xFFFFFFFF); in make_seal_token_v1() 309 bigend_seqnum[0] = (*seqnum>>24) & 0xff; in make_seal_token_v1() 310 bigend_seqnum[1] = (*seqnum>>16) & 0xff; in make_seal_token_v1() 311 bigend_seqnum[2] = (*seqnum>>8) & 0xff; in make_seal_token_v1() 312 bigend_seqnum[3] = *seqnum & 0xff; in make_seal_token_v1() 354 (*seqnum)++; in make_seal_token_v1() 355 *seqnum &= (ulong_t)0xffffffffU; in make_seal_token_v1()
|
H A D | k5unseal.c | 86 krb5_ui_4 seqnum; local 195 &seqnum))) { 218 bigend_seqnum[0] = (seqnum>>24) & 0xff; 219 bigend_seqnum[1] = (seqnum>>16) & 0xff; 220 bigend_seqnum[2] = (seqnum>>8) & 0xff; 221 bigend_seqnum[3] = seqnum & 0xff; 636 retval = g_order_check(&(ctx->seqstate), (gssint_uint64)seqnum);
|
H A D | k5sealv3.c | 357 gssint_uint64 seqnum; in gss_krb5int_unseal_token_v3() local 434 seqnum = load_64_be(ptr+8); in gss_krb5int_unseal_token_v3() 536 err = g_order_check(&ctx->seqstate, seqnum); in gss_krb5int_unseal_token_v3() 548 seqnum = load_64_be(ptr+8); in gss_krb5int_unseal_token_v3() 574 err = g_order_check(&ctx->seqstate, seqnum); in gss_krb5int_unseal_token_v3()
|
/illumos-gate/usr/src/cmd/hotplugd/ |
H A D | hotplugd_door.c | 53 uint64_t seqnum; member 219 uint64_t seqnum; in door_server() local 224 seqnum = get_seqnum(); in door_server() 225 if (nvlist_add_uint64(results, HPD_SEQNUM, seqnum) != 0) { in door_server() 240 add_buffer(seqnum, buf); in door_server() 543 uint64_t seqnum; in get_seqnum() local 547 seqnum = buffer_seqnum++; in get_seqnum() 551 return (seqnum); in get_seqnum() 560 add_buffer(uint64_t seqnum, char *buf) in add_buffer() argument 571 node->seqnum = seqnum; in add_buffer() [all …]
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_signing.c | 60 uint32_t seqnum, unsigned char *sig); 96 sign->seqnum, t); in smb_sign_find_seqnum() 97 sign->seqnum = t; in smb_sign_find_seqnum() 186 session->signing.seqnum = 0; in smb_sign_begin() 227 uint32_t seqnum, unsigned char *mac_sign) in smb_sign_calc() argument 278 smbhdr.s.sig[0] = htolel(seqnum); in smb_sign_calc()
|
H A D | smb_dispatch.c | 566 sr->session->signing.seqnum++; in smb1sr_newrq() 567 sr->sr_seqnum = sr->session->signing.seqnum + 1; in smb1sr_newrq() 587 sr->session->signing.seqnum += 2; in smb1sr_newrq() 588 sr->sr_seqnum = sr->session->signing.seqnum; in smb1sr_newrq()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/ |
H A D | MICwrap.c | 92 mic->seqnum = __dh_next_seqno(cntx); in __dh_gss_sign() 177 stat = __dh_seq_detection(cntx, mic->seqnum); in __dh_gss_verify() 253 wrap->mic.seqnum = __dh_next_seqno(cntx); in __dh_gss_seal() 384 stat = __dh_seq_detection(cntx, wrap->mic.seqnum); in __dh_gss_unseal()
|
H A D | dhmech_prot.x | 99 unsigned seqnum; member
|
H A D | context.c | 323 wrap->mic.seqnum = 0; in __dh_gss_wrap_size_limit()
|
/illumos-gate/usr/src/uts/common/inet/ |
H A D | mi.h | 146 t_scalar_t seqnum); 149 char *dst, t_scalar_t dst_length, t_scalar_t seqnum); 151 t_scalar_t seqnum);
|
H A D | mi.c | 1401 t_scalar_t opt_length, t_scalar_t seqnum) in mi_tpi_conn_ind() argument 1410 ((struct T_conn_ind *)mp->b_rptr)->SEQ_number = seqnum; in mi_tpi_conn_ind() 1419 t_scalar_t seqnum) in mi_tpi_extconn_ind() argument 1437 ((struct T_extconn_ind *)mp->b_rptr)->SEQ_number = seqnum; in mi_tpi_extconn_ind() 1444 mi_tpi_discon_ind(MBLKP trailer_mp, t_scalar_t reason, t_scalar_t seqnum) in mi_tpi_discon_ind() argument 1453 tdi->SEQ_number = seqnum; in mi_tpi_discon_ind()
|
/illumos-gate/usr/src/lib/libnisdb/yptol/ |
H A D | map_ctrl.c | 636 int seqnum = 0; in map_id_list_init() local 697 if (insert_map_in_list(mapbuf, seqnum) in map_id_list_init() 706 seqnum++; in map_id_list_init() 710 max_map = seqnum; in map_id_list_init()
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/ |
H A D | gssapiP_generic.h | 214 gss_int32 g_order_init (void **queue, gssint_uint64 seqnum, 217 gss_int32 g_order_check (void **queue, gssint_uint64 seqnum);
|
H A D | gssapiP_krb5.h | 252 int direction, krb5_ui_4 seqnum, unsigned char *cksum, 258 krb5_ui_4 *seqnum);
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | cpu_event.h | 201 typedef int (* cpu_idle_prop_update_t)(void *arg, uint64_t seqnum,
|
/illumos-gate/usr/src/lib/libhotplug/common/ |
H A D | libhotplug.c | 1175 uint64_t seqnum; in i_hp_call_hotplugd() local 1254 (nvlist_lookup_uint64(results, HPD_SEQNUM, &seqnum) == 0)) { in i_hp_call_hotplugd() 1255 door_arg.data_ptr = (char *)(uintptr_t)&seqnum; in i_hp_call_hotplugd() 1256 door_arg.data_size = sizeof (seqnum); in i_hp_call_hotplugd()
|
/illumos-gate/usr/src/lib/sasl_plugins/digestmd5/ |
H A D | digestmd5.c | 226 unsigned int seqnum; member 1772 tmpnum = htonl(text->seqnum); 1794 tmpnum = htonl(text->seqnum); 1806 text->seqnum++; 1891 unsigned int seqnum; local 1963 memcpy(&seqnum, text->buffer+text->size-4,4); 1964 seqnum=ntohl(seqnum); 1966 if (seqnum!=text->rec_seqnum) 2042 tmpnum = htonl(text->seqnum); 2060 tmpnum = htonl(text->seqnum); [all …]
|
/illumos-gate/usr/src/uts/common/io/sfe/ |
H A D | sfe_util.h | 183 #define SLOT(seqnum, size) (((unsigned int)(seqnum)) & ((size)-1)) argument
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | netr_ssp.c | 257 #define CLS_BYTE(n, seqnum) ((seqnum >> (8 * (n))) & 0xff) argument
|
/illumos-gate/usr/src/uts/common/io/uath/ |
H A D | uath.c | 1603 if (chunk->seqnum == 0 && chunk->flags == 0 && chunk->length == 0) { in uath_data_rxeof() 1611 if (chunk->seqnum != sc->sc_intrx_nextnum) { in uath_data_rxeof() 1614 chunk->seqnum, sc->sc_intrx_nextnum); in uath_data_rxeof() 1622 if ((chunk->seqnum == 0 && !(chunk->flags & UATH_CFLAGS_FINAL)) || in uath_data_rxeof() 1623 (chunk->seqnum != 0 && (chunk->flags & UATH_CFLAGS_FINAL)) || in uath_data_rxeof() 1628 chunk->seqnum, chunk->flags, BE_16(chunk->length)); in uath_data_rxeof() 2079 chunk->seqnum = 0; in uath_send() 2345 chunk->seqnum = 0; in uath_dataflush()
|
H A D | uath_reg.h | 146 uint8_t seqnum; /* sequence number for ordering */ member
|
/illumos-gate/usr/src/lib/librcm/ |
H A D | librcm.c | 703 int seqnum; in rcm_info_seqnum() local 710 if (errno = nvlist_lookup_int32(tuple->info, RCM_SEQ_NUM, &seqnum)) in rcm_info_seqnum() 713 return (seqnum); in rcm_info_seqnum()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | cpu_event.c | 201 static int cpu_idle_prop_update_intr_cnt(void *arg, uint64_t seqnum, 1112 static int cpu_idle_prop_update_intr_cnt(void *arg, uint64_t seqnum, in cpu_idle_prop_update_intr_cnt() argument
|