55#if defined(LIBC_SCCS) && !defined(lint)
59#define USEC_PER_SEC 1000000
60#define RTIME_TIMEOUT 5
62#define AUTH_PRIVATE(auth) (struct ad_private *) auth->ah_private
63#define ALLOC(object_type) (object_type *) mem_alloc(sizeof(object_type))
64#define FREE(ptr, size) mem_free((char *)(ptr), (int) size)
65#define ATTEMPT(xdr_op) if (!(xdr_op)) return (FALSE)
124 const char *timehost,
const des_block *ckey)
137 pkey.
n_bytes = (
char *) pkey_data;
189 if (timehost !=
NULL) {
197 }
else if (srvr !=
NULL) {
303 ivec.
key.high = ivec.
key.low = 0;
316 ad->
ad_verf.adv_xtimestamp = cryptbuf[0];
318 ad->
ad_cred.adc_fullname.window = cryptbuf[1].
key.high;
319 ad->
ad_verf.adv_winverf = cryptbuf[1].
key.low;
402 sizeof(
struct timeval)) != 0) {
481static struct auth_ops *
484 static struct auth_ops ops;
490 if (ops.ah_nextverf ==
NULL) {
ACPI_SIZE strlen(const char *String)
#define gettimeofday(tv, tz)
bool_t xdr_authdes_cred(XDR *, struct authdes_cred *)
static bool_t authdes_validate(AUTH *, struct opaque_auth *)
static struct auth_ops * authdes_ops(void)
AUTH * authdes_seccreate(const char *servername, const u_int win, const char *timehost, const des_block *ckey)
#define ALLOC(object_type)
AUTH * authdes_pk_seccreate(const char *, netobj *, u_int, const char *, const des_block *, nis_server *)
static bool_t authdes_marshal(AUTH *, XDR *)
static void authdes_nextverf(AUTH *)
static void authdes_destroy(AUTH *)
int key_encryptsession_pk()
static bool_t authdes_refresh(AUTH *, void *)
bool_t xdr_authdes_verf(XDR *, struct authdes_verf *)
bool_t __rpc_get_time_offset(struct timeval *, nis_server *, char *, char **, char **)
#define AUTH_PRIVATE(auth)
int cbc_crypt(char *key, char *buf, unsigned len, unsigned mode, char *ivec)
int ecb_crypt(char *key, char *buf, unsigned len, unsigned mode)
int getpublickey(char *netname, char *publickey) const
GLenum GLuint GLenum GLsizei const GLchar * buf
int key_gendes(des_block *key)
#define memcpy(s1, s2, n)
static IHTMLWindow2 * window
#define IXDR_PUT_INT32(buf, v)
#define IXDR_GET_INT32(buf)
#define IXDR_PUT_U_INT32(buf, v)
struct opaque_auth ah_cred
struct __auth::auth_ops * ah_ops
struct opaque_auth ah_verf
struct authdes_verf ad_verf
struct netbuf ad_syncaddr
struct timeval ad_timestamp
struct authdes_cred ad_cred
struct timeval ad_timediff
struct authdes_fullname adc_fullname
enum authdes_namekind adc_namekind
struct des_block::@188 key
ActualNumberDriverObjects * sizeof(PDRIVER_OBJECT)) PDRIVER_OBJECT *DriverObjectList
#define BYTES_PER_XDR_UNIT
static __inline int xdr_putint32(XDR *xdrs, int32_t *ip)
#define xdr_inline(xdrs, len)