Coverage Report

Created: 2025-07-11 06:14

/src/hostap/wpa_supplicant/wpas_kay.h
Line
Count
Source (jump to first uncovered line)
1
/*
2
 * IEEE 802.1X-2010 KaY Interface
3
 * Copyright (c) 2013-2014, Qualcomm Atheros, Inc.
4
 *
5
 * This software may be distributed under the terms of the BSD license.
6
 * See README for more details.
7
 */
8
9
#ifndef WPAS_KAY_H
10
#define WPAS_KAY_H
11
12
#ifdef CONFIG_MACSEC
13
14
int ieee802_1x_alloc_kay_sm(struct wpa_supplicant *wpa_s,
15
          struct wpa_ssid *ssid);
16
void * ieee802_1x_notify_create_actor(struct wpa_supplicant *wpa_s,
17
              const u8 *peer_addr);
18
void ieee802_1x_dealloc_kay_sm(struct wpa_supplicant *wpa_s);
19
20
void * ieee802_1x_create_preshared_mka(struct wpa_supplicant *wpa_s,
21
               struct wpa_ssid *ssid);
22
23
#else /* CONFIG_MACSEC */
24
25
static inline int ieee802_1x_alloc_kay_sm(struct wpa_supplicant *wpa_s,
26
            struct wpa_ssid *ssid)
27
0
{
28
0
  return 0;
29
0
}
Unexecuted instantiation: wpa_supplicant.c:ieee802_1x_alloc_kay_sm
Unexecuted instantiation: wpas_glue.c:ieee802_1x_alloc_kay_sm
30
31
static inline void *
32
ieee802_1x_notify_create_actor(struct wpa_supplicant *wpa_s,
33
             const u8 *peer_addr)
34
0
{
35
0
  return NULL;
36
0
}
Unexecuted instantiation: wpa_supplicant.c:ieee802_1x_notify_create_actor
Unexecuted instantiation: wpas_glue.c:ieee802_1x_notify_create_actor
37
38
static inline void ieee802_1x_dealloc_kay_sm(struct wpa_supplicant *wpa_s)
39
0
{
40
0
}
Unexecuted instantiation: wpa_supplicant.c:ieee802_1x_dealloc_kay_sm
Unexecuted instantiation: wpas_glue.c:ieee802_1x_dealloc_kay_sm
41
42
static inline void *
43
ieee802_1x_create_preshared_mka(struct wpa_supplicant *wpa_s,
44
        struct wpa_ssid *ssid)
45
0
{
46
0
  return 0;
47
0
}
Unexecuted instantiation: wpa_supplicant.c:ieee802_1x_create_preshared_mka
Unexecuted instantiation: wpas_glue.c:ieee802_1x_create_preshared_mka
48
49
#endif /* CONFIG_MACSEC */
50
51
#endif /* WPAS_KAY_H */