zephyr/tests/bluetooth/addr
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Aric Radzin 65df0c1576 tests: bluetooth: addr: Add bt_addr_matches_irk() tests
Check bt_addr_matches_irk() against the sample data for the random
address hash function ah in the Core Specification, Vol 3, Part H,
Appendix D.7, which fixes the byte order of both arguments. Check that a
different IRK, the IRK in reverse byte order, a modified hash or prand,
and addresses with a valid hash but the non-resolvable, reserved or
static address bits do not match.

Add a bluetooth.addr.no_smp scenario, an observer without SMP or
privacy, to cover the function's availability without them. The RPA
resolution tests need both, so they are built only with
CONFIG_BT_PRIVACY and CONFIG_BT_SMP.

Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Aric Radzin <aric.radzin@gmail.com>
2026-10-29 19:45:30 -04:00
..
src tests: bluetooth: addr: Add bt_addr_matches_irk() tests 2026-10-29 19:45:30 -04:00
CMakeLists.txt tests: bluetooth: addr: Add bt_addr_matches_irk() tests 2026-10-29 19:45:30 -04:00
prj.conf tests: Bluetooth: Fix main stack overflow from PSA init 2026-10-28 22:49:23 -04:00
test.overlay Bluetooth: tests: Convert to new HCI driver API 2024-06-11 19:42:49 -04:00
tests.yaml tests: bluetooth: addr: Add bt_addr_matches_irk() tests 2026-10-29 19:45:30 -04:00