Searched refs:POS_CODE (Results 1 – 2 of 2) sorted by relevance
/freebsd/lib/libradius/ |
H A D | radlib.c | 139 MD5Update(&ctx, &h->out[POS_CODE], POS_AUTH - POS_CODE); in insert_request_authenticator() 162 HMAC_Update(ctx, &h->out[POS_CODE], POS_AUTH - POS_CODE); in insert_message_authenticator() 214 MD5Update(&ctx, &h->in[POS_CODE], POS_AUTH - POS_CODE); in is_valid_response() 227 if (h->in[POS_CODE] != RAD_ACCOUNTING_RESPONSE) { in is_valid_response() 249 HMAC_Update(hctx, &h->in[POS_CODE], in is_valid_response() 250 POS_AUTH - POS_CODE); in is_valid_response() 304 if (h->in[POS_CODE] != RAD_ACCESS_REQUEST) { in is_valid_request() 308 MD5Update(&ctx, &h->in[POS_CODE], POS_AUTH - POS_CODE); in is_valid_request() 338 if (h->in[POS_CODE] != RAD_ACCESS_REQUEST) in is_valid_request() 705 return h->in[POS_CODE]; in rad_continue_send_request() [all …]
|
H A D | radlib_private.h | 59 #define POS_CODE 0 /* Message code */ macro
|