Commit: c1dd94cc7f810e72ded5ef3886208fbe7b35483c
Parent: 31ab084f072c335b5fbaab1c44ecaf899f5d5dda
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2023-03-10 23:41:06
Tree: 5b65f1d5bd197afcc08b736d8e25f6dfe86d0f61

shared/crypto: Add bt_crypto_sirk This adds bt_crypto_sirk which attempts to generate a unique SIRK using the following steps: - Generate a hash (k) using the str as input - Generate a hash (sirk) using vendor, product, version and source as input - Encrypt sirk using k as LTK with sef function.

Diffstat

M src/shared/crypto.c | 40 ++++++++++++++++++++++++++++++++++++++++
M src/shared/crypto.h | 3 +++

2 files changed, 43 insertions(+), 0 deletions(-)

View Full Diff | Patch