Home
last modified time | relevance | path

Searched refs:bigend (Results 1 – 5 of 5) sorted by relevance

/titanic_50/usr/src/uts/common/gssapi/mechs/krb5/include/
H A DgssapiP_generic.h72 #define TWRITE_INT(ptr, num, bigend) \ argument
73 (ptr)[0] = (char) ((bigend)?((num)>>24):((num)&0xff)); \
74 (ptr)[1] = (char) ((bigend)?(((num)>>16)&0xff):(((num)>>8)&0xff)); \
75 (ptr)[2] = (char) ((bigend)?(((num)>>8)&0xff):(((num)>>16)&0xff)); \
76 (ptr)[3] = (char) ((bigend)?((num)&0xff):((num)>>24)); \
79 #define TWRITE_INT16(ptr, num, bigend) \ argument
80 (ptr)[0] = (char) ((bigend)?((num)>>24):((num)&0xff)); \
81 (ptr)[1] = (char) ((bigend)?(((num)>>16)&0xff):(((num)>>8)&0xff)); \
84 #define TREAD_INT(ptr, num, bigend) \ argument
85 (num) = (((ptr)[0]<<((bigend)?24: 0)) | \
[all …]
H A DgssapiP_krb5.h248 int bigend);
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dutil_cksum.c37 kg_checksum_channel_bindings(context, cb, cksum, bigend) in kg_checksum_channel_bindings() argument
41 int bigend;
84 TWRITE_INT(ptr, cb->initiator_addrtype, bigend);
85 TWRITE_BUF(ptr, cb->initiator_address, bigend);
86 TWRITE_INT(ptr, cb->acceptor_addrtype, bigend);
87 TWRITE_BUF(ptr, cb->acceptor_address, bigend);
88 TWRITE_BUF(ptr, cb->application_data, bigend);
H A Daccept_sec_context.c291 int bigend; local
681 bigend = 0;
683 TREAD_INT(ptr, tmp, bigend);
687 bigend = 1;
689 TREAD_INT(ptr, tmp, bigend);
719 &reqcksum, bigend))) {
735 &reqcksum, bigend))) {
748 TREAD_INT(ptr, gss_flags, bigend);
758 TREAD_INT16(ptr, option_id, bigend);
760 TREAD_INT16(ptr, option.length, bigend);
[all …]
/titanic_50/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dk5seal.c68 int bigend, in make_seal_token_v1() argument
111 if (encrypt || (!bigend && (toktype == KG_TOK_SEAL_MSG))) in make_seal_token_v1()
217 (bigend ? text->length : msglen)))) { in make_seal_token_v1()
223 if (bigend) in make_seal_token_v1()
227 plaind.length = 8 + (bigend ? text->length : msglen); in make_seal_token_v1()
231 xfree_wrap(data_ptr,8 + (bigend ? text->length : msglen)); in make_seal_token_v1()