commit | 201a1b402a60bc7b8e41daae8f04106f4629ed7b | [log] [tgz] |
---|---|---|
author | Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> | Tue May 29 13:11:00 2018 +0200 |
committer | Anas Nashif <anas.nashif@intel.com> | Tue May 29 16:23:18 2018 -0400 |
tree | ede94e33b0c26d449da944ea8b55c5e7f64501d1 | |
parent | 13e1c3c2f84d0a124d531a0fd747752073722ca8 [diff] |
net/ieee802154: Security session must be initialized with a valid key Security layer was tested only against CC2520, which does not mandate to begin the session with a valid key. However, the crypto API tells it must do so. And indeed, starting a session on mtls shim crypto device will fail due to missing key. Thus moving the relevant code where it should. Reported-by: Johann Fischer <j.fischer@phytec.de> Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>