Add SHA256 key management handling

This patch adds SHA256 key management handling to be able to
use more robust algorithm. When WPA_PSK or WPA_EAP key mgmt
is specified, corresponding SHA256-based algorithm is added
additionally and will be used depending on negotiation with
access point.

Bug: 68787540
Test: Check key managements are added in supplicant
Test: Connection with only SHA256 capable access point
Test: Unit tests
Signed-off-by: Daichi Ueura <daichi.ueura@sony.com>
Change-Id: I24537c2624f13ac4683af00daa00fefc0f806a69
(Cherry-picked from commit a6497707dba2c8d655998b80a079eebd0f24b523)
2 files changed