repo stringlengths 1 152 ⌀ | file stringlengths 14 221 | code stringlengths 501 25k | file_length int64 501 25k | avg_line_length float64 20 99.5 | max_line_length int64 21 134 | extension_type stringclasses 2
values |
|---|---|---|---|---|---|---|
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/src/tensorflow/lite/kernels/internal/reference/integer_ops/add.h | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | 6,598 | 44.510345 | 80 | h |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/src/tensorflow/lite/kernels/internal/reference/integer_ops/l2normalization.h | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | 2,929 | 43.393939 | 84 | h |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/src/tensorflow/lite/kernels/internal/reference/integer_ops/pooling.h | /* Copyright 2018 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | 12,291 | 46.459459 | 80 | h |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/src/tensorflow/lite/kernels/internal/reference/integer_ops/conv.h | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | 10,470 | 46.166667 | 80 | h |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/src/tensorflow/lite/kernels/internal/reference/integer_ops/depthwise_conv.h | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | 14,578 | 49.272414 | 83 | h |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/src/tensorflow/lite/kernels/internal/reference/integer_ops/mul.h | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | 5,783 | 42.818182 | 80 | h |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/src/tensorflow/lite/kernels/internal/reference/integer_ops/logistic.h | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | 4,204 | 38.299065 | 80 | h |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/src/tensorflow/lite/kernels/internal/optimized/neon_check.h | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | 1,473 | 34.95122 | 80 | h |
hostap | hostap-master/mac80211_hwsim/tools/hwsim_test.c | /*
* hwsim_test - Data connectivity test for mac80211_hwsim
* Copyright (c) 2009, Atheros Communications
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <sys/ioctl.h>... | 7,073 | 22.042345 | 81 | c |
hostap | hostap-master/wpa_supplicant/mesh.h | /*
* WPA Supplicant - Basic mesh mode routines
* Copyright (c) 2013-2014, cozybit, Inc. All rights reserved.
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef MESH_H
#define MESH_H
int wpa_supplicant_join_mesh(struct wpa_supplicant *wpa_s,
... | 1,424 | 28.6875 | 80 | h |
hostap | hostap-master/wpa_supplicant/wmm_ac.c | /*
* Wi-Fi Multimedia Admission Control (WMM-AC)
* Copyright(c) 2014, Intel Mobile Communication GmbH.
* Copyright(c) 2014, Intel Corporation. All rights reserved.
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "includes.h"
#include "utils/co... | 24,339 | 23.437751 | 80 | c |
hostap | hostap-master/wpa_supplicant/mesh_rsn.c | /*
* WPA Supplicant - Mesh RSN routines
* Copyright (c) 2013-2014, cozybit, Inc. All rights reserved.
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "utils/includes.h"
#include "utils/common.h"
#include "utils/eloop.h"
#include "crypto/sha256... | 20,172 | 25.439056 | 109 | c |
hostap | hostap-master/wpa_supplicant/wmm_ac.h | /*
* Wi-Fi Multimedia Admission Control (WMM-AC)
* Copyright(c) 2014, Intel Mobile Communication GmbH.
* Copyright(c) 2014, Intel Corporation. All rights reserved.
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef WMM_AC_H
#define WMM_AC_H
#inclu... | 4,956 | 27.00565 | 79 | h |
hostap | hostap-master/wpa_supplicant/mbo.c | /*
* wpa_supplicant - MBO
*
* Copyright(c) 2015 Intel Deutschland GmbH
* Contact Information:
* Intel Linux Wireless <ilw@linux.intel.com>
* Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
*
* This software may be distributed under the terms of the BSD license.
* See README for more d... | 20,540 | 23.541219 | 87 | c |
hostap | hostap-master/wpa_supplicant/ctrl_iface.h | /*
* WPA Supplicant / UNIX domain socket -based control interface
* Copyright (c) 2004-2005, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef CTRL_IFACE_H
#define CTRL_IFACE_H
#ifdef CONFIG_CTRL_IFACE
/* Shared functions ... | 5,420 | 32.88125 | 79 | h |
hostap | hostap-master/wpa_supplicant/wpas_kay.h | /*
* IEEE 802.1X-2010 KaY Interface
* Copyright (c) 2013-2014, Qualcomm Atheros, Inc.
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef WPAS_KAY_H
#define WPAS_KAY_H
#ifdef CONFIG_MACSEC
int ieee802_1x_alloc_kay_sm(struct wpa_supplicant *wpa_s,
... | 922 | 20.97619 | 74 | h |
hostap | hostap-master/wpa_supplicant/bgscan.h | /*
* WPA Supplicant - background scan and roaming interface
* Copyright (c) 2009-2010, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef BGSCAN_H
#define BGSCAN_H
struct wpa_supplicant;
struct wpa_ssid;
struct bgscan_ops {... | 2,115 | 24.493976 | 76 | h |
hostap | hostap-master/wpa_supplicant/main_winmain.c | /*
* WPA Supplicant / WinMain() function for Windows-based applications
* Copyright (c) 2006, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "wpa_supplicant_i.h"
#ifdef _WIN32_... | 1,759 | 21.278481 | 71 | c |
hostap | hostap-master/wpa_supplicant/interworking.h | /*
* Interworking (IEEE 802.11u)
* Copyright (c) 2011-2012, Qualcomm Atheros
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef INTERWORKING_H
#define INTERWORKING_H
enum gas_query_result;
int anqp_send_req(struct wpa_supplicant *wpa_s, const u8 *... | 1,358 | 34.763158 | 75 | h |
hostap | hostap-master/wpa_supplicant/blacklist.c | /*
* wpa_supplicant - Temporary BSSID blacklist
* Copyright (c) 2003-2007, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "wpa_supplicant_i.h"
#include "blacklist.h"
/**
* wpa... | 3,457 | 23.352113 | 78 | c |
hostap | hostap-master/wpa_supplicant/autoscan.h | /*
* WPA Supplicant - auto scan
* Copyright (c) 2012, Intel Corporation. All rights reserved.
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef AUTOSCAN_H
#define AUTOSCAN_H
struct wpa_supplicant;
struct autoscan_ops {
const char *name;
void *... | 1,390 | 22.183333 | 75 | h |
hostap | hostap-master/wpa_supplicant/bgscan_learn.c | /*
* WPA Supplicant - background scan and roaming module: learn
* Copyright (c) 2009-2010, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "eloop.h"
#include "list.h"
#include "c... | 14,798 | 22.946602 | 72 | c |
hostap | hostap-master/wpa_supplicant/main.c | /*
* WPA Supplicant / main() function for UNIX like OSes and MinGW
* Copyright (c) 2003-2013, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "includes.h"
#ifdef __linux__
#include <fcntl.h>
#endif /* __linux__ */
#inclu... | 10,257 | 24.019512 | 73 | c |
hostap | hostap-master/wpa_supplicant/scan.h | /*
* WPA Supplicant - Scanning
* Copyright (c) 2003-2014, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef SCAN_H
#define SCAN_H
int wpa_supplicant_enabled_networks(struct wpa_supplicant *wpa_s);
void wpa_supplicant_req_sc... | 2,829 | 43.21875 | 78 | h |
hostap | hostap-master/wpa_supplicant/wifi_display.h | /*
* wpa_supplicant - Wi-Fi Display
* Copyright (c) 2011, Atheros Communications, Inc.
* Copyright (c) 2011-2012, Qualcomm Atheros, Inc.
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef WIFI_DISPLAY_H
#define WIFI_DISPLAY_H
int wifi_display_init... | 904 | 35.2 | 74 | h |
hostap | hostap-master/wpa_supplicant/gas_query.c | /*
* Generic advertisement service (GAS) query
* Copyright (c) 2009, Atheros Communications
* Copyright (c) 2011-2014, Qualcomm Atheros, Inc.
* Copyright (c) 2011-2014, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "i... | 21,925 | 26.966837 | 90 | c |
hostap | hostap-master/wpa_supplicant/ctrl_iface_udp.c | /*
* WPA Supplicant / UDP socket -based control interface
* Copyright (c) 2004-2016, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "eloop.h"
#include "config.h"
#include "eapol... | 20,430 | 25.026752 | 79 | c |
hostap | hostap-master/wpa_supplicant/offchannel.h | /*
* wpa_supplicant - Off-channel Action frame TX/RX
* Copyright (c) 2009-2010, Atheros Communications
* Copyright (c) 2011, Qualcomm Atheros
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef OFFCHANNEL_H
#define OFFCHANNEL_H
int offchannel_send_... | 1,402 | 37.972222 | 75 | h |
hostap | hostap-master/wpa_supplicant/notify.c | /*
* wpa_supplicant - Event notifications
* Copyright (c) 2009-2010, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "utils/includes.h"
#include "utils/common.h"
#include "common/wpa_ctrl.h"
#include "config.h"
#include ... | 19,804 | 22.218054 | 81 | c |
hostap | hostap-master/wpa_supplicant/bgscan_simple.c | /*
* WPA Supplicant - background scan and roaming module: simple
* Copyright (c) 2009-2010, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "eloop.h"
#include "drivers/driver.h"
... | 8,389 | 28.542254 | 72 | c |
hostap | hostap-master/wpa_supplicant/bss.h | /*
* BSS table
* Copyright (c) 2009-2015, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef BSS_H
#define BSS_H
struct wpa_scan_res;
#define WPA_BSS_QUAL_INVALID BIT(0)
#define WPA_BSS_NOISE_INVALID BIT(1)
#define WPA_BS... | 5,512 | 31.239766 | 79 | h |
hostap | hostap-master/wpa_supplicant/notify.h | /*
* wpa_supplicant - Event notifications
* Copyright (c) 2009-2010, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef NOTIFY_H
#define NOTIFY_H
#include "p2p/p2p.h"
struct wps_credential;
struct wps_event_m2d;
struct wps_... | 6,594 | 44.171233 | 78 | h |
hostap | hostap-master/wpa_supplicant/ap.h | /*
* WPA Supplicant - Basic AP mode support routines
* Copyright (c) 2003-2009, Jouni Malinen <j@w1.fi>
* Copyright (c) 2009, Atheros Communications
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef AP_H
#define AP_H
int wpa_supplicant_create_ap(... | 4,281 | 40.572816 | 80 | h |
hostap | hostap-master/wpa_supplicant/p2p_supplicant.h | /*
* wpa_supplicant - P2P
* Copyright (c) 2009-2010, Atheros Communications
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef P2P_SUPPLICANT_H
#define P2P_SUPPLICANT_H
enum p2p_wps_method;
struct p2p_go_neg_results;
enum p2p_send_action_result;
st... | 13,067 | 36.551724 | 79 | h |
hostap | hostap-master/wpa_supplicant/mesh_mpm.h | /*
* WPA Supplicant - Basic mesh peer management
* Copyright (c) 2013-2014, cozybit, Inc. All rights reserved.
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef MESH_MPM_H
#define MESH_MPM_H
/* notify MPM of new mesh peer to be inserted in MPM an... | 1,488 | 30.680851 | 80 | h |
hostap | hostap-master/wpa_supplicant/bgscan.c | /*
* WPA Supplicant - background scan and roaming interface
* Copyright (c) 2009-2010, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "wpa_supplicant_i.h"
#include "config_ssid.... | 2,497 | 21.303571 | 73 | c |
hostap | hostap-master/wpa_supplicant/gas_query.h | /*
* Generic advertisement service (GAS) query
* Copyright (c) 2009, Atheros Communications
* Copyright (c) 2011, Qualcomm Atheros
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef GAS_QUERY_H
#define GAS_QUERY_H
struct gas_query;
#ifdef CONFIG_... | 1,334 | 22.017241 | 77 | h |
hostap | hostap-master/wpa_supplicant/wifi_display.c | /*
* wpa_supplicant - Wi-Fi Display
* Copyright (c) 2011, Atheros Communications, Inc.
* Copyright (c) 2011-2012, Qualcomm Atheros, Inc.
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "p2p/p2p.h"
#inc... | 10,265 | 23.501193 | 73 | c |
hostap | hostap-master/wpa_supplicant/config_ssid.h | /*
* WPA Supplicant / Network configuration structures
* Copyright (c) 2003-2013, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef CONFIG_SSID_H
#define CONFIG_SSID_H
#include "common/defs.h"
#include "utils/list.h"
#inclu... | 21,120 | 26.42987 | 78 | h |
hostap | hostap-master/wpa_supplicant/win_if_list.c | /*
* win_if_list - Display network interfaces with description (for Windows)
* Copyright (c) 2004-2006, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*
* This small tool is for the Windows build to provide an easy way of fetching
... | 3,818 | 20.948276 | 78 | c |
hostap | hostap-master/wpa_supplicant/blacklist.h | /*
* wpa_supplicant - Temporary BSSID blacklist
* Copyright (c) 2003-2007, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef BLACKLIST_H
#define BLACKLIST_H
struct wpa_blacklist {
struct wpa_blacklist *next;
u8 bssid[ETH_... | 660 | 25.44 | 71 | h |
hostap | hostap-master/wpa_supplicant/wps_supplicant.h | /*
* wpa_supplicant / WPS integration
* Copyright (c) 2008-2012, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef WPS_SUPPLICANT_H
#define WPS_SUPPLICANT_H
struct wpa_scan_results;
#ifdef CONFIG_WPS
#include "wps/wps.h"
... | 5,176 | 31.35625 | 77 | h |
hostap | hostap-master/wpa_supplicant/ctrl_iface_named_pipe.c | /*
* WPA Supplicant / Windows Named Pipe -based control interface
* Copyright (c) 2004-2006, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "eloop.h"
#include "config.h"
#includ... | 20,166 | 23.268351 | 79 | c |
hostap | hostap-master/wpa_supplicant/mesh_rsn.h | /*
* WPA Supplicant - Mesh RSN routines
* Copyright (c) 2013-2014, cozybit, Inc. All rights reserved.
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef MESH_RSN_H
#define MESH_RSN_H
struct mesh_rsn {
struct wpa_supplicant *wpa_s;
struct wpa_aut... | 1,464 | 30.847826 | 79 | h |
hostap | hostap-master/wpa_supplicant/config_none.c | /*
* WPA Supplicant / Configuration backend: empty starting point
* Copyright (c) 2003-2005, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*
* This file implements dummy example of a configuration backend. None of the
* functions ... | 1,282 | 21.508772 | 78 | c |
hostap | hostap-master/wpa_supplicant/ibss_rsn.c | /*
* wpa_supplicant - IBSS RSN
* Copyright (c) 2009-2013, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "common/wpa_ctrl.h"
#include "utils/eloop.h"
#include "l2_packet/l2_pack... | 23,269 | 24.211268 | 92 | c |
hostap | hostap-master/wpa_supplicant/ibss_rsn.h | /*
* wpa_supplicant - IBSS RSN
* Copyright (c) 2009, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef IBSS_RSN_H
#define IBSS_RSN_H
struct ibss_rsn;
/* not authenticated */
#define IBSS_RSN_AUTH_NOT_AUTHENTICATED 0x00
/* ... | 1,736 | 25.318182 | 74 | h |
hostap | hostap-master/wpa_supplicant/wpas_module_tests.c | /*
* wpa_supplicant module tests
* Copyright (c) 2014, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "utils/includes.h"
#include "utils/common.h"
#include "utils/module_tests.h"
#include "wpa_supplicant_i.h"
#include "... | 2,567 | 25.204082 | 71 | c |
hostap | hostap-master/wpa_supplicant/config_winreg.c | /*
* WPA Supplicant / Configuration backend: Windows registry
* Copyright (c) 2003-2008, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*
* This file implements a configuration backend for Windows registry. All the
* configuration ... | 24,579 | 22.77176 | 79 | c |
hostap | hostap-master/wpa_supplicant/hs20_supplicant.h | /*
* Copyright (c) 2011-2013, Qualcomm Atheros, Inc.
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef HS20_SUPPLICANT_H
#define HS20_SUPPLICANT_H
void hs20_configure_frame_filters(struct wpa_supplicant *wpa_s);
void wpas_hs20_add_indication(struct... | 1,999 | 41.553191 | 79 | h |
hostap | hostap-master/wpa_supplicant/sme.h | /*
* wpa_supplicant - SME
* Copyright (c) 2009-2010, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef SME_H
#define SME_H
#ifdef CONFIG_SME
void sme_authenticate(struct wpa_supplicant *wpa_s,
struct wpa_bss *bss, ... | 3,188 | 25.798319 | 79 | h |
hostap | hostap-master/wpa_supplicant/wpas_kay.c | /*
* IEEE 802.1X-2010 KaY Interface
* Copyright (c) 2013-2014, Qualcomm Atheros, Inc.
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include <openssl/ssl.h>
#include "utils/includes.h"
#include "utils/common.h"
#include "eap_peer/eap.h"
#include "eap_p... | 8,683 | 22.219251 | 80 | c |
hostap | hostap-master/wpa_supplicant/preauth_test.c | /*
* WPA Supplicant - test code for pre-authentication
* Copyright (c) 2003-2007, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*
* IEEE 802.1X Supplicant test code (to be used in place of wpa_supplicant.c.
* Not used in productio... | 8,598 | 22.819945 | 77 | c |
hostap | hostap-master/wpa_supplicant/mesh.c | /*
* WPA Supplicant - Basic mesh mode routines
* Copyright (c) 2013-2014, cozybit, Inc. All rights reserved.
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "utils/includes.h"
#include "utils/common.h"
#include "utils/eloop.h"
#include "utils/... | 17,441 | 26 | 78 | c |
hostap | hostap-master/wpa_supplicant/main_winsvc.c | /*
* WPA Supplicant / main() function for Win32 service
* Copyright (c) 2003-2006, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*
* The root of wpa_supplicant configuration in registry is
* HKEY_LOCAL_MACHINE\\SOFTWARE\\%wpa_supp... | 11,419 | 23.880174 | 79 | c |
hostap | hostap-master/wpa_supplicant/wnm_sta.h | /*
* IEEE 802.11v WNM related functions and structures
* Copyright (c) 2011-2012, Qualcomm Atheros, Inc.
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef WNM_STA_H
#define WNM_STA_H
struct measurement_pilot {
u8 measurement_pilot;
u8 subelem_le... | 2,018 | 24.884615 | 71 | h |
hostap | hostap-master/wpa_supplicant/autoscan.c | /*
* WPA Supplicant - auto scan
* Copyright (c) 2012, Intel Corporation. All rights reserved.
* Copyright 2015 Intel Deutschland GmbH
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "config.h"
#include... | 3,565 | 20.877301 | 71 | c |
hostap | hostap-master/wpa_supplicant/wpas_glue.h | /*
* WPA Supplicant - Glue code to setup EAPOL and RSN modules
* Copyright (c) 2003-2008, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef WPAS_GLUE_H
#define WPAS_GLUE_H
enum wpa_ctrl_req_type;
int wpa_supplicant_init_ea... | 888 | 29.655172 | 78 | h |
hostap | hostap-master/wpa_supplicant/binder/binder_constants.h | /*
* binder interface for wpa_supplicant daemon
* Copyright (c) 2004-2016, Jouni Malinen <j@w1.fi>
* Copyright (c) 2004-2016, Roshan Pius <rpius@google.com>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef WPA_SUPPLICANT_BINDER_BINDER_CONSTANTS_H... | 600 | 26.318182 | 71 | h |
hostap | hostap-master/wpa_supplicant/binder/iface.h | /*
* binder interface for wpa_supplicant daemon
* Copyright (c) 2004-2016, Jouni Malinen <j@w1.fi>
* Copyright (c) 2004-2016, Roshan Pius <rpius@google.com>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef WPA_SUPPLICANT_BINDER_IFACE_H
#define WP... | 1,040 | 23.209302 | 71 | h |
hostap | hostap-master/wpa_supplicant/binder/supplicant.h | /*
* binder interface for wpa_supplicant daemon
* Copyright (c) 2004-2016, Jouni Malinen <j@w1.fi>
* Copyright (c) 2004-2016, Roshan Pius <rpius@google.com>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef WPA_SUPPLICANT_BINDER_SUPPLICANT_H
#defi... | 1,675 | 28.928571 | 72 | h |
hostap | hostap-master/wpa_supplicant/binder/binder_manager.h | /*
* binder interface for wpa_supplicant daemon
* Copyright (c) 2004-2016, Jouni Malinen <j@w1.fi>
* Copyright (c) 2004-2016, Roshan Pius <rpius@google.com>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef WPA_SUPPLICANT_BINDER_BINDER_MANAGER_H
#... | 1,724 | 28.237288 | 71 | h |
hostap | hostap-master/wpa_supplicant/binder/binder.h | /*
* binder interface for wpa_supplicant daemon
* Copyright (c) 2004-2016, Jouni Malinen <j@w1.fi>
* Copyright (c) 2004-2016, Roshan Pius <rpius@google.com>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef WPA_SUPPLICANT_BINDER_BINDER_H
#define W... | 1,337 | 27.468085 | 80 | h |
hostap | hostap-master/wpa_supplicant/dbus/dbus_new_handlers_wps.c | /*
* WPA Supplicant / dbus-based control interface (WPS)
* Copyright (c) 2006, Dan Williams <dcbw@redhat.com> and Red Hat, Inc.
* Copyright (c) 2009, Witold Sowa <witold.sowa@gmail.com>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "includes.... | 13,967 | 29.564551 | 78 | c |
hostap | hostap-master/wpa_supplicant/dbus/dbus_new_helpers.h | /*
* WPA Supplicant / dbus-based control interface
* Copyright (c) 2006, Dan Williams <dcbw@redhat.com> and Red Hat, Inc.
* Copyright (c) 2009, Witold Sowa <witold.sowa@gmail.com>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef WPA_DBUS_CTRL_H
#... | 4,463 | 27.8 | 78 | h |
hostap | hostap-master/wpa_supplicant/dbus/dbus_common.h | /*
* wpa_supplicant D-Bus control interface - common definitions
* Copyright (c) 2006, Dan Williams <dcbw@redhat.com> and Red Hat, Inc.
* Copyright (c) 2009, Witold Sowa <witold.sowa@gmail.com>
* Copyright (c) 2009, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
... | 591 | 27.190476 | 71 | h |
hostap | hostap-master/wpa_supplicant/dbus/dbus_old_handlers.h | /*
* WPA Supplicant / dbus-based control interface
* Copyright (c) 2006, Dan Williams <dcbw@redhat.com> and Red Hat, Inc.
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef CTRL_IFACE_DBUS_HANDLERS_H
#define CTRL_IFACE_DBUS_HANDLERS_H
struct wpa_bs... | 3,401 | 32.352941 | 72 | h |
hostap | hostap-master/wpa_supplicant/dbus/dbus_new_handlers_p2p.h | /*
* WPA Supplicant / dbus-based control interface for p2p
* Copyright (c) 2011-2012, Intel Corporation
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef DBUS_NEW_HANDLERS_P2P_H
#define DBUS_NEW_HANDLERS_P2P_H
struct peer_handler_args {
struct wp... | 5,174 | 33.046053 | 71 | h |
hostap | hostap-master/wpa_supplicant/dbus/dbus_old.h | /*
* WPA Supplicant / dbus-based control interface
* Copyright (c) 2006, Dan Williams <dcbw@redhat.com> and Red Hat, Inc.
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef CTRL_IFACE_DBUS_H
#define CTRL_IFACE_DBUS_H
struct wps_credential;
#ifdef ... | 4,127 | 27.867133 | 75 | h |
hostap | hostap-master/wpa_supplicant/dbus/dbus_old.c | /*
* WPA Supplicant / dbus-based control interface
* Copyright (c) 2006, Dan Williams <dcbw@redhat.com> and Red Hat, Inc.
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "includes.h"
#include <dbus/dbus.h>
#include "common.h"
#include "eloop.h"... | 22,365 | 28.981233 | 83 | c |
hostap | hostap-master/wpa_supplicant/dbus/dbus_common.c | /*
* wpa_supplicant D-Bus control interface - common functionality
* Copyright (c) 2006, Dan Williams <dcbw@redhat.com> and Red Hat, Inc.
* Copyright (c) 2009, Witold Sowa <witold.sowa@gmail.com>
* Copyright (c) 2009, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.... | 9,049 | 22.753281 | 78 | c |
hostap | hostap-master/wpa_supplicant/dbus/dbus_new.h | /*
* WPA Supplicant / dbus-based control interface
* Copyright (c) 2006, Dan Williams <dcbw@redhat.com> and Red Hat, Inc.
* Copyright (c) 2009-2010, Witold Sowa <witold.sowa@gmail.com>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef CTRL_IFACE_D... | 16,404 | 28.452424 | 80 | h |
hostap | hostap-master/wpa_supplicant/dbus/dbus_new_handlers.h | /*
* WPA Supplicant / dbus-based control interface
* Copyright (c) 2006, Dan Williams <dcbw@redhat.com> and Red Hat, Inc.
* Copyright (c) 2009-2010, Witold Sowa <witold.sowa@gmail.com>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef CTRL_IFACE_D... | 8,374 | 36.895928 | 79 | h |
hostap | hostap-master/wpa_supplicant/dbus/dbus_new_introspect.c | /*
* wpa_supplicant - D-Bus introspection
* Copyright (c) 2006, Dan Williams <dcbw@redhat.com> and Red Hat, Inc.
* Copyright (c) 2009, Witold Sowa <witold.sowa@gmail.com>
* Copyright (c) 2010, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more d... | 7,890 | 26.494774 | 84 | c |
hostap | hostap-master/wpa_supplicant/dbus/dbus_common_i.h | /*
* wpa_supplicant D-Bus control interface - internal definitions
* Copyright (c) 2006, Dan Williams <dcbw@redhat.com> and Red Hat, Inc.
* Copyright (c) 2009, Witold Sowa <witold.sowa@gmail.com>
* Copyright (c) 2009, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.... | 863 | 23.685714 | 71 | h |
hostap | hostap-master/wpa_supplicant/dbus/dbus_old_handlers_wps.c | /*
* WPA Supplicant / dbus-based control interface (WPS)
* Copyright (c) 2006, Dan Williams <dcbw@redhat.com> and Red Hat, Inc.
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "includes.h"
#include <dbus/dbus.h>
#include "common.h"
#include "..... | 4,072 | 25.620915 | 72 | c |
hostap | hostap-master/wpa_supplicant/dbus/dbus_dict_helpers.h | /*
* WPA Supplicant / dbus-based control interface
* Copyright (c) 2006, Dan Williams <dcbw@redhat.com> and Red Hat, Inc.
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef DBUS_DICT_HELPERS_H
#define DBUS_DICT_HELPERS_H
#include "wpabuf.h"
/*
* ... | 4,764 | 30.143791 | 79 | h |
hostap | hostap-master/wpa_supplicant/wpa_gui-qt4/scanresultsitem.h | /*
* wpa_gui - ScanResultsItem class
* Copyright (c) 2015, Adrian Nowicki <adinowicki@gmail.com>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef SCANRESULTSITEM_H
#define SCANRESULTSITEM_H
#include <QTreeWidgetItem>
class ScanResultsItem : publ... | 501 | 21.818182 | 71 | h |
hostap | hostap-master/wpa_supplicant/wpa_gui-qt4/eventhistory.h | /*
* wpa_gui - EventHistory class
* Copyright (c) 2005-2006, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef EVENTHISTORY_H
#define EVENTHISTORY_H
#include <QObject>
#include "ui_eventhistory.h"
class EventListModel : p... | 1,302 | 21.465517 | 73 | h |
hostap | hostap-master/wpa_supplicant/wpa_gui-qt4/peers.h | /*
* wpa_gui - Peers class
* Copyright (c) 2009-2010, Atheros Communications
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef PEERS_H
#define PEERS_H
#include <QObject>
#include <QStandardItemModel>
#include "wpamsg.h"
#include "ui_peers.h"
clas... | 2,327 | 24.582418 | 71 | h |
hostap | hostap-master/wpa_supplicant/wpa_gui-qt4/wpagui.h | /*
* wpa_gui - WpaGui class
* Copyright (c) 2005-2006, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef WPAGUI_H
#define WPAGUI_H
#include <QSystemTrayIcon>
#include <QObject>
#include "ui_wpagui.h"
#include "addinterface.... | 4,499 | 23.861878 | 71 | h |
hostap | hostap-master/wpa_supplicant/wpa_gui-qt4/networkconfig.h | /*
* wpa_gui - NetworkConfig class
* Copyright (c) 2005-2006, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef NETWORKCONFIG_H
#define NETWORKCONFIG_H
#include <QObject>
#include "ui_networkconfig.h"
class WpaGui;
class ... | 1,322 | 22.625 | 71 | h |
hostap | hostap-master/radius_example/radius_example.c | /*
* Example application using RADIUS client as a library
* Copyright (c) 2007, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "eloop.h"
#include "radius/radius.h"
#include "rad... | 3,554 | 22.084416 | 77 | c |
hostap | hostap-master/src/crypto/sha256-internal.c | /*
* SHA-256 hash implementation and interface functions
* Copyright (c) 2003-2011, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "sha256.h"
#include "sha256_i.h"
#include "cry... | 6,150 | 25.743478 | 79 | c |
hostap | hostap-master/src/crypto/sha384_i.h | /*
* SHA-384 internal definitions
* Copyright (c) 2015, Pali Rohár <pali.rohar@gmail.com>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef SHA384_I_H
#define SHA384_I_H
#include "sha512_i.h"
#define SHA384_BLOCK_SIZE SHA512_BLOCK_SIZE
#define s... | 572 | 22.875 | 71 | h |
hostap | hostap-master/src/crypto/sha256.c | /*
* SHA-256 hash implementation and interface functions
* Copyright (c) 2003-2012, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "sha256.h"
#include "crypto.h"
/**
* hmac_s... | 2,700 | 24.72381 | 74 | c |
hostap | hostap-master/src/crypto/crypto_internal-cipher.c | /*
* Crypto wrapper for internal crypto implementation - Cipher wrappers
* Copyright (c) 2006-2009, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "crypto.h"
#include "aes.h"
#i... | 5,199 | 20.311475 | 71 | c |
hostap | hostap-master/src/crypto/aes-wrap.c | /*
* AES Key Wrap Algorithm (RFC3394)
*
* Copyright (c) 2003-2007, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "aes.h"
#include "aes_wrap.h"
/**
* aes_wrap - Wrap keys wit... | 1,655 | 20.506494 | 79 | c |
hostap | hostap-master/src/crypto/aes-cbc.c | /*
* AES-128 CBC
*
* Copyright (c) 2003-2007, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "aes.h"
#include "aes_wrap.h"
/**
* aes_128_cbc_encrypt - AES-128 CBC encryption
... | 1,972 | 21.678161 | 79 | c |
hostap | hostap-master/src/crypto/aes_siv.h | /*
* AES SIV (RFC 5297)
* Copyright (c) 2013 Cozybit, Inc.
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef AES_SIV_H
#define AES_SIV_H
int aes_siv_encrypt(const u8 *key, size_t key_len,
const u8 *pw, size_t pwlen,
size_t num_elem, co... | 565 | 24.727273 | 71 | h |
hostap | hostap-master/src/crypto/sha1.h | /*
* SHA1 hash implementation and interface functions
* Copyright (c) 2003-2009, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef SHA1_H
#define SHA1_H
#define SHA1_MAC_LEN 20
int hmac_sha1_vector(const u8 *key, size_t ke... | 1,050 | 36.535714 | 77 | h |
hostap | hostap-master/src/crypto/crypto_internal-rsa.c | /*
* Crypto wrapper for internal crypto implementation - RSA parts
* Copyright (c) 2006-2009, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "crypto.h"
#include "tls/rsa.h"
#inc... | 2,877 | 23.389831 | 78 | c |
hostap | hostap-master/src/crypto/tls_internal.c | /*
* TLS interface functions and an internal TLS implementation
* Copyright (c) 2004-2011, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*
* This file interface functions for hostapd/wpa_supplicant to use the
* integrated TLSv1 im... | 18,426 | 22.624359 | 79 | c |
hostap | hostap-master/src/crypto/sha256-prf.c | /*
* SHA256-based PRF (IEEE 802.11r)
* Copyright (c) 2003-2016, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "sha256.h"
#include "crypto.h"
/**
* sha256_prf - SHA256-based ... | 2,903 | 25.642202 | 78 | c |
hostap | hostap-master/src/crypto/des_i.h | /*
* DES and 3DES-EDE ciphers
* Copyright (c) 2006-2009, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef DES_I_H
#define DES_I_H
struct des3_key_s {
u32 ek[3][32];
u32 dk[3][32];
};
void des_key_setup(const u8 *key, u3... | 709 | 26.307692 | 76 | h |
hostap | hostap-master/src/crypto/aes_i.h | /*
* AES (Rijndael) cipher
* Copyright (c) 2003-2012, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef AES_I_H
#define AES_I_H
#include "aes.h"
/* #define FULL_UNROLL */
#define AES_SMALL_TABLES
extern const u32 Te0[256]... | 4,228 | 32.563492 | 71 | h |
hostap | hostap-master/src/crypto/sha512_i.h | /*
* SHA-512 internal definitions
* Copyright (c) 2015, Pali Rohár <pali.rohar@gmail.com>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#ifndef SHA512_I_H
#define SHA512_I_H
#define SHA512_BLOCK_SIZE 128
struct sha512_state {
u64 length, state[8];
... | 590 | 21.730769 | 71 | h |
hostap | hostap-master/src/crypto/sha256-tlsprf.c | /*
* TLS PRF P_SHA256
* Copyright (c) 2011, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "sha256.h"
/**
* tls_prf_sha256 - Pseudo-Random Function for TLS v1.2 (P_SHA256, RF... | 1,781 | 25.597015 | 78 | c |
hostap | hostap-master/src/crypto/sha256-kdf.c | /*
* HMAC-SHA256 KDF (RFC 5295)
* Copyright (c) 2014, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "sha256.h"
/**
* hmac_sha256_kdf - HMAC-SHA256 based KDF (RFC 5295)
* @s... | 1,831 | 21.9 | 78 | c |
hostap | hostap-master/src/crypto/des-internal.c | /*
* DES and 3DES-EDE ciphers
*
* Modifications to LibTomCrypt implementation:
* Copyright (c) 2006-2009, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "crypto.h"
#include "d... | 15,186 | 29.742915 | 77 | c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.