Lines Matching refs:LEN_AUTH
107 memcpy(md5, &h->out[POS_AUTH], LEN_AUTH); in insert_scrambled_password()
141 MD5Update(&ctx, &h->in[POS_AUTH], LEN_AUTH); in insert_request_authenticator()
143 MD5Update(&ctx, &h->out[POS_AUTH], LEN_AUTH); in insert_request_authenticator()
164 HMAC_Update(ctx, &h->in[POS_AUTH], LEN_AUTH); in insert_message_authenticator()
166 HMAC_Update(ctx, &h->out[POS_AUTH], LEN_AUTH); in insert_message_authenticator()
215 MD5Update(&ctx, &h->out[POS_AUTH], LEN_AUTH); in is_valid_response()
252 LEN_AUTH); in is_valid_response()
309 MD5Update(&ctx, zeroes, LEN_AUTH); in is_valid_request()
339 memset(&resp[POS_AUTH], 0, LEN_AUTH); in is_valid_request()
774 memset(&h->out[POS_AUTH], 0, LEN_AUTH); in rad_continue_send_request()
879 for (i = 0; i < LEN_AUTH; i += 2) { in rad_create_request()
886 memset(&h->out[POS_AUTH], 0, LEN_AUTH); in rad_create_request()
904 memset(&h->out[POS_AUTH], 0, LEN_AUTH); in rad_create_response()
1448 if (len < LEN_AUTH) in rad_request_authenticator()
1450 memcpy(buf, h->out + POS_AUTH, LEN_AUTH); in rad_request_authenticator()
1451 if (len > LEN_AUTH) in rad_request_authenticator()
1452 buf[LEN_AUTH] = '\0'; in rad_request_authenticator()
1453 return (LEN_AUTH); in rad_request_authenticator()
1459 char R[LEN_AUTH]; in rad_demangle()
1477 if (rad_request_authenticator(h, R, sizeof R) != LEN_AUTH) { in rad_demangle()
1488 MD5Update(&Context, R, LEN_AUTH); in rad_demangle()
1514 char R[LEN_AUTH]; /* variable names as per rfc2548 */ in rad_demangle_mppe_key()
1529 if (rad_request_authenticator(h, R, sizeof R) != LEN_AUTH) { in rad_demangle_mppe_key()
1543 MD5Update(&Context, R, LEN_AUTH); in rad_demangle_mppe_key()