Lines Matching refs:secretlen
35 int length, i, pc, secretlen, padded_length; in rc_pack_list() local
106 secretlen = strlen (secret); in rc_pack_list()
111 memcpy ((char *) md5buf + secretlen, vector, in rc_pack_list()
113 rc_md5_calc (buf, md5buf, secretlen + AUTH_VECTOR_LEN); in rc_pack_list()
141 secretlen = strlen (secret); in rc_pack_list()
143 memcpy ((char *) md5buf + secretlen, (char *) auth->vector, in rc_pack_list()
145 rc_md5_calc (buf, md5buf, secretlen + AUTH_VECTOR_LEN); in rc_pack_list()
208 int secretlen; in rc_send_server() local
273 secretlen = strlen (secret); in rc_send_server()
274 memcpy ((char *) auth + total_length, secret, secretlen); in rc_send_server()
275 rc_md5_calc (vector, (char *) auth, total_length + secretlen); in rc_send_server()
398 int secretlen; in rc_check_reply() local
405 secretlen = strlen (secret); in rc_check_reply()
415 if ((totallen + secretlen) > bufferlen) in rc_check_reply()
430 memcpy ((char *) auth + totallen, secret, secretlen); in rc_check_reply()
431 rc_md5_calc (calc_digest, (char *) auth, totallen + secretlen); in rc_check_reply()