Lines Matching refs:AUTH_VECTOR_LEN
97 padded_length = (length+(AUTH_VECTOR_LEN-1)) & ~(AUTH_VECTOR_LEN-1); in rc_pack_list()
108 for(i = 0; i < padded_length; i += AUTH_VECTOR_LEN) { in rc_pack_list()
112 AUTH_VECTOR_LEN); in rc_pack_list()
113 rc_md5_calc (buf, md5buf, secretlen + AUTH_VECTOR_LEN); in rc_pack_list()
119 for (pc = i; pc < (i + AUTH_VECTOR_LEN); pc++) { in rc_pack_list()
144 AUTH_VECTOR_LEN); in rc_pack_list()
145 rc_md5_calc (buf, md5buf, secretlen + AUTH_VECTOR_LEN); in rc_pack_list()
210 unsigned char vector[AUTH_VECTOR_LEN]; in rc_send_server()
272 memset((char *) auth->vector, 0, AUTH_VECTOR_LEN); in rc_send_server()
276 memcpy ((char *) auth->vector, (char *) vector, AUTH_VECTOR_LEN); in rc_send_server()
281 memcpy (auth->vector, vector, AUTH_VECTOR_LEN); in rc_send_server()
400 unsigned char calc_digest[AUTH_VECTOR_LEN]; in rc_check_reply()
401 unsigned char reply_digest[AUTH_VECTOR_LEN]; in rc_check_reply()
428 memcpy ((char *) reply_digest, (char *) auth->vector, AUTH_VECTOR_LEN); in rc_check_reply()
429 memcpy ((char *) auth->vector, (char *) vector, AUTH_VECTOR_LEN); in rc_check_reply()
438 for (i = 0; i < AUTH_VECTOR_LEN; i++) in rc_check_reply()
443 for (i = 0; i < AUTH_VECTOR_LEN; i++) in rc_check_reply()
452 AUTH_VECTOR_LEN) != 0) in rc_check_reply()
498 i = AUTH_VECTOR_LEN; in rc_random_vector()
511 for (i = 0; i < AUTH_VECTOR_LEN;) in rc_random_vector()