Lines Matching full:authenticator

150 /* Generate a random authenticator field. */
169 /* Generate a response authenticator field. */
185 * authenticator and the secret at the end. */ in auth_generate_response()
226 /* Determine if a packet requires a Message-Authenticator attribute. */
231 * Message-Authenticator is required only on UDP and TCP connections. */ in requires_msgauth()
237 * Message-Authenticator is required in Access-Request packets and all in requires_msgauth()
245 /* Check if the packet has a Message-Authenticator attribute. */
253 /* Return the beginning of the Message-Authenticator attribute in pkt, or NULL
273 * Calculate the message authenticator MAC for pkt as specified in RFC 2869
274 * section 5.14, placing the result in mac_out. Use the provided authenticator
299 /* Read the provided authenticator. */ in calculate_mac()
303 /* Read any attributes before Message-Authenticator. */ in calculate_mac()
307 /* Read Message-Authenticator with the data bytes all set to zero, per RFC in calculate_mac()
312 /* Read any attributes after Message-Authenticator. */ in calculate_mac()
369 /* Generate the authenticator. */ in krad_packet_new_request()
374 /* Determine if Message-Authenticator is required. */ in krad_packet_new_request()
389 /* Calculate and set the Message-Authenticator MAC. */ in krad_packet_new_request()
423 /* Determine if Message-Authenticator is required. */ in krad_packet_new_response()
438 /* Generate the authenticator. */ in krad_packet_new_response()
446 * Calculate and replace the Message-Authenticator MAC. Per RFC 2869 in krad_packet_new_response()
447 * section 5.14, use the authenticator from the request, not from the in krad_packet_new_response()
469 /* Verify the Message-Authenticator value in pkt, using the provided
470 * authenticator (which may be from pkt or from a corresponding request). */
557 /* Verify Message-Authenticator if present. */ in krad_packet_decode_request()
605 /* Verify the response authenticator. */ in krad_packet_decode_response()
609 /* Verify Message-Authenticator if present. */ in krad_packet_decode_response()