fix: correct stale css::crack comment reference to css::crack_key

This commit is contained in:
Matthew Jackson
2026-06-24 04:57:47 -07:00
parent 06ee748689
commit c706a94312
+1 -1
View File
@@ -1636,7 +1636,7 @@ impl Disc {
// path in `Disc::scan` (which has `&mut Drive`), AFTER this function // path in `Disc::scan` (which has `&mut Drive`), AFTER this function
// returns. We deliberately do NOT run the reader-based crack path here: // returns. We deliberately do NOT run the reader-based crack path here:
// it is non-functional against this crate's descrambler (always returns // it is non-functional against this crate's descrambler (always returns
// None — see `css::crack`), and on a CSS-protected disc it would scan up // None — see `css::crack_key`), and on a CSS-protected disc it would scan up
// to 50,000 scrambled sectors one-by-one, each rejected by the drive // to 50,000 scrambled sectors one-by-one, each rejected by the drive
// with sense 05/6F/03 ("read of scrambled sector without // with sense 05/6F/03 ("read of scrambled sector without
// authentication") — roughly an hour of failing reads before the real // authentication") — roughly an hour of failing reads before the real