cfg80211: implement regdb signature checking
authorJohannes Berg <johannes.berg@intel.com>
Wed, 13 Sep 2017 20:21:08 +0000 (22:21 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 11 Oct 2017 12:24:24 +0000 (14:24 +0200)
commit90a53e4432b12288316efaa5f308adafb8d304b0
tree0d284c2cc1e9c2749f0216031066ed64bd0417f2
parentc8c240e284b3d821011b4f680b3eaa99569b3756
cfg80211: implement regdb signature checking

Currently CRDA implements the signature checking, and the previous
commits added the ability to load the whole regulatory database
into the kernel.

However, we really can't lose the signature checking, so implement
it in the kernel by loading a detached signature (regulatory.db.p7s)
and check it against built-in keys.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/.gitignore [new file with mode: 0644]
net/wireless/Kconfig
net/wireless/Makefile
net/wireless/certs/sforshee.x509 [new file with mode: 0644]
net/wireless/reg.c
net/wireless/reg.h