Home
last modified time | relevance | path

Searched refs:AUTH_VECTOR_LEN (Results 1 – 3 of 3) sorted by relevance

/external/ppp/pppd/plugins/radius/
Dsendserver.c97 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()
[all …]
Dradiusclient.h31 #define AUTH_VECTOR_LEN 16 macro
65 u_char vector[AUTH_VECTOR_LEN];
359 u_char request_vector[AUTH_VECTOR_LEN];
Dradius.c747 MD5_Update(&Context, req_info->request_vector, AUTH_VECTOR_LEN); in radius_setmppekeys()
811 MD5_Update(&Context, req_info->request_vector, AUTH_VECTOR_LEN); in radius_setmppekeys2()