Home
last modified time | relevance | path

Searched refs:secretlen (Results 1 – 2 of 2) sorted by relevance

/external/ppp/pppd/plugins/radius/
Dsendserver.c35 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()
[all …]
/external/tcpdump/
Dprint-esp.c119 int secretlen; member
300 sa->secretlen = espprint_decode_hex(ndo, sa->secret, sizeof(sa->secret), colon); in espprint_decode_encalgo()
301 if(sa->secretlen == 0) return 0; in espprint_decode_encalgo()
307 sa->secretlen = i; in espprint_decode_encalgo()
310 sa->secretlen = sizeof(sa->secret); in espprint_decode_encalgo()