VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Driver
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2014-10-14 17:14:54 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-11-08 23:23:53 +0100
commit68f16dae244752e8bdf112e8feeb6a0839088a3e (patch)
tree94b1f5ab11b4d08661d838704bf08c14eb2e46a4 /src/Driver
parentf38cf0b6943da24c802424f53588b54aada48fd8 (diff)
downloadVeraCrypt-68f16dae244752e8bdf112e8feeb6a0839088a3e.tar.gz
VeraCrypt-68f16dae244752e8bdf112e8feeb6a0839088a3e.zip
Implement support for creating and booting encrypted partition using SHA-256. Support SHA-256 for normal volumes as well.
Diffstat (limited to 'src/Driver')
-rw-r--r--src/Driver/DriveFilter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Driver/DriveFilter.c b/src/Driver/DriveFilter.c
index 26fed73d..3d50d3d8 100644
--- a/src/Driver/DriveFilter.c
+++ b/src/Driver/DriveFilter.c
@@ -1621,6 +1621,7 @@ void GetBootEncryptionAlgorithmName (PIRP irp, PIO_STACK_LOCATION irpSp)
{
GetBootEncryptionAlgorithmNameRequest *request = (GetBootEncryptionAlgorithmNameRequest *) irp->AssociatedIrp.SystemBuffer;
EAGetName (request->BootEncryptionAlgorithmName, BootDriveFilterExtension->Queue.CryptoInfo->ea);
+ HashGetName2 (request->BootPrfAlgorithmName, BootDriveFilterExtension->Queue.CryptoInfo->pkcs5);
irp->IoStatus.Information = sizeof (GetBootEncryptionAlgorithmNameRequest);
irp->IoStatus.Status = STATUS_SUCCESS;