Commit: 3eba64ba2c856347fe311d8c547914f225c497b6
Parent: 71f0a1e88d9a55d5b4a0db007ab15e5dcb525a4c
Author: Frédéric Danis <frederic.danis@collabora.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2024-03-04 22:52:09
Tree: 952fef3bbda1f408544b17305531b2d902c4f748

device: Update local and remote CSRK on management event Currently the local and remote CSRK keys are only loaded to device object from storage during start. Those keys are updated on MGMT_EV_NEW_CSRK event only in adapter object, but saved both in adapter and device objects. Those keys should be updated on management event to be able to perform signed write for GAP/SEC/CSIGN/BV-01-C and GAP/SEC/CSIGN/BV-02-C. This commits updates the keys on management event in the device object and move their storage to device object only.

Diffstat

M src/adapter.c | 77 +- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
M src/device.c | 48 ++++++++++++++++++++++++++++++++++++++++
M src/device.h | 3 +++

3 files changed, 52 insertions(+), 76 deletions(-)

View Full Diff | Patch