plateform stringclasses 1
value | repo_name stringclasses 2
values | name stringlengths 1 78 | ext stringclasses 2
values | path stringlengths 15 1.11k | size int64 1 8.55M | source_encoding stringclasses 11
values | md5 stringlengths 32 32 | text stringlengths 0 8.49M |
|---|---|---|---|---|---|---|---|---|
google | android | cmd_gbb_utility | .c | platform/external/vboot_reference/futility/cmd_gbb_utility.c | 14,694 | utf_8 | f201e7939a8c857b7f1f8c9921772caf | /*
*/
#include <errno.h>
#include <getopt.h>
#include <inttypes.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include "futility.h"
#include "gbb_header.h"
static void print_help(const char *prog)
{... |
google | android | cmd_create | .c | platform/external/vboot_reference/futility/cmd_create.c | 9,250 | utf_8 | 268c06fdf4fd91fa84ab1a4c6c2d44a5 | */
#include <getopt.h>
#include <stdio.h>
#include <unistd.h>
#include <openssl/pem.h>
#include "2sysincludes.h"
#include "2common.h"
#include "2guid.h"
#include "2rsa.h"
#include "util_misc.h"
#include "vb2_common.h"
#include "vb2_struct.h"
#include "host_key.h"
#include "host_key2.h"
#include "host_misc2.h"
#include... |
google | android | cmd_dump_kernel_config | .c | platform/external/vboot_reference/futility/cmd_dump_kernel_config.c | 1,916 | utf_8 | 2a701fcabf5ff4a30046c21bc7d8fead | *
* Exports the kernel commandline from a given partition/image.
*/
#include <getopt.h>
#include <stdio.h>
#include <sys/mman.h>
#include <unistd.h>
#include "futility.h"
#include "vboot_host.h"
enum {
OPT_KLOADADDR = 1000,
};
static const struct option long_opts[] = {
{"kloadaddr", 1, NULL, OPT_KLOADADDR},
{NULL... |
google | android | cmd_pcr | .c | platform/external/vboot_reference/futility/cmd_pcr.c | 3,780 | utf_8 | e152e950b1501d8aa1d375dcc859ddcc | /*
*/
#include <ctype.h>
#include <getopt.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include "futility.h"
static const char usage[] = "\n"
"Usage: " MYNAME " %s [OPTIONS] DIGEST [...]\n"
"\n"
"This simulates a TPM PCR extension, to determine the expected output\n"
"\n"
"Each DIGEST arg should... |
google | android | cmd_vbutil_key | .c | platform/external/vboot_reference/futility/cmd_vbutil_key.c | 5,426 | utf_8 | fa6023c5b2df833303af398905349def | *
* Verified boot key utility
*/
#include <getopt.h>
#include <inttypes.h> /* For PRIu64 */
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "cryptolib.h"
#include "futility.h"
#include "host_common.h"
#include "util_misc.h"
#include "vboot_common.h"
/* Command line options */... |
google | android | cmd_sign | .c | platform/external/vboot_reference/futility/cmd_sign.c | 30,870 | utf_8 | f8eaf61a9eff5c811455f498ad988c2e | /*
*/
#include <errno.h>
#include <fcntl.h>
#include <getopt.h>
#include <inttypes.h>
#include <limits.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include "bmpblk_header.h"
#include "file_type.h"... |
google | android | cmd_dump_fmap | .c | platform/external/vboot_reference/futility/cmd_dump_fmap.c | 12,939 | utf_8 | 2c548ab417f6bc71c04cd10cae24951e | /*
*/
#include <errno.h>
#include <fcntl.h>
#include <inttypes.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include "fmap.h"
#include "futility.h"
enum { FMT_NORMAL, FMT_PRETTY, FMT_FLASHROM, FM... |
google | android | file_type | .c | platform/external/vboot_reference/futility/file_type.c | 2,709 | utf_8 | cdc33cc20a5c5072acd1f6fb4fb7b590 | /*
*/
#include <errno.h>
#include <fcntl.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include "file_type.h"
#include "futility.h"
#include "gbb_header.h"
/* Human-readable strings */
static const char * const type_st... |
google | android | dump_kernel_config_lib | .c | platform/external/vboot_reference/futility/dump_kernel_config_lib.c | 4,456 | utf_8 | 94ca6ff3cdee2f94ea616aead1ca4085 | *
* Exports the kernel commandline from a given partition/image.
*/
#include <fcntl.h>
#include <stdio.h>
#include <string.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include "host_common.h"
#include "kernel_blob.h"
#include "vboot_api.h"
#include "vboot_host.h"
#ifdef ... |
google | android | cmd_vbutil_keyblock | .c | platform/external/vboot_reference/futility/cmd_vbutil_keyblock.c | 8,329 | utf_8 | 132395ff40eba6c1c306c982e1a4e2fe | *
* Verified boot key block utility
*/
#include <getopt.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "cryptolib.h"
#include "futility.h"
#include "host_common.h"
#include "util_misc.h"
#include "vboot_common.h"
/* Command line options */
enum {
OPT_MODE_PACK = 1000,
OP... |
google | android | cmd_show | .c | platform/external/vboot_reference/futility/cmd_show.c | 20,684 | utf_8 | c1117b028ec591343de062f9e944795d | /*
*/
#include <errno.h>
#include <fcntl.h>
#include <getopt.h>
#include <inttypes.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include "bmpblk_header.h"
#include "file_type.h"
#include "fmap.h"
#... |
google | android | cmd_load_fmap | .c | platform/external/vboot_reference/futility/cmd_load_fmap.c | 4,346 | utf_8 | ec300007272b052b6beb7ed421e09f1a | /*
*/
#include <errno.h>
#include <fcntl.h>
#include <getopt.h>
#include <inttypes.h>
#include <limits.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include "fmap.h"
#include "futility.h"
static co... |
google | android | traversal | .c | platform/external/vboot_reference/futility/traversal.c | 8,192 | utf_8 | a38c258e74c23816d802f4893906de1f | /*
*/
#include <stdint.h>
#include <stdio.h>
#include "file_type.h"
#include "fmap.h"
#include "futility.h"
#include "traversal.h"
/* What functions do we invoke for a particular operation and component? */
/* FUTIL_OP_SHOW */
static int (* const cb_show_funcs[])(struct futil_traverse_state_s *state) = {
futil_cb_sho... |
google | android | cmd_vbutil_kernel | .c | platform/external/vboot_reference/futility/cmd_vbutil_kernel.c | 16,729 | utf_8 | d8bb0bd747deab5684861643a0e5c6ce | /*
*
* Verified boot kernel utility
*/
#include <errno.h>
#include <fcntl.h>
#include <getopt.h>
#include <inttypes.h> /* For PRIu64 */
#ifndef HAVE_MACOS
#include <linux/fs.h> /* For BLKGETSIZE64 */
#endif
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
#inc... |
google | android | host_fw_preamble | .c | platform/external/vboot_reference/host/lib21/host_fw_preamble.c | 2,111 | utf_8 | 0003bbeba21ee6c2fe8fd20bd6b3c575 | *
* Host functions for keyblocks
*/
#include "2sysincludes.h"
#include "2common.h"
#include "2rsa.h"
#include "host_common.h"
#include "host_fw_preamble2.h"
#include "host_key2.h"
#include "host_keyblock2.h"
#include "host_misc.h"
#include "host_signature2.h"
#include "vb2_common.h"
int vb2_fw_preamble_create(struct... |
google | android | host_signature | .c | platform/external/vboot_reference/host/lib21/host_signature.c | 6,279 | utf_8 | 04f2b8b3846481755b7b80dd24315bfd | *
* Host functions for signatures.
*/
#include <openssl/rsa.h>
#include "2sysincludes.h"
#include "2common.h"
#include "2rsa.h"
#include "2sha.h"
#include "vb2_common.h"
#include "host_common.h"
#include "host_key2.h"
#include "host_signature2.h"
#include "host_misc.h"
/**
* Get the digest info for a hash algorithm... |
google | android | host_keyblock | .c | platform/external/vboot_reference/host/lib21/host_keyblock.c | 2,003 | utf_8 | 5a9f66ef0f7be03cfb5bc260c06fcabe | *
* Host functions for keyblocks
*/
#include "2sysincludes.h"
#include "2common.h"
#include "2rsa.h"
#include "vb2_common.h"
#include "host_common.h"
#include "host_key2.h"
#include "host_keyblock2.h"
#include "host_misc.h"
#include "host_signature2.h"
int vb2_keyblock_create(struct vb2_keyblock **kb_ptr,
const s... |
google | android | host_misc | .c | platform/external/vboot_reference/host/lib21/host_misc.c | 3,630 | utf_8 | c64374fc27e8b1a57df3c68b7f27fb6d | *
* Host functions for verified boot.
*/
#include <stdio.h>
#include <unistd.h>
#include "2sysincludes.h"
#include "2common.h"
#include "2sha.h"
#include "vb2_common.h"
#include "host_common.h"
#include "host_misc2.h"
int vb2_read_file(const char *filename, uint8_t **data_ptr, uint32_t *size_ptr)
{
FILE *f;
uint8_... |
google | android | host_key | .c | platform/external/vboot_reference/host/lib21/host_key.c | 12,934 | utf_8 | 152e83e7255f1fda39176db5b6227e30 | *
* Host functions for keys.
*/
#include <stdio.h>
#include <openssl/pem.h>
#include "2sysincludes.h"
#include "2common.h"
#include "2rsa.h"
#include "2sha.h"
#include "vb2_common.h"
#include "host_common.h"
#include "host_key2.h"
#include "host_misc.h"
struct vb2_text_vs_enum vb2_text_vs_algorithm[] = {
{"RSA1024 ... |
google | android | fmap | .c | platform/external/vboot_reference/host/lib/fmap.c | 1,697 | utf_8 | a2bf30cde843639f74ccf3cece074202 | /*
*/
#include <stdio.h>
#include <string.h>
#include "fmap.h"
static int is_fmap(uint8_t *ptr)
{
FmapHeader *fmap_header = (FmapHeader *)ptr;
if (0 != memcmp(ptr, FMAP_SIGNATURE, FMAP_SIGNATURE_SIZE))
return 0;
if (fmap_header->fmap_ver_major == FMAP_VER_MAJOR)
return 1;
fprintf(stderr, "Found FMAP, but major... |
google | android | file_keys | .c | platform/external/vboot_reference/host/lib/file_keys.c | 1,962 | utf_8 | f34880ff26e37558cfb87a86c67fe5da | *
* Utility functions for file and key handling.
*/
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include "cryptolib.h"
#include "file_keys.h"
#include "host_common.h"
#include "signature_digest.h"
uint8_t* BufferFromFi... |
google | android | util_misc | .c | platform/external/vboot_reference/host/lib/util_misc.c | 3,189 | utf_8 | 9b12121c0a0d2f7c570ad41410ae43d5 | *
* Miscellaneous functions for userspace vboot utilities.
*/
#include <openssl/bn.h>
#include <openssl/rsa.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "cryptolib.h"
#include "host_common.h"
#include "util_misc.h"
#include "vboot_common.h"
void PrintPubKeySha1Sum(VbPubl... |
google | android | signature_digest | .c | platform/external/vboot_reference/host/lib/signature_digest.c | 2,512 | utf_8 | 08f77b5f95d7cf7d02162a57b85cadb3 | */
#include <openssl/pem.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include "cryptolib.h"
#include "host_common.h"
#include "signature_digest.h"
uint8_t* PrependDigestInfo(unsigned int algorithm, uint8_t* digest) {
const int digest_size = hash_size_map[algorithm];
const int digestinfo_size = di... |
google | android | host_common | .c | platform/external/vboot_reference/host/lib/host_common.c | 4,118 | utf_8 | 25c86a9501dfcd3632c6bb75666445ba | *
* Host functions for verified boot.
*
* TODO: change all 'return 0', 'return 1' into meaningful return codes.
*/
#include <string.h>
#include "host_common.h"
#include "cryptolib.h"
#include "utility.h"
#include "vboot_common.h"
VbFirmwarePreambleHeader *CreateFirmwarePreamble(
uint64_t firmware_version,
const ... |
google | android | host_signature | .c | platform/external/vboot_reference/host/lib/host_signature.c | 9,295 | utf_8 | a6936451c215cb84c25898c946e64828 | *
* Host functions for signature generation.
*/
/* TODO: change all 'return 0', 'return 1' into meaningful return codes */
#include <openssl/rsa.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <unistd.h>
#include "cryptolib.h"
#include "file_keys.h"
#include "host_comm... |
google | android | host_keyblock | .c | platform/external/vboot_reference/host/lib/host_keyblock.c | 5,543 | utf_8 | 941704558d0e68abd6ef900731d310dc | *
* Host functions for verified boot.
*/
#include "cryptolib.h"
#include "host_common.h"
#include "host_keyblock.h"
#include "vboot_common.h"
VbKeyBlockHeader* KeyBlockCreate(const VbPublicKey* data_key,
const VbPrivateKey* signing_key,
uint64_t flags... |
google | android | crossystem | .c | platform/external/vboot_reference/host/lib/crossystem.c | 21,137 | utf_8 | c482c8248fcadda622897822316c2b35 | */
#include <stddef.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <ctype.h>
#include "host_common.h"
#include "crossystem.h"
#include "crossystem_arch.h"
#include "utility.h"
#include "vboot_common.h"
#include "vboot_nvstorage.h"
#include "vboot_str... |
google | android | host_misc | .c | platform/external/vboot_reference/host/lib/host_misc.c | 2,314 | utf_8 | ce7930e32663c66acbd642655cb794a6 | *
* Host functions for verified boot.
*/
/* TODO: change all 'return 0', 'return 1' into meaningful return codes */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "cryptolib.h"
#include "host_common.h"
#include "vboot_common.h"
char* StrCopy(char* dest, const char* src, int d... |
google | android | extract_vmlinuz | .c | platform/external/vboot_reference/host/lib/extract_vmlinuz.c | 2,027 | utf_8 | 0842a7c5e968d03cae08830aa0005569 | *
* Exports a vmlinuz from a kernel partition in memory.
*/
#include <stdlib.h>
#include <string.h>
#include "vboot_struct.h"
int ExtractVmlinuz(void *kpart_data, size_t kpart_size,
void **vmlinuz_out, size_t *vmlinuz_size) {
uint64_t now = 0;
VbKeyBlockHeader *keyblock = NULL;
VbKernelPreambleHeader *preamb... |
google | android | host_key | .c | platform/external/vboot_reference/host/lib/host_key.c | 6,185 | utf_8 | 844e0515eb8476cee75e71f16ef05da9 | *
* Host functions for keys.
*/
/* TODO: change all 'return 0', 'return 1' into meaningful return codes */
#include <openssl/pem.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include "cryptolib.h"
#include "host_common.h"
#include "host_key.h"
#include "host_misc.h"
#include "vboot_common.h"
VbPriva... |
google | android | main | .c | platform/external/vboot_reference/host/linktest/main.c | 1,199 | utf_8 | 340d941c461863ade2a949b7d714caae | */
/*
* This tests for the presence of functions used by vboot_reference utilities.
*/
#include <stdio.h>
#include "host_common.h"
#include "file_keys.h"
#include "signature_digest.h"
int main(void)
{
/* host_key.h */
PrivateKeyReadPem(0, 0);
PrivateKeyFree(0);
PublicKeyAlloc(0, 0, 0);
PublicKeyRead(0);
... |
google | android | extern | .c | platform/external/vboot_reference/host/linktest/extern.c | 1,080 | utf_8 | 3f1fac53b58a9e9acee3e5fac1110569 | */
/*
* This tests for the presence of those functions actually used by userspace
* apps that are not part of firmware or vboot_reference.
*/
#include "crossystem.h"
#include "tlcl.h"
#include "vboot_host.h"
/* TODO(crbug.com/318536) */
const char* progname = "";
const char* command = "";
void (*uuid_generator)(uin... |
google | android | crossystem_arch | .c | platform/external/vboot_reference/host/arch/mips/lib/crossystem_arch.c | 2,077 | utf_8 | ff6e9d3ed7cfc4acec24f4be8f959fb6 | */
#include <string.h>
#include "vboot_common.h"
#include "vboot_nvstorage.h"
#include "host_common.h"
#include "crossystem.h"
#include "crossystem_arch.h"
// TODO: Currently these are stub implementations providing reasonable defaults
// wherever possible. They will need real implementation as part of of MIPS
// firm... |
google | android | crossystem_arch | .c | platform/external/vboot_reference/host/arch/arm/lib/crossystem_arch.c | 16,017 | utf_8 | 9cfae54c6ca09c50e2509185fbfca35b | */
#include <stdio.h>
#include <string.h>
#include <stddef.h>
#include <stdlib.h>
#ifndef HAVE_MACOS
#include <linux/fs.h>
#endif
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/param.h>
#include <sys/ioctl.h>
#include <sys/wait.h>
#include <fcntl.h>
#include <unistd.h>
#include <netinet/in.h>
#include "vbo... |
google | android | crossystem_arch | .c | platform/external/vboot_reference/host/arch/x86/lib/crossystem_arch.c | 26,382 | utf_8 | 8080e8ef915effd37862f705ce2263c8 | */
#include <ctype.h>
#include <dirent.h>
#include <errno.h>
#include <linux/nvram.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include "crossystem.h"
#include "crossystem_arch.h"
#include "hos... |
google | android | crossystem_arch | .c | platform/external/vboot_reference/host/arch/x86_64/lib/crossystem_arch.c | 26,382 | utf_8 | 8080e8ef915effd37862f705ce2263c8 | */
#include <ctype.h>
#include <dirent.h>
#include <errno.h>
#include <linux/nvram.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include "crossystem.h"
#include "crossystem_arch.h"
#include "hos... |
google | android | oma_dm_client | .c | platform/external/wpa_supplicant_8/hs20/client/oma_dm_client.c | 36,858 | utf_8 | 35992e19dca1efb945b1eac3e4d38df0 | /*
* Hotspot 2.0 - OMA DM client
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "wpa_helpers.h"
#include "xml-utils.h"
#include "http-utils.h"
#include "utils/browser.h"
#include "osu_client.h"
#define DM_SERVER_INITIATED_MGMT 1200
#define DM_CLIENT_INITIATED_MGMT 1201
#define D... |
google | android | spp_client | .c | platform/external/wpa_supplicant_8/hs20/client/spp_client.c | 27,099 | utf_8 | c645001bd4b91b98b93df9180c9cc607 | /*
* Hotspot 2.0 SPP client
* See README for more details.
*/
#include "includes.h"
#include <sys/stat.h>
#include "common.h"
#include "browser.h"
#include "wpa_ctrl.h"
#include "wpa_helpers.h"
#include "xml-utils.h"
#include "http-utils.h"
#include "utils/base64.h"
#include "crypto/crypto.h"
#include "crypto/sha256... |
google | android | est | .c | platform/external/wpa_supplicant_8/hs20/client/est.c | 18,099 | utf_8 | 113b02ade1861f62a433bb579c3d24b4 | /*
* Hotspot 2.0 OSU client - EST client
* See README for more details.
*/
#include "includes.h"
#include <openssl/err.h>
#include <openssl/evp.h>
#include <openssl/pem.h>
#include <openssl/pkcs7.h>
#include <openssl/rsa.h>
#include <openssl/asn1.h>
#include <openssl/asn1t.h>
#include <openssl/x509.h>
#include <open... |
google | android | osu_client | .c | platform/external/wpa_supplicant_8/hs20/client/osu_client.c | 90,747 | utf_8 | 9fef8980890e172d392878a31f732760 | /*
* Hotspot 2.0 OSU client
* See README for more details.
*/
#include "includes.h"
#include <time.h>
#include <sys/stat.h>
#ifdef ANDROID
#include "private/android_filesystem_config.h"
#endif /* ANDROID */
#include "common.h"
#include "utils/browser.h"
#include "utils/base64.h"
#include "utils/xml-utils.h"
#include... |
google | android | hs20_spp_server | .c | platform/external/wpa_supplicant_8/hs20/server/hs20_spp_server.c | 4,300 | utf_8 | b5b8e6afc58e53cf76017c94a473fc56 | /*
* Hotspot 2.0 SPP server - standalone version
* See README for more details.
*/
#include "includes.h"
#include <time.h>
#include <sqlite3.h>
#include "common.h"
#include "common/version.h"
#include "xml-utils.h"
#include "spp_server.h"
static void write_timestamp(FILE *f)
{
time_t t;
struct tm *tm;
time(&t);
... |
google | android | spp_server | .c | platform/external/wpa_supplicant_8/hs20/server/spp_server.c | 79,535 | utf_8 | 5bd2ddd3f129812ad1db562b4150cbdb | /*
* Hotspot 2.0 SPP server
* See README for more details.
*/
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <time.h>
#include <errno.h>
#include <sqlite3.h>
#include "common.h"
#include "base64.h"
#include "md5_i.h"
#include "xml-utils.h"
#include "spp_server.h"
#define SPP_N... |
google | android | eapol_test | .c | platform/external/wpa_supplicant_8/wpa_supplicant/eapol_test.c | 40,794 | utf_8 | 7c11f95551992dc6f627bfbcaaeb4c34 | /*
* WPA Supplicant - test code
* See README for more details.
*
* IEEE 802.1X Supplicant test code (to be used in place of wpa_supplicant.c.
* Not used in production version.
*/
#include "includes.h"
#include <assert.h>
#include "common.h"
#include "utils/ext_password.h"
#include "common/version.h"
#include "cry... |
google | android | nfc_pw_token | .c | platform/external/wpa_supplicant_8/wpa_supplicant/nfc_pw_token.c | 1,746 | utf_8 | 82c320bfb829ad993098cef18aa3ebc5 | /*
* nfc_pw_token - Tool for building NFC password tokens for WPS
* See README for more details.
*/
#include "includes.h"
#include "utils/common.h"
#include "crypto/random.h"
#include "wpa_supplicant_i.h"
#include "config.h"
#include "wps_supplicant.h"
static void print_bin(const char *title, const struct wpabuf *bu... |
google | android | rrm | .c | platform/external/wpa_supplicant_8/wpa_supplicant/rrm.c | 42,521 | utf_8 | 053630774036b65968906bc4961ab193 | /*
* wpa_supplicant - Radio Measurements
* See README for more details.
*/
#include "includes.h"
#include "utils/common.h"
#include "utils/eloop.h"
#include "common/ieee802_11_common.h"
#include "wpa_supplicant_i.h"
#include "driver_i.h"
#include "bss.h"
#include "scan.h"
#include "p2p_supplicant.h"
static void wpas... |
google | android | interworking | .c | platform/external/wpa_supplicant_8/wpa_supplicant/interworking.c | 84,996 | utf_8 | 13ee6bf0d268602649ce21d1cd3e01df | /*
* Interworking (IEEE 802.11u)
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "common/ieee802_11_defs.h"
#include "common/gas.h"
#include "common/wpa_ctrl.h"
#include "utils/pcsc_funcs.h"
#include "utils/eloop.h"
#include "drivers/driver.h"
#include "eap_common/eap_defs.h"
#in... |
google | android | wmm_ac | .c | platform/external/wpa_supplicant_8/wpa_supplicant/wmm_ac.c | 24,179 | utf_8 | 778e5b6e9666d9b0a4094a7df557a859 | /*
* Wi-Fi Multimedia Admission Control (WMM-AC)
* See README for more details.
*/
#include "includes.h"
#include "utils/common.h"
#include "utils/list.h"
#include "utils/eloop.h"
#include "common/ieee802_11_common.h"
#include "wpa_supplicant_i.h"
#include "bss.h"
#include "driver_i.h"
#include "wmm_ac.h"
static voi... |
google | android | wpas_kay | .c | platform/external/wpa_supplicant_8/wpa_supplicant/wpas_kay.c | 10,161 | utf_8 | 4e75eb05747518c31ea39f22ee9d510b | /*
* IEEE 802.1X-2010 KaY Interface
* See README for more details.
*/
#include "utils/includes.h"
#include "utils/common.h"
#include "eap_peer/eap.h"
#include "eap_peer/eap_i.h"
#include "eapol_supp/eapol_supp_sm.h"
#include "pae/ieee802_1x_key.h"
#include "pae/ieee802_1x_kay.h"
#include "wpa_supplicant_i.h"
#includ... |
google | android | wpa_priv | .c | platform/external/wpa_supplicant_8/wpa_supplicant/wpa_priv.c | 30,875 | utf_8 | 8c6fb1f55e0405771e6d55bc5b5bc42b | /*
* WPA Supplicant / privileged helper program
* See README for more details.
*/
#include "includes.h"
#ifdef __linux__
#include <fcntl.h>
#endif /* __linux__ */
#include <sys/un.h>
#include <sys/stat.h>
#include "common.h"
#include "eloop.h"
#include "common/version.h"
#include "drivers/driver.h"
#include "l2_pack... |
google | android | config_winreg | .c | platform/external/wpa_supplicant_8/wpa_supplicant/config_winreg.c | 25,423 | utf_8 | 3827200645da81fdbaf55ccd9fa2b692 | /*
* WPA Supplicant / Configuration backend: Windows registry
* key. Each configuration profile has its own key under this. In terms of text
* files, each profile would map to a separate text file with possibly multiple
* networks. Under each profile, there is a networks key that lists all
* networks as a subkey. ... |
google | android | events | .c | platform/external/wpa_supplicant_8/wpa_supplicant/events.c | 170,065 | utf_8 | 8d95ea2d242d0136ba4eed213d06200d | /*
* WPA Supplicant - Driver event processing
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "eapol_supp/eapol_supp_sm.h"
#include "rsn_supp/wpa.h"
#include "eloop.h"
#include "config.h"
#include "l2_packet/l2_packet.h"
#include "wpa_supplicant_i.h"
#include "driver_i.h"
#includ... |
google | android | bgscan | .c | platform/external/wpa_supplicant_8/wpa_supplicant/bgscan.c | 2,465 | utf_8 | 2c9c965fe69df3cdd386248986fb3466 | /*
* WPA Supplicant - background scan and roaming interface
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "wpa_supplicant_i.h"
#include "config_ssid.h"
#include "bgscan.h"
static const struct bgscan_ops * bgscan_modules[] = {
#ifdef CONFIG_BGSCAN_SIMPLE
&bgscan_simple_ops,
#en... |
google | android | ctrl_iface_named_pipe | .c | platform/external/wpa_supplicant_8/wpa_supplicant/ctrl_iface_named_pipe.c | 20,171 | utf_8 | 7e04491983a9025fc2f431047ed26e57 | /*
* WPA Supplicant / Windows Named Pipe -based control interface
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "eloop.h"
#include "config.h"
#include "eapol_supp/eapol_supp_sm.h"
#include "wpa_supplicant_i.h"
#include "ctrl_iface.h"
#include "common/wpa_ctrl.h"
#ifdef __MINGW3... |
google | android | libwpa_test | .c | platform/external/wpa_supplicant_8/wpa_supplicant/libwpa_test.c | 611 | utf_8 | 8d6b3fbb4e14998627ec6defda476901 | /*
* libwpa_test - Test program for libwpa_client.* library linking
* See README for more details.
*/
#include "includes.h"
#include "common/wpa_ctrl.h"
int main(int argc, char *argv[])
{
struct wpa_ctrl *ctrl;
ctrl = wpa_ctrl_open("foo");
if (!ctrl)
return -1;
if (wpa_ctrl_attach(ctrl) == 0)
wpa_ctrl_detach... |
google | android | config | .c | platform/external/wpa_supplicant_8/wpa_supplicant/config.c | 136,303 | utf_8 | f1cd498d35298fa923541689daca32d4 | /*
* WPA Supplicant / Configuration parser and common functions
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "utils/uuid.h"
#include "utils/ip_addr.h"
#include "common/ieee802_1x_defs.h"
#include "common/sae.h"
#include "crypto/sha1.h"
#include "rsn_supp/wpa.h"
#include "eap_p... |
google | android | config_none | .c | platform/external/wpa_supplicant_8/wpa_supplicant/config_none.c | 1,281 | utf_8 | f259551385b223588aa76e359294257b | /*
* WPA Supplicant / Configuration backend: empty starting point
* See README for more details.
*
* This file implements stub example of a configuration backend. None of the
* functions are actually implemented so this can be used as a simple
* compilation test or a starting point for a new configuration backend... |
google | android | notify | .c | platform/external/wpa_supplicant_8/wpa_supplicant/notify.c | 31,174 | utf_8 | c70138b738f64484fbee9e5044dfbc78 | /*
* wpa_supplicant - Event notifications
* See README for more details.
*/
#include "utils/includes.h"
#include "utils/common.h"
#include "common/wpa_ctrl.h"
#include "config.h"
#include "wpa_supplicant_i.h"
#include "wps_supplicant.h"
#include "dbus/dbus_common.h"
#include "dbus/dbus_new.h"
#include "rsn_supp/wpa.... |
google | android | main | .c | platform/external/wpa_supplicant_8/wpa_supplicant/main.c | 10,392 | utf_8 | ea1ad32758a5d8001276865b5906d36f | /*
* WPA Supplicant / main() function for UNIX like OSes and MinGW
* See README for more details.
*/
#include "includes.h"
#ifdef __linux__
#include <fcntl.h>
#endif /* __linux__ */
#include "common.h"
#include "crypto/crypto.h"
#include "fst/fst.h"
#include "wpa_supplicant_i.h"
#include "driver_i.h"
#include "p2p_s... |
google | android | eap_register | .c | platform/external/wpa_supplicant_8/wpa_supplicant/eap_register.c | 5,365 | utf_8 | 8ee8171a515a97ee96710253bcff4c6b | /*
* EAP method registration
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "eap_peer/eap_methods.h"
#include "eap_server/eap_methods.h"
#include "wpa_supplicant_i.h"
/**
* eap_register_methods - Register statically linked EAP methods
* Returns: 0 on success, -1 or -2 on failu... |
google | android | config_file | .c | platform/external/wpa_supplicant_8/wpa_supplicant/config_file.c | 44,707 | utf_8 | f3b18d1352e56f60d26a54a951239bcb | /*
* WPA Supplicant / Configuration backend: text file
* See README for more details.
*
* This file implements a configuration backend for text files. All the
* configuration information is stored in a text file that uses a format
* described in the sample configuration file, wpa_supplicant.conf.
*/
#include "in... |
google | android | ctrl_iface | .c | platform/external/wpa_supplicant_8/wpa_supplicant/ctrl_iface.c | 328,691 | utf_8 | d2c2def1ac8c4a04b3c1e28ef71c8045 | /*
* WPA Supplicant / Control interface (shared code for all backends)
* See README for more details.
*/
#include "utils/includes.h"
#ifdef CONFIG_TESTING_OPTIONS
#include <netinet/ip.h>
#endif /* CONFIG_TESTING_OPTIONS */
#include "utils/common.h"
#include "utils/eloop.h"
#include "utils/uuid.h"
#include "utils/mod... |
google | android | autoscan_periodic | .c | platform/external/wpa_supplicant_8/wpa_supplicant/autoscan_periodic.c | 1,642 | utf_8 | eaf3c7b2e9618f3988e1a6296adb04ed | /*
* WPA Supplicant - auto scan periodic module
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "wpa_supplicant_i.h"
#include "autoscan.h"
struct autoscan_periodic_data {
int periodic_interval;
};
static int autoscan_periodic_get_params(struct autoscan_periodic_data *data,
... |
google | android | p2p_supplicant_sd | .c | platform/external/wpa_supplicant_8/wpa_supplicant/p2p_supplicant_sd.c | 31,722 | utf_8 | be7f7198c54ff5985f65a716df883cdf | /*
* wpa_supplicant - P2P service discovery
* See README for more details.
*/
#include "utils/includes.h"
#include "utils/common.h"
#include "p2p/p2p.h"
#include "wpa_supplicant_i.h"
#include "notify.h"
#include "p2p_supplicant.h"
/*
* DNS Header section is used only to calculate compression pointers, so the
* con... |
google | android | bgscan_simple | .c | platform/external/wpa_supplicant_8/wpa_supplicant/bgscan_simple.c | 8,191 | utf_8 | e3f830b7e74743980cdc9092343c2749 | /*
* WPA Supplicant - background scan and roaming module: simple
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "eloop.h"
#include "drivers/driver.h"
#include "config_ssid.h"
#include "wpa_supplicant_i.h"
#include "driver_i.h"
#include "scan.h"
#include "bgscan.h"
struct bgscan_... |
google | android | pasn_supplicant | .c | platform/external/wpa_supplicant_8/wpa_supplicant/pasn_supplicant.c | 43,102 | utf_8 | 60634d7ec12da483bf8099c0976141f1 | /*
* wpa_supplicant - PASN processing
*
* See README for more details.
*/
#include "includes.h"
#include "common/ieee802_11_defs.h"
#include "common/ieee802_11_common.h"
#include "common/dragonfly.h"
#include "common/ptksa_cache.h"
#include "utils/eloop.h"
#include "drivers/driver.h"
#include "crypto/crypto.h"
#inc... |
google | android | ctrl_iface_udp | .c | platform/external/wpa_supplicant_8/wpa_supplicant/ctrl_iface_udp.c | 21,586 | utf_8 | 01c5a8cefef97204a9825e96ca846464 | /*
* WPA Supplicant / UDP socket -based control interface
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "eloop.h"
#include "config.h"
#include "eapol_supp/eapol_supp_sm.h"
#include "wpa_supplicant_i.h"
#include "ctrl_iface.h"
#include "common/wpa_ctrl.h"
#define COOKIE_LEN 8
/*... |
google | android | bss | .c | platform/external/wpa_supplicant_8/wpa_supplicant/bss.c | 37,457 | utf_8 | b18ed49b113ae8799b52080c8303b3f4 | /*
* BSS table
* See README for more details.
*/
#include "utils/includes.h"
#include "utils/common.h"
#include "utils/eloop.h"
#include "common/ieee802_11_defs.h"
#include "drivers/driver.h"
#include "eap_peer/eap.h"
#include "wpa_supplicant_i.h"
#include "config.h"
#include "notify.h"
#include "scan.h"
#include "b... |
google | android | wpas_module_tests | .c | platform/external/wpa_supplicant_8/wpa_supplicant/wpas_module_tests.c | 3,292 | utf_8 | c0496d839f5e479769343ca7c6d19e29 | /*
* wpa_supplicant module tests
* See README for more details.
*/
#include "utils/includes.h"
#include "utils/common.h"
#include "utils/module_tests.h"
#include "wpa_supplicant_i.h"
#include "bssid_ignore.h"
static int wpas_bssid_ignore_module_tests(void)
{
struct wpa_supplicant wpa_s;
int ret = -1;
os_memset(&w... |
google | android | twt | .c | platform/external/wpa_supplicant_8/wpa_supplicant/twt.c | 4,004 | utf_8 | 14a496d69b3848b89ffba95314418d93 | /*
* wpa_supplicant - TWT
* See README for more details.
*/
#include "includes.h"
#include "utils/common.h"
#include "wpa_supplicant_i.h"
#include "driver_i.h"
#ifdef CONFIG_TESTING_OPTIONS
/**
* wpas_twt_send_setup - Send TWT Setup frame (Request) to our AP
* Returns: 0 in case of success, negative error code oth... |
google | android | scan | .c | platform/external/wpa_supplicant_8/wpa_supplicant/scan.c | 92,147 | utf_8 | 792da0986b0001f9996e521ced72e1fe | /*
* WPA Supplicant - Scanning
* See README for more details.
*/
#include "utils/includes.h"
#include "utils/common.h"
#include "utils/eloop.h"
#include "common/ieee802_11_defs.h"
#include "common/wpa_ctrl.h"
#include "config.h"
#include "wpa_supplicant_i.h"
#include "driver_i.h"
#include "wps_supplicant.h"
#include... |
google | android | main_winmain | .c | platform/external/wpa_supplicant_8/wpa_supplicant/main_winmain.c | 1,759 | utf_8 | 64adb9bd1a430eab500ffd3fba2527cb | /*
* WPA Supplicant / WinMain() function for Windows-based applications
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "wpa_supplicant_i.h"
#ifdef _WIN32_WCE
#define CMDLINE LPWSTR
#else /* _WIN32_WCE */
#define CMDLINE LPSTR
#endif /* _WIN32_WCE */
int WINAPI WinMain(HINSTANCE ... |
google | android | ibss_rsn | .c | platform/external/wpa_supplicant_8/wpa_supplicant/ibss_rsn.c | 24,457 | utf_8 | 56e5b51e20a834a9ab0c1be59c6bc25b | /*
* wpa_supplicant - IBSS RSN
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "common/wpa_ctrl.h"
#include "utils/eloop.h"
#include "l2_packet/l2_packet.h"
#include "rsn_supp/wpa.h"
#include "rsn_supp/wpa_ie.h"
#include "ap/wpa_auth.h"
#include "wpa_supplicant_i.h"
#include "dri... |
google | android | mesh_mpm | .c | platform/external/wpa_supplicant_8/wpa_supplicant/mesh_mpm.c | 37,810 | utf_8 | 947de43abef41934ef58ecfb50de520c | /*
* WPA Supplicant - Basic mesh peer management
* See README for more details.
*/
#include "utils/includes.h"
#include "utils/common.h"
#include "utils/eloop.h"
#include "common/ieee802_11_defs.h"
#include "common/hw_features_common.h"
#include "common/ocv.h"
#include "ap/hostapd.h"
#include "ap/sta_info.h"
#includ... |
google | android | wnm_sta | .c | platform/external/wpa_supplicant_8/wpa_supplicant/wnm_sta.c | 53,163 | utf_8 | 3f238b310893f40731dab8122c3f6b7d | /*
* wpa_supplicant - WNM
* See README for more details.
*/
#include "utils/includes.h"
#include "utils/common.h"
#include "common/ieee802_11_defs.h"
#include "common/ieee802_11_common.h"
#include "common/wpa_ctrl.h"
#include "common/ocv.h"
#include "rsn_supp/wpa.h"
#include "config.h"
#include "wpa_supplicant_i.h"
... |
google | android | op_classes | .c | platform/external/wpa_supplicant_8/wpa_supplicant/op_classes.c | 13,945 | utf_8 | eaa8058af6fc27a2637cbc853aec7504 | /*
* Operating classes
* See README for more details.
*/
#include "utils/includes.h"
#include "utils/common.h"
#include "common/ieee802_11_common.h"
#include "wpa_supplicant_i.h"
#include "bss.h"
static enum chan_allowed allow_channel(struct hostapd_hw_modes *mode,
u8 op_class, u8 chan,
unsigne... |
google | android | wifi_display | .c | platform/external/wpa_supplicant_8/wpa_supplicant/wifi_display.c | 10,674 | utf_8 | 3791c39200e780c03fda40b77d6e45c2 | /*
* wpa_supplicant - Wi-Fi Display
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "p2p/p2p.h"
#include "common/ieee802_11_defs.h"
#include "wpa_supplicant_i.h"
#include "wifi_display.h"
#define WIFI_DISPLAY_SUBELEM_HEADER_LEN 3
int wifi_display_init(struct wpa_global *global)
{... |
google | android | main_winsvc | .c | platform/external/wpa_supplicant_8/wpa_supplicant/main_winsvc.c | 11,419 | utf_8 | 707ba3b9f16cf13af35efba0f7a23a29 | /*
* WPA Supplicant / main() function for Win32 service
* parameters and a 'interfaces' subkey with all the interface configuration
* (adapter to confname mapping). Each such mapping is a subkey that has
* 'adapter' and 'config' values.
*
* This program can be run either as a normal command line application, e.g.... |
google | android | preauth_test | .c | platform/external/wpa_supplicant_8/wpa_supplicant/preauth_test.c | 9,013 | utf_8 | 4395b9d835171735336cbb0785fb9b2e | /*
* WPA Supplicant - test code for pre-authentication
* See README for more details.
*
* IEEE 802.1X Supplicant test code (to be used in place of wpa_supplicant.c.
* Not used in production version.
*/
#include "includes.h"
#include <assert.h>
#include "common.h"
#include "crypto/crypto.h"
#include "config.h"
#in... |
google | android | mesh_rsn | .c | platform/external/wpa_supplicant_8/wpa_supplicant/mesh_rsn.c | 21,047 | utf_8 | 210135eac0a2e5bd70b8adb4c2b5062c | /*
* WPA Supplicant - Mesh RSN routines
* See README for more details.
*/
#include "utils/includes.h"
#include "utils/common.h"
#include "utils/eloop.h"
#include "crypto/sha256.h"
#include "crypto/random.h"
#include "crypto/aes.h"
#include "crypto/aes_siv.h"
#include "rsn_supp/wpa.h"
#include "ap/hostapd.h"
#include... |
google | android | wps_supplicant | .c | platform/external/wpa_supplicant_8/wpa_supplicant/wps_supplicant.c | 82,561 | utf_8 | c108c942ec19f82ab758a6df827dc6f0 | /*
* wpa_supplicant / WPS integration
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "eloop.h"
#include "uuid.h"
#include "crypto/random.h"
#include "crypto/dh_group5.h"
#include "common/ieee802_11_defs.h"
#include "common/ieee802_11_common.h"
#include "common/wpa_common.h"
#inc... |
google | android | sme | .c | platform/external/wpa_supplicant_8/wpa_supplicant/sme.c | 87,036 | utf_8 | 64b1ea3fc3622cfca3c406f9477588b3 | /*
* wpa_supplicant - SME
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "utils/eloop.h"
#include "common/ieee802_11_defs.h"
#include "common/ieee802_11_common.h"
#include "common/ocv.h"
#include "eapol_supp/eapol_supp_sm.h"
#include "common/wpa_common.h"
#include "common/sae.h"... |
google | android | robust_av | .c | platform/external/wpa_supplicant_8/wpa_supplicant/robust_av.c | 38,565 | utf_8 | 5a9447cf300877fa845d49cb16787757 | /*
* wpa_supplicant - Robust AV procedures
* See README for more details.
*/
#include "utils/includes.h"
#include "utils/common.h"
#include "utils/eloop.h"
#include "common/wpa_ctrl.h"
#include "common/ieee802_11_common.h"
#include "wpa_supplicant_i.h"
#include "driver_i.h"
#include "bss.h"
#include "notify.h"
#defi... |
google | android | p2p_supplicant | .c | platform/external/wpa_supplicant_8/wpa_supplicant/p2p_supplicant.c | 295,220 | utf_8 | db6ad6e64b1f9f5b21f34da82e28b5b0 | /*
* wpa_supplicant - P2P
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "eloop.h"
#include "common/ieee802_11_common.h"
#include "common/ieee802_11_defs.h"
#include "common/wpa_ctrl.h"
#include "wps/wps_i.h"
#include "p2p/p2p.h"
#include "ap/hostapd.h"
#include "ap/ap_config.h"... |
google | android | dpp_supplicant | .c | platform/external/wpa_supplicant_8/wpa_supplicant/dpp_supplicant.c | 124,950 | utf_8 | b68cebe06c01993419554f24ef534e05 | /*
* wpa_supplicant - DPP
* See README for more details.
*/
#include "utils/includes.h"
#include "utils/common.h"
#include "utils/eloop.h"
#include "utils/ip_addr.h"
#include "utils/base64.h"
#include "common/dpp.h"
#include "common/gas.h"
#include "common/gas_server.h"
#include "rsn_supp/wpa.h"
#include "rsn_supp/p... |
google | android | offchannel | .c | platform/external/wpa_supplicant_8/wpa_supplicant/offchannel.c | 16,499 | utf_8 | 6c8d1353cdc8ef02c2f021eb6262bf7d | /*
* wpa_supplicant - Off-channel Action frame TX/RX
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "utils/eloop.h"
#include "wpa_supplicant_i.h"
#include "p2p_supplicant.h"
#include "driver_i.h"
#include "offchannel.h"
static struct wpa_supplicant *
wpas_get_tx_interface(struct... |
google | android | mesh | .c | platform/external/wpa_supplicant_8/wpa_supplicant/mesh.c | 24,359 | utf_8 | 284d6b05d5518654baffccee8629301c | /*
* WPA Supplicant - Basic mesh mode routines
* See README for more details.
*/
#include "utils/includes.h"
#include "utils/common.h"
#include "utils/eloop.h"
#include "utils/uuid.h"
#include "common/ieee802_11_defs.h"
#include "common/wpa_ctrl.h"
#include "common/hw_features_common.h"
#include "ap/sta_info.h"
#inc... |
google | android | wpa_cli | .c | platform/external/wpa_supplicant_8/wpa_supplicant/wpa_cli.c | 135,420 | utf_8 | 229bab1c67fed71dcb598dd135a7b2c4 | /*
* WPA Supplicant - command line interface for wpa_supplicant daemon
* See README for more details.
*/
#include "includes.h"
#ifdef CONFIG_CTRL_IFACE
#ifdef CONFIG_CTRL_IFACE_UNIX
#include <dirent.h>
#endif /* CONFIG_CTRL_IFACE_UNIX */
#include "common/cli.h"
#include "common/wpa_ctrl.h"
#include "utils/common.h"
... |
google | android | main_none | .c | platform/external/wpa_supplicant_8/wpa_supplicant/main_none.c | 844 | utf_8 | 0186afa18d0d619e69427328c8d482bd | /*
* WPA Supplicant / Example program entrypoint
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "wpa_supplicant_i.h"
int main(int argc, char *argv[])
{
struct wpa_interface iface;
int exitcode = 0;
struct wpa_params params;
struct wpa_global *global;
memset(¶ms, 0, size... |
google | android | autoscan_exponential | .c | platform/external/wpa_supplicant_8/wpa_supplicant/autoscan_exponential.c | 2,057 | utf_8 | 56b3f6cc7f55007775e50607184559de | /*
* WPA Supplicant - auto scan exponential module
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "wpa_supplicant_i.h"
#include "autoscan.h"
struct autoscan_exponential_data {
struct wpa_supplicant *wpa_s;
int base;
int limit;
int interval;
};
static int
autoscan_exponential... |
google | android | hs20_supplicant | .c | platform/external/wpa_supplicant_8/wpa_supplicant/hs20_supplicant.c | 34,629 | utf_8 | b018656fa0db0f18157e927bd4ee30e3 | /*
* See README for more details.
*/
#include "includes.h"
#include <sys/stat.h>
#include "common.h"
#include "eloop.h"
#include "common/ieee802_11_common.h"
#include "common/ieee802_11_defs.h"
#include "common/gas.h"
#include "common/wpa_ctrl.h"
#include "rsn_supp/wpa.h"
#include "wpa_supplicant_i.h"
#include "drive... |
google | android | bgscan_learn | .c | platform/external/wpa_supplicant_8/wpa_supplicant/bgscan_learn.c | 14,764 | utf_8 | 0008e142bcfc8b1fbe73598dfea37aea | /*
* WPA Supplicant - background scan and roaming module: learn
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "eloop.h"
#include "list.h"
#include "common/ieee802_11_defs.h"
#include "drivers/driver.h"
#include "config_ssid.h"
#include "wpa_supplicant_i.h"
#include "driver_i.h"... |
google | android | wpa_passphrase | .c | platform/external/wpa_supplicant_8/wpa_supplicant/wpa_passphrase.c | 1,603 | utf_8 | ef8197e5716a98f4b26df726f867b9c2 | /*
* WPA Supplicant - ASCII passphrase to WPA PSK tool
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "crypto/sha1.h"
int main(int argc, char *argv[])
{
unsigned char psk[32];
int i;
char *ssid, *passphrase, buf[64], *pos;
size_t len;
if (argc < 2) {
printf("usage: wpa_pa... |
google | android | mbo | .c | platform/external/wpa_supplicant_8/wpa_supplicant/mbo.c | 16,955 | utf_8 | 96aecba93ad20da7cfcf3fc43241f83d | /*
* wpa_supplicant - MBO
*
* See README for more details.
*/
#include "utils/includes.h"
#include "utils/common.h"
#include "common/ieee802_11_defs.h"
#include "common/gas.h"
#include "rsn_supp/wpa.h"
#include "config.h"
#include "wpa_supplicant_i.h"
#include "driver_i.h"
#include "bss.h"
#include "scan.h"
/* type... |
google | android | autoscan | .c | platform/external/wpa_supplicant_8/wpa_supplicant/autoscan.c | 3,565 | utf_8 | dc7b6a74ee77949758fe6b8ec553a5c4 | /*
* WPA Supplicant - auto scan
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "config.h"
#include "wpa_supplicant_i.h"
#include "bss.h"
#include "scan.h"
#include "autoscan.h"
static const struct autoscan_ops * autoscan_modules[] = {
#ifdef CONFIG_AUTOSCAN_EXPONENTIAL
&autosca... |
google | android | ap | .c | platform/external/wpa_supplicant_8/wpa_supplicant/ap.c | 56,288 | utf_8 | 4d8397e18bf7caf82e63a70f94e76a35 | /*
* WPA Supplicant - Basic AP mode support routines
* See README for more details.
*/
#include "utils/includes.h"
#include "utils/common.h"
#include "utils/eloop.h"
#include "utils/uuid.h"
#include "common/ieee802_11_defs.h"
#include "common/wpa_ctrl.h"
#include "eapol_supp/eapol_supp_sm.h"
#include "crypto/dh_grou... |
google | android | bssid_ignore | .c | platform/external/wpa_supplicant_8/wpa_supplicant/bssid_ignore.c | 5,479 | utf_8 | 09ef59a4890e70e9ddcf6392d298db5a | /*
* wpa_supplicant - List of temporarily ignored BSSIDs
* Returns: Matching entry for the BSSID or %NULL if not found
*/
struct wpa_bssid_ignore * wpa_bssid_ignore_get(struct wpa_supplicant *wpa_s,
const u8 *bssid)
{
struct wpa_bssid_ignore *e;
if (wpa_s == NULL || bssid == NULL)
return NULL;
if (w... |
google | android | wpa_supplicant | .c | platform/external/wpa_supplicant_8/wpa_supplicant/wpa_supplicant.c | 246,531 | utf_8 | 038eef489fb8694e238d376bb9139955 | /*
* WPA Supplicant
* See README for more details.
*
* This file implements functions for registering and unregistering
* %wpa_supplicant interfaces. In addition, this file contains number of
* functions for managing network connections.
*/
#include "includes.h"
#ifdef CONFIG_MATCH_IFACE
#include <net/if.h>
#inc... |
google | android | gas_query | .c | platform/external/wpa_supplicant_8/wpa_supplicant/gas_query.c | 25,645 | utf_8 | fb96b560c1eaa01e6d5f2cdf8e114d12 | /*
* Generic advertisement service (GAS) query
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "utils/eloop.h"
#include "common/ieee802_11_defs.h"
#include "common/gas.h"
#include "common/wpa_ctrl.h"
#include "rsn_supp/wpa.h"
#include "wpa_supplicant_i.h"
#include "config.h"
#inc... |
google | android | ctrl_iface_unix | .c | platform/external/wpa_supplicant_8/wpa_supplicant/ctrl_iface_unix.c | 37,072 | utf_8 | 2c49847ebf0b77b51efa9a90561bb502 | /*
* WPA Supplicant / UNIX domain socket -based control interface
* See README for more details.
*/
#include "includes.h"
#include <sys/un.h>
#include <sys/stat.h>
#include <grp.h>
#include <stddef.h>
#include <unistd.h>
#include <fcntl.h>
#ifdef __linux__
#include <sys/ioctl.h>
#endif /* __linux__ */
#ifdef ANDROID... |
google | android | wpas_glue | .c | platform/external/wpa_supplicant_8/wpa_supplicant/wpas_glue.c | 42,168 | utf_8 | 3f63190af5eec4b275221842fd165d54 | /*
* WPA Supplicant - Glue code to setup EAPOL and RSN modules
* See README for more details.
*/
#include "includes.h"
#include "common.h"
#include "eapol_supp/eapol_supp_sm.h"
#include "eap_peer/eap.h"
#include "rsn_supp/wpa.h"
#include "eloop.h"
#include "config.h"
#include "l2_packet/l2_packet.h"
#include "common... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.