Home | History | Annotate | Download | only in radius

Lines Matching refs:authenticator

225 	{ RADIUS_ATTR_MESSAGE_AUTHENTICATOR, "Message-Authenticator",
364 "Message-Authenticator");
394 wpa_printf(MSG_ERROR, "WARNING: Could not add Message-Authenticator");
398 os_memcpy(msg->hdr->authenticator, req_authenticator,
399 sizeof(msg->hdr->authenticator));
412 md5_vector(4, addr, len, msg->hdr->authenticator);
436 wpa_printf(MSG_WARNING, "Could not add Message-Authenticator");
441 os_memcpy(msg->hdr->authenticator, req_hdr->authenticator, 16);
450 if (md5_vector(2, addr, len, msg->hdr->authenticator) < 0)
469 os_memset(msg->hdr->authenticator, 0, MD5_MAC_LEN);
474 md5_vector(2, addr, len, msg->hdr->authenticator);
490 os_memcpy(msg->hdr->authenticator, req_authenticator, MD5_MAC_LEN);
495 md5_vector(2, addr, len, msg->hdr->authenticator);
522 return os_memcmp_const(msg->hdr->authenticator, hash, MD5_MAC_LEN) != 0;
549 if (os_memcmp_const(msg->hdr->authenticator, hash, MD5_MAC_LEN) != 0)
557 "Message-Authenticator attributes "
566 /* Message-Authenticator is MAY; not required */
572 os_memcpy(orig_authenticator, msg->hdr->authenticator,
574 os_memset(msg->hdr->authenticator, 0,
575 sizeof(msg->hdr->authenticator));
579 os_memcpy(msg->hdr->authenticator, orig_authenticator,
787 wpa_printf(MSG_INFO, "Multiple Message-Authenticator attributes in RADIUS message");
795 wpa_printf(MSG_INFO, "No Message-Authenticator attribute found");
802 os_memcpy(orig_authenticator, msg->hdr->authenticator,
804 os_memcpy(msg->hdr->authenticator, req_auth,
805 sizeof(msg->hdr->authenticator));
811 os_memcpy(msg->hdr->authenticator, orig_authenticator,
816 wpa_printf(MSG_INFO, "Invalid Message-Authenticator!");
838 sent_msg->hdr->authenticator)) {
845 addr[1] = sent_msg->hdr->authenticator;
852 if (os_memcmp_const(hash, msg->hdr->authenticator, MD5_MAC_LEN) != 0) {
853 wpa_printf(MSG_INFO, "Response Authenticator invalid!");
882 /* Create Request Authenticator. The value should be unique over the lifetime
883 * of the shared secret between authenticator and authentication server.
902 md5_vector(3, addr, elen, msg->hdr->authenticator);
1004 /* b(1) = MD5(Secret + Request-Authenticator + Salt)
1069 /* b(1) = MD5(Secret + Request-Authenticator + Salt)
1113 sent_msg->hdr->authenticator,
1124 sent_msg->hdr->authenticator,
1154 sent_msg->hdr->authenticator,
1288 addr[1] = msg->hdr->authenticator;
1559 addr[1] = sent_msg->hdr->authenticator;