mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Windows Security: Add new entry point in driver that allows emergency clearing of all encryption keys from memory. This entry point requires administrative privileges and it will caused BSDO when system encryption is active. It can be useful for example to applications that monitors physical access to the machine and which need to erase sensitive key material from RAM when unauthorized access is detected.
This commit is contained in:
@@ -2507,6 +2507,11 @@ NTSTATUS ProcessMainDeviceControlIrp (PDEVICE_OBJECT DeviceObject, PEXTENSION Ex
|
||||
}
|
||||
break;
|
||||
|
||||
case VC_IOCTL_EMERGENCY_CLEAR_ALL_KEYS:
|
||||
EmergencyClearAllKeys (Irp, irpSp);
|
||||
WipeCache();
|
||||
break;
|
||||
|
||||
case TC_IOCTL_BOOT_ENCRYPTION_SETUP:
|
||||
Irp->IoStatus.Status = StartBootEncryptionSetup (DeviceObject, Irp, irpSp);
|
||||
Irp->IoStatus.Information = 0;
|
||||
|
||||
Reference in New Issue
Block a user