roll: third_party/pigweed/src 6813be6..30a6a90 (147 commits) 30a6a90:https://pigweed.googlesource.com/pigweed/pigweed/+/30a6a905b2548613cb8a44c164015ef201b277f1 roll: luci bdde2e1:https://pigweed.googlesource.com/pigweed/pigweed/+/bdde2e1315344f9ef4e61f7e11bd606c94ea3e28 Reland "pw_allocator: Support constinit TrackingAllocator" 4c2e69d:https://pigweed.googlesource.com/pigweed/pigweed/+/4c2e69d04be65d1c98a7d4956aa9480c972c4a89 Reland "pw_metric: Make Group and ListWrapper constexpr" ceb6cec:https://pigweed.googlesource.com/pigweed/pigweed/+/ceb6ceccb278a1c11d81f7c54071cc24184037c1 roll: rust-analyzer cbd4d9d:https://pigweed.googlesource.com/pigweed/pigweed/+/cbd4d9de7e66fc0f32f4f2c3da13f78444947229 pw_kernel: Wake wait group waiters on signaled add 2287d3f:https://pigweed.googlesource.com/pigweed/pigweed/+/2287d3fc5e2522ffdc7085aee7aefe9e01d92ef2 pw_format: Set up a printf-style formatting conformance test 590ebba:https://pigweed.googlesource.com/pigweed/pigweed/+/590ebba038fb0ca8d5714fc3d2c4348beaa79c2c pw_kernel: Add CoreId and AffinityMask types 738eefe:https://pigweed.googlesource.com/pigweed/pigweed/+/738eefef60ce8255ebf98c0bef6ee3a44477b85c pw_bytes: Add void*/size_t APIs for AsBytes and AsWritableBytes e9d2823:https://pigweed.googlesource.com/pigweed/pigweed/+/e9d28237ae4d2ed31d596bdea3fdeaacfff20a9a docs: Align Rustdoc dark theme with pigweed.dev 297b4d6:https://pigweed.googlesource.com/pigweed/pigweed/+/297b4d6262a6c936bb49cb731dbd8fdd65ec3cf8 pw_rpc: Migrate pwpb C++ API reference to Doxygen aff1de0:https://pigweed.googlesource.com/pigweed/pigweed/+/aff1de01bd1020ed7965f73c1ba8a398f23570df roll: python-wheel a33ef77:https://pigweed.googlesource.com/pigweed/pigweed/+/a33ef778f870c4ced31b114c2889063e96372ada docs: Disable unused Sphinx search and source copies 36e6fb7:https://pigweed.googlesource.com/pigweed/pigweed/+/36e6fb7b9858697087589fc3b4b7abf402de460f docs: Avoid Fuchsia SDK download and set up docs subdirs 1d5e017:https://pigweed.googlesource.com/pigweed/pigweed/+/1d5e017c8937bfc9b28ed6ce7d1cb12c257ab983 pw_allocator: Clear intrusive heap pointers 4db69f1:https://pigweed.googlesource.com/pigweed/pigweed/+/4db69f19b4134311aa2265a3c94f8bd6063d614a pw_bluetooth_sapphire: Allow valid key sizes in BR/EDR OnLinkKeyRequest c57911c:https://pigweed.googlesource.com/pigweed/pigweed/+/c57911ce78218ecefff9d5beb6737bfbaeabb477 pw_bluetooth_sapphire: Preserve non-zero BR/EDR key size in FIDL helpers 837d849:https://pigweed.googlesource.com/pigweed/pigweed/+/837d84949e73322b20ba4288f07fdcdd7561edc9 pw_bluetooth_sapphire: Do not disconnect on BR/EDR encryption collision dae460e:https://pigweed.googlesource.com/pigweed/pigweed/+/dae460ed142f11873e23cb29b056a17a5f387ec3 pw_emu: Opt pw_emu_py and pw_emu_py_lib out of Python strict_deps c48c891:https://pigweed.googlesource.com/pigweed/pigweed/+/c48c89167e7a9ccbdfd4484c09d69d5d841b3989 pw_tls_client_mbedtls: Handle non-null-terminated server names f1cd194:https://pigweed.googlesource.com/pigweed/pigweed/+/f1cd194ce9d70f05a1b4fe8bff54f68bd4827459 bazel: Switch to Python 3.14 as the default 0185cfd:https://pigweed.googlesource.com/pigweed/pigweed/+/0185cfdd444bd283972f2c8e3b449106485d8393 pw_rpc2: Use FutureTask in C++ unit tests 3470c78:https://pigweed.googlesource.com/pigweed/pigweed/+/3470c78d97ca448f327a94c7a7e99098bf99c154 pw_async2: Fix RunInTaskUntilStalled dispatcher 21ba75f:https://pigweed.googlesource.com/pigweed/pigweed/+/21ba75f0b20a8ac0f4c59cc3ae417e65d0b047a4 pw_bluetooth_sapphire: Coalesce Service Changed 9f1c551:https://pigweed.googlesource.com/pigweed/pigweed/+/9f1c551fb05c96f446a1a1e8e29a7a4da9d521f3 agents: Add nodding-along check and take-home habits b00b89d:https://pigweed.googlesource.com/pigweed/pigweed/+/b00b89d9155a849dc0d0dae85acad4d5d612660f zephyr: Add Zephyr integration build tests ca65d9c:https://pigweed.googlesource.com/pigweed/pigweed/+/ca65d9cb12a34f55e7364f7c1431ba1dcea63a79 zephyr: Address review comments from the 4.4 migration 7cdadc5:https://pigweed.googlesource.com/pigweed/pigweed/+/7cdadc5869a378d276914b66120dda0ba8497ddb agents: Cue learn-pigweed notes instead of copying chat 576097f:https://pigweed.googlesource.com/pigweed/pigweed/+/576097f382f9b8d0b29c8ddbc8a00ae11d86a696 docs: Hide outer Pigweed root row in Doxygen sidebar 0418e11:https://pigweed.googlesource.com/pigweed/pigweed/+/0418e111c0c3445ffc5c8eeb41d013070f91ff55 pw_ghish: Add AGENTS.md for internal/astcheck 44e84cf:https://pigweed.googlesource.com/pigweed/pigweed/+/44e84cf960df3fe904f622202ec609d67ffb56e6 pw_transport: Add Python framed_tcp module cd02b9b:https://pigweed.googlesource.com/pigweed/pigweed/+/cd02b9b1980e157d197cd58e9d8a5feb16dab648 pw_transport: Add Python forwarding_socket module 8870fdd:https://pigweed.googlesource.com/pigweed/pigweed/+/8870fddfa9dee49cd82802b4d064d4dae5250801 pw_ghish: Tighten CLI, ANSI, and legacy Go idiom AST checks e5b439c:https://pigweed.googlesource.com/pigweed/pigweed/+/e5b439c30d45320645f18e23c03faa8608a4f3c9 pw_ghish: Enforce //ghish:wraps on SafeRemoveAll and atomic file writes 4432545:https://pigweed.googlesource.com/pigweed/pigweed/+/4432545220807f9b2f0fc88c84cf8a8e0bf8cbeb pw_ghish: Route worktree git operations through GitClient 51ffbfc:https://pigweed.googlesource.com/pigweed/pigweed/+/51ffbfcc9c377f21a11e3e2e000a2aa040529d85 pw_ghish: Enforce //ghish:wraps on HTTP and LookPath choke-points 9fac5ad:https://pigweed.googlesource.com/pigweed/pigweed/+/9fac5ad8e52b61094a03e4e7d7adbd3c8efafab3 pw_multibuf: Fix span of v1_adapter::Chunk 207b499:https://pigweed.googlesource.com/pigweed/pigweed/+/207b499cb93ee0c21e7dff611829ffac14f442f9 pw_ghish: Unexport ConfigGet and route callers through ProjectConfig 7e6fc57:https://pigweed.googlesource.com/pigweed/pigweed/+/7e6fc5706d739488c777c564fb3b217e837c4315 docs: Align Doxygen sidebar with Sphinx nav f14894f:https://pigweed.googlesource.com/pigweed/pigweed/+/f14894f943ce68ad7e5b430deb42ff1f6e08ce25 pw_ghish: Generalize subprocess choke-point check into //ghish:wraps ab9dc20:https://pigweed.googlesource.com/pigweed/pigweed/+/ab9dc20c090ecb5265e2e1f338a1329555c58813 pw_ghish: Hoist AST call queries into astcheck b9cf7f0:https://pigweed.googlesource.com/pigweed/pigweed/+/b9cf7f037399141790515086e6d13a82b3b0a66d pw_ghish: Hoist AST composite-literal queries into astcheck d00ffd9:https://pigweed.googlesource.com/pigweed/pigweed/+/d00ffd917af428ccdfe1edd329d5ebb0383251d3 pw_ghish: Move AST test loading and //ghish:* directives to astcheck bdb4404:https://pigweed.googlesource.com/pigweed/pigweed/+/bdb4404a77a5133442f6305d37c0466e766e37e3 pw_kernel: Fix lost USER signal in IPC test 2f9584e:https://pigweed.googlesource.com/pigweed/pigweed/+/2f9584e35f8ecc9737d875d3e2c3f0687bc16bf2 pw_kernel: Add system image build documentation 1b610f4:https://pigweed.googlesource.com/pigweed/pigweed/+/1b610f4d8c1ba74808a552844474f3f620913a3f docs: Update changelog for October 2026 ad6b0de:https://pigweed.googlesource.com/pigweed/pigweed/+/ad6b0de1d5e3d793dab414d960ad48352392ef72 docs: Update changelog automation c3484a1:https://pigweed.googlesource.com/pigweed/pigweed/+/c3484a13a76bb52fdb56a6ae69eb434b87392d73 pw_kernel: Fix truncated QEMU test logs e001283:https://pigweed.googlesource.com/pigweed/pigweed/+/e00128344400da2b1a7da69c7ae8ce9842d0454a pw_env_setup: Update ruamel-yaml-clib to support Python 3.14 f632575:https://pigweed.googlesource.com/pigweed/pigweed/+/f63257587dfbfee1df1853acb2048219ff214509 pw_env_setup: Skip redundant venv, pip, and gn gen steps 67e97af:https://pigweed.googlesource.com/pigweed/pigweed/+/67e97af7de2c64b464aadef00db51198374b7c11 pw_bluetooth_sapphire: Reject duplicate GAP and GATT local services 3981a7e:https://pigweed.googlesource.com/pigweed/pigweed/+/3981a7eb4d7b9566b45e61abe5c9651b24acb6c0 pw_presubmit: Fix Windows constraints timeout 15c1f7c:https://pigweed.googlesource.com/pigweed/pigweed/+/15c1f7cac1e11c161c773efe19e638fcf38079b3 pw_bluetooth_sapphire: Use typed service bindings 82f9f99:https://pigweed.googlesource.com/pigweed/pigweed/+/82f9f993315d938c01da5efc5c0faacc4190c352 docs: Document Depends-on trailers 29b1757:https://pigweed.googlesource.com/pigweed/pigweed/+/29b17572313aaa122ddf297672b3ece9039d8697 python: Python 3.14 test and lint fixes c3adb62:https://pigweed.googlesource.com/pigweed/pigweed/+/c3adb62484de7f85421c4095a674b6a62394894f bazel: Expand Bazel build coverage to better match GN 5e678a0:https://pigweed.googlesource.com/pigweed/pigweed/+/5e678a09d4e36b7156796bba74cc138451350848 pw_log_rpc: Add RpcLogDrainThread::PollUntilDrained() c1e8b68:https://pigweed.googlesource.com/pigweed/pigweed/+/c1e8b68de5f1474748d4e589f672eb0edbef6158 docs: Refresh code intelligence section of Sense tutorial d2877d0:https://pigweed.googlesource.com/pigweed/pigweed/+/d2877d0cb1f741340279bd50b37e4df25f1df7b1 pw_bluetooth_sapphire: Make loopback HciTransport and Snoop exclusive b6a8e0f:https://pigweed.googlesource.com/pigweed/pigweed/+/b6a8e0ff90e0bb44495af781b7af8457232229bd pw_bluetooth_sapphire: Use fuchsia_cc_binary c9bd0df:https://pigweed.googlesource.com/pigweed/pigweed/+/c9bd0df3a654528b65af8cecf4b9b2b4ecd348a3 bazel: Update Fuchsia SDK to 34.20261106.5.1 9b9ea53:https://pigweed.googlesource.com/pigweed/pigweed/+/9b9ea538297254c257a72227186c2b77e8bf4615 pw_bluetooth_sapphire: Make OpenHciTransport exclusive cd3a1a7:https://pigweed.googlesource.com/pigweed/pigweed/+/cd3a1a78656a00d4266ef761edc1e2017e801558 pw_bluetooth_sapphire: Cap DataElement read count f96d343:https://pigweed.googlesource.com/pigweed/pigweed/+/f96d343d5764c956fcbdff187d6778edfb147e80 Revert "pw_allocator: Support constinit TrackingAllocator" e0ffa6e:https://pigweed.googlesource.com/pigweed/pigweed/+/e0ffa6e8bd605876bab45e9ab76b3aeeb5a8dfdf Revert "pw_metric: Make Group and ListWrapper constexpr" 2ae47e7:https://pigweed.googlesource.com/pigweed/pigweed/+/2ae47e7327ab82441867a8d1ce03ced58da0aa0d pw_rpc,pw_status: Fix Sphinx nitpicky warnings in Python docs a6a6157:https://pigweed.googlesource.com/pigweed/pigweed/+/a6a6157f8b5ed58a85dedf81cad65217a0186150 pw_bluetooth_sapphire: Disable APCF offloading when max_filters is 0 2d43496:https://pigweed.googlesource.com/pigweed/pigweed/+/2d4349640fad8e455e1282443aca24e0aaaed02c pw_bluetooth_sapphire: Guard against reordered LE connection events dc3b7a2:https://pigweed.googlesource.com/pigweed/pigweed/+/dc3b7a2a03b203d8f492a2ea723a61d867b951a5 pw_bluetooth_proxy: Send kWriteAvailable outside channels lock da1276a:https://pigweed.googlesource.com/pigweed/pigweed/+/da1276a64e1ef9b3558b06f5ea745a8c24cde880 pw_transport: Add Python socket and transport interfaces 49cee5f:https://pigweed.googlesource.com/pigweed/pigweed/+/49cee5fb69086f7dcc5808ad6630b8d9bed259b0 pw_env_setup: Update pyfakefs to support Python 3.14 573660e:https://pigweed.googlesource.com/pigweed/pigweed/+/573660e4a3541c0417b573c426139e01a81ffd27 pw_containers: Extract tag and Maybe<T> helpers a370610:https://pigweed.googlesource.com/pigweed/pigweed/+/a3706104b00ec08a90a2fc86d3b7fba6138e3f52 pw_bluetooth_sapphire: Handle disconnect in BR/EDR connect callback f13bc7c:https://pigweed.googlesource.com/pigweed/pigweed/+/f13bc7c7f2d1175292ac9aebe7fbc7a1b6edf416 pw_env_setup: Exclude python_packages.py from Android.bp 0eea6f0:https://pigweed.googlesource.com/pigweed/pigweed/+/0eea6f02bd1c3004274deab5e9a38d52d9e582b1 pw_async2: Destroy SelectFuture sub-futures in place on completion 9f010c5:https://pigweed.googlesource.com/pigweed/pigweed/+/9f010c5e60c9423e288ccc6672444e84dcb80519 zephyr: Add pw_module_tests to presubmit d0a4c4d:https://pigweed.googlesource.com/pigweed/pigweed/+/d0a4c4d3ff824a7ada52d859cff2ee3c94b2f381 pw_assert_tokenized: Capture PW_ASSERT condition b18c4f0:https://pigweed.googlesource.com/pigweed/pigweed/+/b18c4f0c9d1c90f7a67e331e8ae4c79ee5d36606 pw_allocator: Support constinit TrackingAllocator 3baa597:https://pigweed.googlesource.com/pigweed/pigweed/+/3baa59770856a73f8c33dd6489369394d19bf757 zephyr: Switch to zephyr main 34e6d18:https://pigweed.googlesource.com/pigweed/pigweed/+/34e6d185e4fa0031973d69c328433a660aea62f0 pw_async2: Tighten C++17 Future move-assign check 0af5e01:https://pigweed.googlesource.com/pigweed/pigweed/+/0af5e01825ba9c0c08cc1c507870e3dd5d160352 pw_rpc, pw_transport: Docs adjustments 3093337:https://pigweed.googlesource.com/pigweed/pigweed/+/30933371ae88785877131ed8af51914cb5fd61da pw_module: Fix pw module create 92cf0bc:https://pigweed.googlesource.com/pigweed/pigweed/+/92cf0bc95e459c71b62243a3675431da02f127c2 pw_kernel: Extract PriorityQueueSet and SchedulerAlgorithmInterface 52abb99:https://pigweed.googlesource.com/pigweed/pigweed/+/52abb991fa106186b2f25c4b89a1896be9cc5f20 pw_software_update: Deduplicate GetTargetSha256 65ff9fe:https://pigweed.googlesource.com/pigweed/pigweed/+/65ff9fea215a4863503d39b6eb32497898261c0f pw_presubmit: Check all filtered paths in source_in_build checks 58064a6:https://pigweed.googlesource.com/pigweed/pigweed/+/58064a68598264791fe5567d25b046aad44090f6 docs: Disable Sphinx index generation e7cd109:https://pigweed.googlesource.com/pigweed/pigweed/+/e7cd10929a5e8eb25f7ed12d739fc110e6406ddd pw_bluetooth: Fix comment and doc typos in snoop 88f595a:https://pigweed.googlesource.com/pigweed/pigweed/+/88f595af258bf4c0bb5fa47140170a5f85634d7d pw_bluetooth_proxy: Fix Android.bp typo in gatt/BUILD.gn LINT directive 2d38288:https://pigweed.googlesource.com/pigweed/pigweed/+/2d3828855fcac726fb86d1760da3db98b12267be pw_bluetooth_proxy: Remove mutable from request_sender_ 3c7e840:https://pigweed.googlesource.com/pigweed/pigweed/+/3c7e8400a945bbb9b41f83b9d86951455635e392 pw_bluetooth: Add opcode_uint and LE ISO subevent codes to hci_common.emb 7828548:https://pigweed.googlesource.com/pigweed/pigweed/+/7828548303a8352166fedaf09324c6f0ba4bb37d bazel: Bump minimum Bazel version to 8.6.0 1247e82:https://pigweed.googlesource.com/pigweed/pigweed/+/1247e822d83602775b8bfdcb8ff06708957fafe1 pw_bluetooth_proxy: Document container reset requirements 0ce839c:https://pigweed.googlesource.com/pigweed/pigweed/+/0ce839c6435bba51c41cd344473c7713eb1311e9 pw_metric: Make Group and ListWrapper constexpr 882cddb:https://pigweed.googlesource.com/pigweed/pigweed/+/882cddbef1a1ef0ae178b1967c57ac47edc96c35 pw_containers: Add batch transactions to LockFreeSpscQueue 3212582:https://pigweed.googlesource.com/pigweed/pigweed/+/3212582fc56799dafb155cb9b9a6934c53910c54 pw_memory: Add pw::construct_at e8b3bb6:https://pigweed.googlesource.com/pigweed/pigweed/+/e8b3bb6d48b100f9e5948e6e4d431510b2230cee pw_containers: Add LockFreeSpscQueue 2f27534:https://pigweed.googlesource.com/pigweed/pigweed/+/2f27534cd0bb8ef5f29be0709f5d3a94531f3ef0 pw_containers: Make IntrusiveForwardList constexpr 0069121:https://pigweed.googlesource.com/pigweed/pigweed/+/006912181b4647cdc230b563391d8612e6fbeae6 targets: Add pw_rp2350 debug_probe CLI 66f9a64:https://pigweed.googlesource.com/pigweed/pigweed/+/66f9a644ab454dece90996d892381c5ea4a99cfd pw_async2: Prevent wake leaks 8348097:https://pigweed.googlesource.com/pigweed/pigweed/+/83480970b898854637dacabe94badabf37c014c1 agents: Ground learn-pigweed design goals aa1d0b3:https://pigweed.googlesource.com/pigweed/pigweed/+/aa1d0b3769dcf9329e92c4d06151deadbee17ed0 pw_ghish: Fix <change>/<patchset> Busytown match and live tests 84fcb5a:https://pigweed.googlesource.com/pigweed/pigweed/+/84fcb5a7e030aae29c0a21211e92b42f7405c5ec pw_async, pw_multibuf: Remove facade nogncheck 4eef6f2:https://pigweed.googlesource.com/pigweed/pigweed/+/4eef6f205b96d333ed191a3460241fcff5998749 pw_async2: Add coroutine lifetimebound annotations aa4a1c5:https://pigweed.googlesource.com/pigweed/pigweed/+/aa4a1c5dd8adc49c499e7cbf5c23ec456ca4719c pw_protobuf: Mark Field/iterator methods const 31e4b6e:https://pigweed.googlesource.com/pigweed/pigweed/+/31e4b6e290fa542780c1763379b23f2aa7e9bc0d bazel: Roll aspect_rules_esbuild to 0.27.1 decefe4:https://pigweed.googlesource.com/pigweed/pigweed/+/decefe4a717bbc5b32d6d241a629502334eae7b8 pw_async2: Align C++17 Future trait with C++20 e34f952:https://pigweed.googlesource.com/pigweed/pigweed/+/e34f952be6f1edf7f39ea6d4a93089309e24b9e2 pw_bluetooth_sapphire: Remove GN loop_fixture 19ff0e7:https://pigweed.googlesource.com/pigweed/pigweed/+/19ff0e7a96c4b81e9ed90ece1ed3fb44bdcd7f23 pw_rpc, pw_rpc2: Advertise pw_rpc2 from pw_rpc ac0a45c:https://pigweed.googlesource.com/pigweed/pigweed/+/ac0a45c8297cc82a49a9536ff4bc736b4c79df39 bazel: Roll aspect_rules_js to 3.5.1 01a198c:https://pigweed.googlesource.com/pigweed/pigweed/+/01a198c50364e0012be3a0d5f0c9686925aa3d73 roll: python-wheel a83b070:https://pigweed.googlesource.com/pigweed/pigweed/+/a83b070d7b5a72513c3232fe99da6f28255621ec pw_bluetooth_sapphire: Simplify ConnectToService de335e5:https://pigweed.googlesource.com/pigweed/pigweed/+/de335e512a347e962cd78df7b7416ade6d3f4c6d pw_result: Optimize accessor code size, add std::hash, fix Optional CTAD 3a747e3:https://pigweed.googlesource.com/pigweed/pigweed/+/3a747e3e3f3d8e4bce740e0d2bad8f66082fad9e pw_presubmit: Fix Sphinx nitpicky warnings 9a233c0:https://pigweed.googlesource.com/pigweed/pigweed/+/9a233c0d63ca4fb0c8287f308d58c67f15cc2f1a pw_bluetooth_sapphire: Accept link key change before encryption 969be72:https://pigweed.googlesource.com/pigweed/pigweed/+/969be72899cbbb3efb99bc32d560dd6bf1259d14 pw_bluetooth_sapphire: Accept BR/EDR link key change on bonded SSP link 763f74b:https://pigweed.googlesource.com/pigweed/pigweed/+/763f74b0136a05e7fccb4e435ab812c3d9fdca66 pw_bluetooth_sapphire: Migrate device_path to config capability f92dfc0:https://pigweed.googlesource.com/pigweed/pigweed/+/f92dfc01ab43faf20caee4e8f92d8a015dbe72bd pw_bluetooth_proxy: Close L2CAP channels outside manager locks 298ee08:https://pigweed.googlesource.com/pigweed/pigweed/+/298ee0891ba75facf9321c65085bca381096f3d7 docs: Add facade header contract to C++ style guide 522016a:https://pigweed.googlesource.com/pigweed/pigweed/+/522016a4da8491e218b0d63b1df91ace9e9c244c pw_bluetooth_proxy: Reset RFCOMM recovery state on reset 2166de2:https://pigweed.googlesource.com/pigweed/pigweed/+/2166de2371e8532c86ae71662cb0d916cb1df9cf pw_bluetooth_proxy: Clear deferred_refunds_ on ACL reset c2fe562:https://pigweed.googlesource.com/pigweed/pigweed/+/c2fe5626782e6a12b599929d3857afda881c3598 pw_bluetooth_sapphire: Check ERTM Rx MTU and MPS bdfe308:https://pigweed.googlesource.com/pigweed/pigweed/+/bdfe308b23da1745c138525b8a2de24a570dbc6a pw_bluetooth_sapphire: Ignore BR/EDR key size reply on closed link 3db4b9c:https://pigweed.googlesource.com/pigweed/pigweed/+/3db4b9c832310a27c1dfc0bf97f4634a15e418f4 pw_bluetooth_proxy: Emit L2CAP signaling state removal updates b7b3bc7:https://pigweed.googlesource.com/pigweed/pigweed/+/b7b3bc7f1860062c2f6fc2ac174a303885797293 pw_bluetooth_proxy: Send ProxyHostReset state update on reset 8829a5c:https://pigweed.googlesource.com/pigweed/pigweed/+/8829a5ccfa4af0723027eaa9f008ff30ff03db69 pw_preprocessor: Add PW_ALWAYS_INLINE macro b372316:https://pigweed.googlesource.com/pigweed/pigweed/+/b372316a628552e389a9fd0d58b0d342b36719ec pw_sync: Add spinlock `with()` and `try_with()` utils to Rust crate be3ccaf:https://pigweed.googlesource.com/pigweed/pigweed/+/be3ccaf3b88d32dd82914e95b82e82438e4b4565 pw_bluetooth_sapphire: Flatten OnLinkKeyRequest and OnPinCodeRequest cb4ea07:https://pigweed.googlesource.com/pigweed/pigweed/+/cb4ea0705b1ea6789f8185a11559552db4a8a540 pw_bluetooth_sapphire: Restructure OnLinkKeyNotification 50fe12e:https://pigweed.googlesource.com/pigweed/pigweed/+/50fe12e960019bf31ca4024ec440d520e8056ba9 pw_bluetooth_sapphire: Don't bond rejected BR/EDR link keys a712033:https://pigweed.googlesource.com/pigweed/pigweed/+/a712033903f07504d6a5a89d172668271764b8a3 pw_ide: Upgrade mocha to 12.0.3 bc5b7f3:https://pigweed.googlesource.com/pigweed/pigweed/+/bc5b7f3b81eb3f0a7430102280ce2622bc4f3214 pw_async2: Add a TimeFuture size report row e49ad26:https://pigweed.googlesource.com/pigweed/pigweed/+/e49ad26a1b42232b69790c131adab65033c29291 pw_env_setup: Add compile_pip_requirements rules 04d11d5:https://pigweed.googlesource.com/pigweed/pigweed/+/04d11d510791db387c53f0d246bfa489c532c8e4 pw_bluetooth_proxy: Borrow channel in L2capChannelImpl::SendEvent 2a0e5bf:https://pigweed.googlesource.com/pigweed/pigweed/+/2a0e5bfe818a6de6c942943380314f66fe2e5758 pw_bluetooth_proxy: Clamp ACL connection queue allocation 70271d5:https://pigweed.googlesource.com/pigweed/pigweed/+/70271d531a0777914bea0bc2ae0a16e6b083c7da pw_ide: Run VS Code extension unit tests headlessly aef5429:https://pigweed.googlesource.com/pigweed/pigweed/+/aef5429c9e5314b8585d4796dd2da6864b682046 pw_file: add pw_android_common_target_support to provide vendor_available 1751d1d:https://pigweed.googlesource.com/pigweed/pigweed/+/1751d1dd632308ea30ccd202c407e29253b1f6ae pw_rpc: use pw_android_common_target_support for include dirs to support vendor_ramdisk bc641f0:https://pigweed.googlesource.com/pigweed/pigweed/+/bc641f0f1139b88ae4dbaf5b90a2db595b0f7102 pw_bluetooth_sapphire: Remove NodeHooks 6ec55f3:https://pigweed.googlesource.com/pigweed/pigweed/+/6ec55f3e5d768674240d953383bffbf87c063855 pw_bluetooth_sapphire: Delete virtual HCI driver 5b2dddc:https://pigweed.googlesource.com/pigweed/pigweed/+/5b2dddc543e81b280639fe17e71e61436580ad84 pw_package: Update FreeRTOS to 11.3.2 e4b1b9e:https://pigweed.googlesource.com/pigweed/pigweed/+/e4b1b9e61533d1e65beb7866354394b669f5c0c9 pw_bluetooth_sapphire: Unmask periodic advertising sync events 310abd2:https://pigweed.googlesource.com/pigweed/pigweed/+/310abd2f79d3d5733d6359096ec50bc2b9584a9a pw_buf: Make zero-length allocated buffers owned ad1acfc:https://pigweed.googlesource.com/pigweed/pigweed/+/ad1acfc1dc48451461f093e4445dbeffdece2f1a pw_bluetooth_sapphire: Remove BR/EDR debug logs 37fe3db:https://pigweed.googlesource.com/pigweed/pigweed/+/37fe3db05576664b67a83b66c140ef124ecee7cc pw_rpc: Add Rpc2Adapter for exposing services to pw_rpc2 clients f6bc029:https://pigweed.googlesource.com/pigweed/pigweed/+/f6bc0299399a651e36c1f8feebf52ac241a226e0 pw_result: Address remaining std::optional compatibility gaps d18b62f:https://pigweed.googlesource.com/pigweed/pigweed/+/d18b62f60ac56ea693ff26d142ae9ea16263c6a7 pw_bluetooth_sapphire: Use correct LMPFeature bit for LE support dc13c45:https://pigweed.googlesource.com/pigweed/pigweed/+/dc13c459d515013576d2da9aed1b63f43fb0b4e9 pw_ghish: Enforce unit test git fixture invariants via AST 0385715:https://pigweed.googlesource.com/pigweed/pigweed/+/038571526053ff0cfb0409b416a0e48bdf6b7eb0 pw_ghish: Use git test fixture in git_transport_test Rolled-Repo: https://pigweed.googlesource.com/pigweed/pigweed Rolled-Commits: 6813be695aacc3..30a6a905b25486 Roll-Count: 1 Roller-URL: https://cr-buildbucket.appspot.com/build/8665020472092311537 GitWatcher: ignore CQ-Do-Not-Cancel-Tryjobs: true Change-Id: I7ed6ba03ad488aa555efe5babd25a5df254af8ad Reviewed-on: https://pigweed-review.googlesource.com/c/open-dice/+/531920
This repository contains the specification for the Open Profile for DICE along with production-quality code. This profile is a specialization of the Hardware Requirements for a Device Identifier Composition Engine and DICE Layering Architecture specifications published by the Trusted Computing Group (TCG). For readers already familiar with those specs, notable distinctives of this profile include:
You can find us (and join us!) at https://groups.google.com/g/open-profile-for-dice. We're happy to answer questions and discuss proposed changes or features.
The specification can be found here. It is versioned using a major.minor scheme. Compatibility is maintained across minor versions but not necessarily across major versions.
Production quality, portable C code is included. The main code is in dice.h and dice.c. Cryptographic and certificate generation operations are injected via a set of callbacks. Multiple implementations of these operations are provided, all equally acceptable. Integrators should choose just one of these, or write their own.
Tests are included for all code and the build files in this repository can be used to build and run these tests.
Disclaimer: This is not an officially supported Google product.
Different implementations use different third party libraries. The third_party directory contains build files and git submodules for each of these. The submodules must be initialized once after cloning the repo, using git submodule update --init, and updated after pulling commits that roll the submodules using git submodule update.
To setup the build environment the first time:
$ git submodule update --init --recursive $ source bootstrap.sh $ gn gen out
To build and run tests:
$ ninja -C out
The easiest way, and currently the only supported way, to build and run tests is from a Pigweed environment on Linux. Pigweed does support other host platforms so it shouldn't be too hard to get this running on Windows for example, but we use Linux.
There are two scripts to help set this up:
bootstrap.sh will initialize submodules, bootstrap a Pigweed environment, and generate build files. This can take some time and may download on the order of 1GB of dependencies so the normal workflow is to just do this once.
activate.sh quickly reactivates an environment that has been previously bootstrapped.
These scripts must be sourced into the current session: source activate.sh.
In the environment, from the base directory of the dice-profile checkout, run ninja -C out to build everything and run all tests. You can also run pw watch which will build, run tests, and continue to watch for changes.
This will build and run tests on the host using the clang toolchain. Pigweed makes it easy to configure other targets and toolchains. See toolchains/BUILD.gn and the Pigweed documentation.
The code is designed to be portable and should work with a variety of modern toolchains and in a variety of environments. The main code in dice.h and dice.c is C99; it uses uint8_t, size_t, and memcpy from the C standard library. The various ops implementations are as portable as their dependencies (often not C99 but still very portable). Notably, this code uses designated initializers for readability. This is a feature available in C since C99 but missing from C++ until C++20 where it appears in a stricter form.
The Google C++ Style Guide is used. A .clang-format file is provided for convenience.
To incorporate the code into another project, there are a few options:
Copy only the necessary code. For example:
Take the main code as is: include/dice/dice.h, src/dice.c
Choose an implementation for crypto and certificate generation or choose to write your own. If you choose the boringssl implementation, for example, take include/dice/utils.h, include/dice/boringssl_ops.h, src/utils.c, and src/boringssl_ops.c. Taking a look at the library targets in BUILD.gn may be helpful.
Add this repository as a git submodule and integrate into the project build, optionally using the gn library targets provided.
Integrate into a project already using Pigweed using the gn build files provided.
The build reports code size using Bloaty McBloatface via the pw_bloat Pigweed module. There are two reports generated:
Library sizes - This report includes just the library code in this repository. It shows the baseline DICE code with no ops selected, and it shows the delta introduced by choosing various ops implementations. This report does not include the size of the third party dependencies.
Executable sizes - This report includes sizes for the library code in this repository plus all dependencies linked into a simple main function which makes a single DICE call with all-zero input. It shows the baseline DICE code with no ops (and therefore no dependencies other than libc), and it shows the delta introduced by choosing various ops implementations. This report does include the size of the third party dependencies. Note that rows specialized from ‘Boringssl Ops’ use that as a baseline for sizing.
The reports will be in the build output, but you can also find the reports in .txt files in the build output. For example, cat out/host_optimized/gen/*.txt | less will display all reports.
This code does not itself use mutable global variables, or any other type of shared data structure so there is no thread-safety concerns. However, additional care is needed to ensure dependencies are configured to be thread-safe. For example, the current boringssl configuration defines OPENSSL_NO_THREADS_CORRUPT_MEMORY_AND_LEAK_SECRETS_IF_THREADED, and that would need to be changed before running in a threaded environment.
This code makes a reasonable effort to clear memory holding sensitive data. This may help with a broader strategy to clear sensitive data but it is not sufficient on its own. Here are a few things to consider.