Searched refs:secretlen (Results 1 – 2 of 2) sorted by relevance
/external/ppp/pppd/plugins/radius/ |
D | sendserver.c | 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() [all …]
|
/external/tcpdump/ |
D | print-esp.c | 90 int secretlen; member 271 sa->secretlen = espprint_decode_hex(ndo, sa->secret, sizeof(sa->secret), colon); in espprint_decode_encalgo() 272 if(sa->secretlen == 0) return 0; in espprint_decode_encalgo() 278 sa->secretlen = i; in espprint_decode_encalgo() 281 sa->secretlen = sizeof(sa->secret); in espprint_decode_encalgo()
|