Lines Matching full:authenticator
225 { RADIUS_ATTR_MESSAGE_AUTHENTICATOR, "Message-Authenticator",
375 "Message-Authenticator");
405 wpa_printf(MSG_ERROR, "WARNING: Could not add Message-Authenticator");
409 os_memcpy(msg->hdr->authenticator, req_authenticator,
410 sizeof(msg->hdr->authenticator));
423 md5_vector(4, addr, len, msg->hdr->authenticator);
447 wpa_printf(MSG_WARNING, "Could not add Message-Authenticator");
452 os_memcpy(msg->hdr->authenticator, req_hdr->authenticator, 16);
461 if (md5_vector(2, addr, len, msg->hdr->authenticator) < 0)
480 os_memset(msg->hdr->authenticator, 0, MD5_MAC_LEN);
485 md5_vector(2, addr, len, msg->hdr->authenticator);
501 os_memcpy(msg->hdr->authenticator, req_authenticator, MD5_MAC_LEN);
506 md5_vector(2, addr, len, msg->hdr->authenticator);
533 return os_memcmp_const(msg->hdr->authenticator, hash, MD5_MAC_LEN) != 0;
560 if (os_memcmp_const(msg->hdr->authenticator, hash, MD5_MAC_LEN) != 0)
568 "Message-Authenticator attributes "
577 /* Message-Authenticator is MAY; not required */
583 os_memcpy(orig_authenticator, msg->hdr->authenticator,
585 os_memset(msg->hdr->authenticator, 0,
586 sizeof(msg->hdr->authenticator));
590 os_memcpy(msg->hdr->authenticator, orig_authenticator,
798 wpa_printf(MSG_INFO, "Multiple Message-Authenticator attributes in RADIUS message");
806 wpa_printf(MSG_INFO, "No Message-Authenticator attribute found");
813 os_memcpy(orig_authenticator, msg->hdr->authenticator,
815 os_memcpy(msg->hdr->authenticator, req_auth,
816 sizeof(msg->hdr->authenticator));
822 os_memcpy(msg->hdr->authenticator, orig_authenticator,
827 wpa_printf(MSG_INFO, "Invalid Message-Authenticator!");
849 sent_msg->hdr->authenticator)) {
856 addr[1] = sent_msg->hdr->authenticator;
863 if (os_memcmp_const(hash, msg->hdr->authenticator, MD5_MAC_LEN) != 0) {
864 wpa_printf(MSG_INFO, "Response Authenticator invalid!");
893 /* Create Request Authenticator. The value should be unique over the lifetime
894 * of the shared secret between authenticator and authentication server.
913 md5_vector(3, addr, elen, msg->hdr->authenticator);
1017 /* b(1) = MD5(Secret + Request-Authenticator + Salt)
1082 /* b(1) = MD5(Secret + Request-Authenticator + Salt)
1126 sent_msg->hdr->authenticator,
1141 sent_msg->hdr->authenticator,
1175 sent_msg->hdr->authenticator,
1309 addr[1] = msg->hdr->authenticator;
1580 addr[1] = sent_msg->hdr->authenticator;