Lines Matching defs:r0kh
934 struct ft_remote_r0kh *r0kh;
937 r0kh = os_zalloc(sizeof(*r0kh));
938 if (r0kh == NULL)
946 if (next == NULL || hwaddr_aton(pos, r0kh->addr)) {
947 wpa_printf(MSG_ERROR, "Invalid R0KH MAC address: '%s'", pos);
948 os_free(r0kh);
957 wpa_printf(MSG_ERROR, "Invalid R0KH-ID: '%s'", pos);
958 os_free(r0kh);
961 r0kh->id_len = next - pos - 1;
962 os_memcpy(r0kh->id, pos, r0kh->id_len);
965 if (hexstr2bin(pos, r0kh->key, sizeof(r0kh->key))) {
966 wpa_printf(MSG_ERROR, "Invalid R0KH key: '%s'", pos);
967 os_free(r0kh);
971 r0kh->next = bss->r0kh_list;
972 bss->r0kh_list = r0kh;
2349 } else if (os_strcmp(buf, "r0kh") == 0) {
2351 wpa_printf(MSG_DEBUG, "Line %d: Invalid r0kh '%s'",