3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-05 11:39:24 +01:00
Commit Graph

245 Commits

Author SHA1 Message Date
Denis Kenzior
3320d31ead sha1: Remove sha1.[ch] 2016-02-10 14:36:14 -06:00
Denis Kenzior
ac4a901518 crypto: move pbkdf2_sha1 to crypto.c 2016-02-10 14:32:27 -06:00
Denis Kenzior
6199960b52 crypto: Move + rework prf_sha1 into crypto.c 2016-02-10 14:16:32 -06:00
Denis Kenzior
064f1e0df9 crypto: Move hmac_sha1 to crypto.c 2016-02-10 14:12:46 -06:00
Andrew Zaborowski
cddb584501 Makefile: create links to ell test cerificates
This lets iwd use these certificates in its own unit tests.

Also use $abs_srcdir instead of $top_srcdir.  It looks like $top_srcdir
doesn't exist and that's why the destination path for the symlinks
needed ../.. instead of just ..
2015-11-02 21:51:07 -06:00
Andrew Zaborowski
830161399e eap: Implement the EAP-TTLS method
Only EAP as the inner authentication option is supported.  According to
wikipedia this is the most popular EAP-TTLS use case, with MD5 as the
inner EAP's method.
2015-11-02 21:40:21 -06:00
Andrew Zaborowski
f55db6a1c4 eap: Implement EAP-TLS
Add the EAP-TLS authentication method.  Currently, all the credentials
data is read from the provisioning file even though things like the
private key passphrase should possibly be obtained from the dbus agent.
2015-11-02 21:40:21 -06:00
Andrew Zaborowski
3f17fa1159 eap: Add initial EAP API
Adds eap.c/eap.h with the initial EAP API definitions.  No actual EAP
methods are added in this patch.
2015-11-02 09:40:03 -06:00
Denis Kenzior
028fd39bed build: Fix make distcheck 2015-10-02 13:40:59 -05:00
Denis Kenzior
d0d509d864 wsc: Add initial PushButton SM 2015-09-28 20:37:07 -05:00
Denis Kenzior
e055460709 wsc: Rename wsc.[ch] to wscutil.[ch] 2015-09-10 23:07:34 -05:00
Denis Kenzior
265994edac build: Add ell/uuid.[ch] 2015-08-31 21:32:12 -05:00
Marcel Holtmann
fd4d58896e build: Add ell/tls-record.c 2015-08-25 18:36:32 +02:00
Marcel Holtmann
5e86d91697 build: Add ell/ringbuf.[ch] 2015-08-15 04:22:05 +02:00
Marcel Holtmann
64d70c816d build: Add ell/pem.[ch], ell/tls.[ch] and ell/tls-private.h 2015-08-11 04:59:16 +02:00
Marcel Holtmann
6371b5d48c build: Add ell/base64.[ch] and ell/cipher-private.h 2015-08-11 04:58:51 +02:00
Denis Kenzior
d9b2d8151a nlmon: Add basic WSC pretty-printing capability 2015-07-23 20:49:29 -05:00
Denis Kenzior
7ed96289f8 unit: Add sanity check for WSC iterators 2015-07-15 12:52:46 -05:00
Denis Kenzior
65c8a29370 wsc: Add WSC attribute iterator 2015-07-15 12:52:23 -05:00
Denis Kenzior
0389c60066 wsc: Add initial enum definitions from the spec 2015-07-01 09:46:43 -05:00
Denis Kenzior
d3f0bd5e27 network: Add initial network usage tracking 2015-06-18 05:18:26 -05:00
Denis Kenzior
fd15212330 build: Add ell/uintset.[ch] 2015-06-08 09:38:52 -05:00
Denis Kenzior
9d7f3030f0 storage: Add initial set of utilities 2015-04-27 07:55:09 -05:00
Marcel Holtmann
4c5a846abb build: Include ell/genl-private.h header 2015-03-21 17:28:34 +01:00
Jukka Rissanen
b46f06a9ad agent: Initial agent support
Init, setup and exit functions.
2015-02-27 09:37:32 -06:00
Denis Kenzior
7f9b8117fd eapol: Add utility to find GTK KDEs 2015-02-24 17:11:56 -06:00
Denis Kenzior
ad3e0b6bf2 arc4: Remove and move to src/crypto.c 2015-02-18 21:11:37 -06:00
Denis Kenzior
b3e617838d aes: Remove and move to src/crypto.c 2015-02-18 21:02:09 -06:00
Denis Kenzior
260ef5bb9d md5: Remove and move to src/crypto.c 2015-02-18 20:56:18 -06:00
Denis Kenzior
02d101e3d7 sha256: Remove and move to src/crypto.c 2015-02-18 20:45:52 -06:00
Denis Kenzior
88d4b36663 build: Add arc4.[ch] to test-eapol sources 2015-02-17 16:54:15 -06:00
Denis Kenzior
ce473bb9d4 build: Add arc4.[ch] to iwmon sources 2015-02-17 16:53:37 -06:00
Denis Kenzior
f641fbffb0 unit: Add test-arc4 and populate arc4_skip tests 2015-02-17 16:53:15 -06:00
Denis Kenzior
dd56283b11 arc4: Add arc4_skip 2015-02-17 16:53:15 -06:00
Denis Kenzior
6916554918 build: Add aes.[ch] to iwmon 2015-02-13 14:57:40 -06:00
Denis Kenzior
4bee529813 build: Add aes.[ch] to unit/test-eapol 2015-02-13 14:55:46 -06:00
Marcel Holtmann
295ca9cd64 build: Add missing.h from ell 2015-02-11 22:09:18 +01:00
Marcel Holtmann
f1f75acdd6 build: Add random.[ch] from ell 2015-02-10 20:45:12 +01:00
Denis Kenzior
735eba83e1 build: Add cipher.[ch] from ell 2015-02-09 09:42:43 -06:00
Jukka Rissanen
f7efdeb5e2 unit: Add checking of SSID security settings 2015-01-28 14:15:14 -06:00
Tomasz Bursztyka
9e3cc8bf42 monitor: Print (de)authentication frame info
This patch adds decoding and printing of information contained in
authentication and de-authentication management frames.
2015-01-22 12:24:20 -06:00
Jukka Rissanen
7ec9c468f5 wiphy: Express SSID as an array of chars
Handle SSIDs as if they would contain up to 32 octets of opaque data.
2015-01-16 10:54:28 -06:00
Jukka Rissanen
35d0c519d7 scan: Refactor scan start details to scan.c
Move the implementation details of triggering wifi scans over netlink
to scan.c from wiphy.c.  No functionality is changed by this commit.
2015-01-12 23:09:31 -06:00
Denis Kenzior
096165d142 eapol: Add eapol_calculate_mic 2014-12-27 23:04:14 -06:00
Denis Kenzior
7be2fe7cc8 unit: Add MIC calculation test 2014-12-27 22:34:40 -06:00
Denis Kenzior
d10c4ec9da build: Compile right files 2014-12-27 22:34:40 -06:00
Marcel Holtmann
19fa80cb11 unit: Add NIST examples for AES-CMAC hashing function 2014-12-27 23:21:41 +01:00
Marcel Holtmann
1ee81e5854 core: Add support for AES-CMAC hashing function 2014-12-27 23:21:10 +01:00
Marcel Holtmann
1d137ffba0 unit: Add test cases for hmac_md5, hmac_sha1 and hmac_256 functions 2014-12-27 07:02:13 +01:00
Marcel Holtmann
872c0e803a core: Add support for HMAC SHA256 helper function 2014-12-27 06:58:28 +01:00
Marcel Holtmann
b615a6f4e0 core: Add support for HMAC MD5 helper function 2014-12-27 06:44:04 +01:00
Patrik Flykt
e67d919048 unit: Create unit test for SSID UTF8 pretty-printing
Write a set of tests that check correct and incorrect UTF8 sequences
at the beginning, middle and end of a byte array. Also verify an all
zeros (hidden) SSID of varying length.
2014-12-19 12:31:03 -06:00
Denis Kenzior
89d0df7d1a unit: Add initial unit test for EAPoL 2014-12-18 18:11:12 -06:00
Denis Kenzior
2cc842a302 eapol: Add beginnings of EAPoL utilities 2014-12-18 18:10:10 -06:00
Patrik Flykt
bf25abf38d util: Add SSID to UTF8 pretty-print function
Use a static buffer for converting an SSID to an approximate string in
UTF8. Replace each char that is not UTF8 compatible with the UTF8
replacement symbol.
2014-12-18 11:06:48 -06:00
Denis Kenzior
754264fe6a unit: Add basic mpdu unit test 2014-12-17 16:22:39 -06:00
Tomasz Bursztyka
805619fc9d core: Add the preliminary logic to parse 802.11 MPDUs
It currently focuses on parsing management frames, and specifically its
authentication and deauthentication frames.
2014-12-16 10:53:20 -06:00
Denis Kenzior
9e8654976d unit: Add unit/test-crypto test
And move the PSK generation from passphrase unit tests there
2014-11-14 21:41:59 -06:00
Denis Kenzior
d87d7d469f crypto: Add passphrase generation utility 2014-11-14 21:41:28 -06:00
Denis Kenzior
e51cac7f74 wiphy: Fix uninitialized var warnings 2014-10-30 00:26:49 -05:00
Denis Kenzior
09c29ba3e2 manager: Add manager skeleton 2014-10-06 22:13:40 -05:00
Denis Kenzior
429ea08202 dbus: Add basic D-Bus plumbing 2014-10-06 22:13:37 -05:00
Marcel Holtmann
49f2d90a44 build: Adjust ELL source list for building with hwdb support 2014-08-16 00:55:26 +02:00
Marcel Holtmann
8cdc43f540 build: Check for a2x binary and use its full path if found 2014-08-15 21:10:58 +02:00
Marcel Holtmann
4a84a19b28 build: Fix build issue with ELL and hashing function for bloom filters 2014-08-15 21:04:04 +02:00
Marcel Holtmann
c50d624e55 monitor: Decode information elements binary into individual tags 2014-08-10 00:14:29 -07:00
Marcel Holtmann
9635f317c0 monitor: Add support for builtin pager functionality 2014-08-09 19:29:48 -07:00
Marcel Holtmann
fda0593b44 build: Add framework for handling manpages in AsciiDoc format 2014-08-08 21:48:53 -07:00
Marcel Holtmann
2d75ab55e7 tools: Add simple utility for interacting with mac80221_hwsim 2014-08-08 15:40:43 -07:00
Marcel Holtmann
d0068dcf4c monitor: Add support for reading traces from PCAP files 2014-08-05 22:40:43 +02:00
Marcel Holtmann
db60e4d48f monitor: Add initial version of iwmon utitlity 2014-08-03 06:03:53 +02:00
Marcel Holtmann
999ba12f31 core: Add skeleton for nl80211 setup 2014-07-29 21:25:01 +02:00
Jukka Rissanen
e12bdd02bd unit: Add information element parser unit test cases 2014-07-15 19:18:08 -05:00
Jukka Rissanen
458ac1aba4 ie: Simple informational element parser
The parsing API goes through the byte stream and parses the
TLV (Type, Length and Value) values and avoids data copying.
2014-07-15 19:18:08 -05:00
Jukka Rissanen
eedadd860b ie: Add information element types
IE types are from IEEE Std 802.11 chapter 8.4.2
2014-07-15 15:45:03 -05:00
Marcel Holtmann
37cba460a8 core: Add tracking of network interfaces via RTNL 2014-06-21 13:41:40 +02:00
Marcel Holtmann
c1bc53ff4a build: Adjust for building with Generic Netlink from ELL 2014-06-20 13:12:26 +02:00
Marcel Holtmann
ad6302830d build: Adjust for including netlink private header from ELL 2014-06-20 11:51:38 +02:00
Marcel Holtmann
5b0f239d84 build: Adjust source files for internal ELL compilation 2014-05-22 18:48:11 -07:00
Marcel Holtmann
d0594bb878 build: Fix issue with wrongly linked ELL headers 2014-05-20 21:52:54 -07:00
Marcel Holtmann
0dbb04b93f client: Lookup the private daemon bus 2014-05-20 21:45:03 -07:00
Marcel Holtmann
bf7c041b47 core: Add support for creating private bus 2014-05-20 21:44:13 -07:00
Marcel Holtmann
902fda77a6 build: Add copy of kernel kdbus.h public header 2014-05-20 19:54:16 -07:00
Marcel Holtmann
abf1eb9494 build: Move nl80211.h public header to separate directory 2014-05-20 19:51:36 -07:00
Marcel Holtmann
f70932750e build: Add extra source files from ELL 2014-05-12 12:07:42 -07:00
Marcel Holtmann
6368a3dcbe build: Clean unit test binaries during distribution check 2014-05-11 19:27:23 -07:00
Marcel Holtmann
b0cb247d23 build: Add copy of kernel nl80211.h public header 2014-05-11 18:08:33 -07:00
Marcel Holtmann
9b07eb2c48 build: Do not build unit tests without maintainer mode 2014-05-11 16:18:45 -07:00
Marcel Holtmann
2286890184 unit: Add SHA-1 versions of PBKDF2 and PRF test cases 2014-05-11 11:57:04 -07:00
Marcel Holtmann
422fb5ad08 core: Add SHA-1 versions of PBKDF2 and PRF functions 2014-05-11 11:43:42 -07:00
Marcel Holtmann
9bb38e6c55 client: Add skeleton for daemon client utility 2014-05-11 11:01:11 -07:00
Marcel Holtmann
050539e2e3 core: Add skeleton for main daemon 2014-05-11 11:01:11 -07:00
Marcel Holtmann
4639adb1e1 build: Clean out build-aux and ell directories 2014-05-11 11:01:11 -07:00
Marcel Holtmann
6748514804 build: Add support for internal ELL compilation 2014-05-11 11:01:11 -07:00
Marcel Holtmann
344a33268c Initial revision 2014-04-25 17:57:48 -07:00