Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching defs:key_info

169 	/* Note: key_info, key_length, and key_data_length are unaligned */
170 u8 key_info[2];
985 int key_info, ver;
1006 key_info = WPA_KEY_INFO_REQUEST | ver;
1008 key_info |= WPA_KEY_INFO_MIC;
1010 key_info |= WPA_KEY_INFO_ERROR;
1012 key_info |= WPA_KEY_INFO_KEY_TYPE;
1013 WPA_PUT_BE16(reply->key_info, key_info);
1025 rbuf, rlen, key_info & WPA_KEY_INFO_MIC ?
1044 int key_info, ver;
1128 key_info = WPA_KEY_INFO_SMK_MESSAGE | WPA_KEY_INFO_MIC |
1130 WPA_PUT_BE16(req->key_info, key_info);
1463 WPA_PUT_BE16(reply->key_info,
1768 int key_info)
1806 key_info & WPA_KEY_INFO_SECURE);
1967 u16 ver, u16 key_info,
1986 key_info &= WPA_KEY_INFO_SECURE;
1987 key_info |= ver | WPA_KEY_INFO_KEY_TYPE | WPA_KEY_INFO_MIC;
1988 WPA_PUT_BE16(reply->key_info, key_info);
2012 u16 key_info, keylen, len;
2020 key_info = WPA_GET_BE16(key->key_info);
2026 if (ie.gtk && !(key_info & WPA_KEY_INFO_ENCR_KEY_DATA)) {
2031 if ((ie.dhv || ie.igtk) && !(key_info & WPA_KEY_INFO_ENCR_KEY_DATA)) {
2080 if (wpa_supplicant_send_4_of_4(sm, sm->bssid, key, ver, key_info,
2089 if (key_info & WPA_KEY_INFO_INSTALL) {
2093 if (key_info & WPA_KEY_INFO_SECURE) {
2103 ie.gtk, ie.gtk_len, key_info) < 0) {
2141 u16 key_info;
2154 key_info = ver | WPA_KEY_INFO_SMK_MESSAGE | WPA_KEY_INFO_MIC |
2157 WPA_PUT_BE16(err->key_info, key_info);
2205 u16 key_info;
2219 key_info = ver | WPA_KEY_INFO_SMK_MESSAGE | WPA_KEY_INFO_MIC |
2221 WPA_PUT_BE16(reply->key_info, key_info);
2400 u16 key_info, ver;
2417 key_info = ver | WPA_KEY_INFO_KEY_TYPE | WPA_KEY_INFO_ACK;
2418 WPA_PUT_BE16(msg->key_info, key_info);
2457 u16 key_info, ver;
2476 key_info = ver | WPA_KEY_INFO_KEY_TYPE | WPA_KEY_INFO_ACK |
2478 WPA_PUT_BE16(msg->key_info, key_info);
2914 WPA_GET_BE16(key->key_info),
2964 u16 key_info,
2972 if (ie.gtk && !(key_info & WPA_KEY_INFO_ENCR_KEY_DATA)) {
3008 size_t keydatalen, int key_info,
3038 gd->keyidx = (key_info & WPA_KEY_INFO_KEY_INDEX_MASK) >>
3072 sm, !!(key_info & WPA_KEY_INFO_TXRX));
3079 int ver, u16 key_info)
3092 key_info &= WPA_KEY_INFO_KEY_INDEX_MASK;
3093 key_info |= ver | WPA_KEY_INFO_MIC | WPA_KEY_INFO_SECURE;
3094 WPA_PUT_BE16(reply->key_info, key_info);
3117 u16 key_info, keydatalen;
3127 key_info = WPA_GET_BE16(key->key_info);
3133 keydatalen, key_info,
3137 key_info, extra_len,
3147 wpa_supplicant_send_2_of_2(sm, key, ver, key_info))
3157 key_info &
3339 u16 key_info = WPA_GET_BE16(key->key_info);
3342 wpa_printf(MSG_DEBUG, " key_info 0x%x (ver=%d keyidx=%d rsvd=%d %s"
3344 key_info, key_info & WPA_KEY_INFO_TYPE_MASK,
3345 (key_info & WPA_KEY_INFO_KEY_INDEX_MASK) >>
3347 (key_info & (BIT(13) | BIT(14) | BIT(15))) >> 13,
3348 key_info & WPA_KEY_INFO_KEY_TYPE ? "Pairwise" : "Group",
3349 key_info & WPA_KEY_INFO_INSTALL ? " Install" : "",
3350 key_info & WPA_KEY_INFO_ACK ? " Ack" : "",
3351 key_info & WPA_KEY_INFO_MIC ? " MIC" : "",
3352 key_info & WPA_KEY_INFO_SECURE ? " Secure" : "",
3353 key_info & WPA_KEY_INFO_ERROR ? " Error" : "",
3354 key_info & WPA_KEY_INFO_REQUEST ? " Request" : "",
3355 key_info & WPA_KEY_INFO_ENCR_KEY_DATA ? " Encr" : "");
3392 u16 key_info, ver;
3449 key_info = WPA_GET_BE16(key->key_info);
3450 ver = key_info & WPA_KEY_INFO_TYPE_MASK;
3463 !(key_info & WPA_KEY_INFO_KEY_TYPE)) {
3481 if (!(key_info & WPA_KEY_INFO_SMK_MESSAGE) && peerkey) {
3504 if (peerkey && peerkey->initiator && (key_info & WPA_KEY_INFO_ACK)) {
3505 wpa_printf(MSG_INFO, "RSN: Ack bit in key_info from STK peer");
3518 if (!(key_info & (WPA_KEY_INFO_ACK | WPA_KEY_INFO_SMK_MESSAGE))
3523 wpa_printf(MSG_INFO, "WPA: No Ack bit in key_info");
3527 if (key_info & WPA_KEY_INFO_REQUEST) {
3533 if ((key_info & WPA_KEY_INFO_MIC) && !peerkey &&
3538 if ((key_info & WPA_KEY_INFO_MIC) && peerkey &&
3556 (key_info & WPA_KEY_INFO_ENCR_KEY_DATA)) {
3562 if (key_info & WPA_KEY_INFO_KEY_TYPE) {
3563 if (key_info & WPA_KEY_INFO_KEY_INDEX_MASK) {
3570 if ((key_info & (WPA_KEY_INFO_MIC | WPA_KEY_INFO_ACK))
3575 } else if (key_info & WPA_KEY_INFO_ACK) {
3579 } else if (key_info & WPA_KEY_INFO_SECURE) {
3590 if (key_info & WPA_KEY_INFO_MIC) {
3598 } else if (key_info & WPA_KEY_INFO_SMK_MESSAGE) {
3600 if (key_info & WPA_KEY_INFO_ERROR) {
3604 } else if (key_info & WPA_KEY_INFO_ACK) {
3615 if (key_info & WPA_KEY_INFO_MIC) {