Slightly refactor and fix CTKD

It seems sample input data provided in the spec is big-endian (just
like other AES-CMAC-based functions), but all keys are in little-endian(
HCI standard), so they need to be reverse before and after applying
AES-CMAC.
This commit is contained in:
Josh Wu
2023-11-23 03:46:19 +08:00
parent e08c84dd20
commit 80d34a226d
5 changed files with 220 additions and 193 deletions

View File

@@ -29,6 +29,7 @@
"deregistration",
"dhkey",
"diversifier",
"endianness",
"Fitbit",
"GATTLINK",
"HANDSFREE",