Lines Matching refs:cryptbuf
64 u32 cryptbuf[4]; in svcauth_des() local
90 cryptbuf[2] = *p++; /* get the encrypted window */ in svcauth_des()
106 cryptbuf[0] = *p++; /* encrypted time stamp */ in svcauth_des()
107 cryptbuf[1] = *p++; in svcauth_des()
108 cryptbuf[3] = *p++; /* 0 or window - 1 */ in svcauth_des()
111 status = des_ecb_encrypt((des_block *) cryptbuf, in svcauth_des()
112 (des_block *) cryptbuf, in svcauth_des()
119 status = des_cbc_encrypt((des_cblock *) cryptbuf, in svcauth_des()
120 (des_cblock *) cryptbuf, 16, in svcauth_des()
135 data->dc_window = ntohl(cryptbuf[2]); in svcauth_des()
136 winverf = ntohl(cryptbuf[2]); in svcauth_des()
144 cryptbuf[0] = ntohl(cryptbuf[0]); in svcauth_des()
145 cryptbuf[1] = ntohl(cryptbuf[1]); in svcauth_des()
146 if (cryptbuf[1] > 1000000) { in svcauth_des()
147 dprintk("svcauth_des: bad usec value %u\n", cryptbuf[1]); in svcauth_des()
160 if ((delta = cryptbuf[0] - data->dc_timestamp[0]) <= 0) { in svcauth_des()
165 delta += cryptbuf[1] - data->dc_timestamp[1]; in svcauth_des()
180 if (now.tv_secs < cryptbuf[0] || in svcauth_des()
181 (now.tv_secs == cryptbuf[0] && now.tv_usec < cryptbuf[1])) in svcauth_des()
187 data->dc_timestamp[0] = cryptbuf[0]; in svcauth_des()
188 data->dc_timestamp[1] = cryptbuf[1]; in svcauth_des()