scan: genericize the caller-supplied unit-key docs (no external-source naming)

The ScanOptions.unit_key path is a generic primitive — a caller-supplied Unit
Key that bypasses keydb lookup. Doc comments + a tracing log named a specific
external source; reworded to neutral 'out-of-band / external key service' so
the library makes no assumptions about where the key came from.
This commit is contained in:
MattJackson
2026-06-02 13:00:11 -07:00
parent 9f209fe066
commit 94ab7bc73c
4 changed files with 18 additions and 20 deletions
+2 -2
View File
@@ -468,7 +468,7 @@ impl Disc {
})
}
/// Resolve encryption from a caller-supplied Unit Key (the keyserver
/// Resolve encryption from a caller-supplied Unit Key (the external key service
/// path). No keydb, no derivation: read `Unit_Key_RO.inf` for the disc
/// hash + version/bus-encryption flags, then use `unit_key` directly as
/// CPS unit 1's decryption key. The handshake (if any) still supplies the
@@ -514,7 +514,7 @@ impl Disc {
disc_hash = %aacs::disc_hash_hex(&dh),
version,
bus_encryption,
"using caller-supplied unit key (keyserver path)"
"using caller-supplied unit key"
);
Ok(AacsState {