Recent Commits to VeraCrypt:master

  • 08/09/2025 0:14

    Windows driver: simplify TCSleep to use KeDelayExecutionThread

    Windows driver: simplify TCSleep to use KeDelayExecutionThread
    
    Replace timer-based TCSleep (which allocated a KTIMER and waited on it) with an
    implementation that calls KeDelayExecutionThread. This removes dynamic allocation
    and kernel timer usage to simplify the code and reduce resource overhead.
    Adds an IRQL <= APC_LEVEL assertion and documents the requirement.
    
    This is safe because TCSleep is always called from code that runs at PASSIVE_LEVEL

Log in