diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2015-02-26 17:55:31 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2015-02-26 17:55:31 +0200 |
commit | 60ba9a54934ed2bd1cf60c858fc0defd2e4f725e (patch) | |
tree | c3a43c195388fb98a88bf95f5c69b984ccccb6ff /src | |
parent | 242993bf71d7d5a6b95b909943ebb15db62454b6 (diff) | |
download | bluez-60ba9a54934ed2bd1cf60c858fc0defd2e4f725e.tar.gz |
doc/mgmt-api: Add security level to new CSRK events
In order to distinguish between LE Security Mode 2 levels 1 and 2 we
need to know whether a CSRK is authenticated or unauthenticated. So far
this information wasn't available in the New CSRK event from the kernel.
This patch renames the Master parameter of the event to Type and adds
two new values to it. The two old values 0x00 and 0x01 still have the
same meaning as before from the local/remote CSRK perspective. Since we
so far have not known anything about the security level these values
must be assumed to be unauthenticated.
The consequence of this update is that authenticated keys with new
kernels will simply be ignored by existing code (which only accepts
values 0x00 and 0x01), however since we haven't really had any code
doing real signing so far this should be an acceptable compromise.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions