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