I have flashed OpenWRT onto my Raspberry Pi Model 3B+ and was wondering if it is possible to modify how WPA2 works for example like changing the AES encryption into my own encryption algorithm or modifying the 4way handshake process?

Is this a hardware or software level thing and how can I go about doing it like is it possible to maybe change some code in the driver to edit the protocol?

  • What is your goal? Are you just trying to secure your network or do you really want to write your own communications protocols? – HackSlash Oct 19 '18 at 21:58

No. Not easily. If you really wanted to do this you would also need to modify the client connection behavior of every device you would subsequently connect to this AP. That is also non trivial.

If you are interested in getting involved in how protocols are gloablly defined you would have to join the IEEE. You can read the full specification of the protocol as defined by the IEEE:


NOTE: It does cost money just to read text.

The good news is that there is an update coming called WPA3. You might need to buy new hardware that supports the new protocol.

It should be available to the public very soon, according to this source:


| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.