VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Boot/Windows/Rescue_Serpent_SHA2
AgeCommit message (Expand)AuthorFilesLines
2024-11-20Windows driver: use correct WDM type. Increment version to 1.26.17Mounir IDRASSI1-0/+0
2024-11-18Increment version to 1.26.16. Update Release Notes. Update signed Windows dri...Mounir IDRASSI1-0/+0
2024-09-01Windows: Fix MSI not installing all new documentation file. Remove old files ...Mounir IDRASSI1-0/+0
2024-08-25Increment version to 1.26.14. Set release date to August 25th.Mounir IDRASSI1-0/+0
2024-08-02Increment version to 1.26.13. Update release notes. Update signed Windows dri...Mounir IDRASSI1-0/+0
2023-11-09Update MBR bootloader to 1.26.10 versionMounir IDRASSI1-0/+0
2023-10-11Increment version to 1.26.9Mounir IDRASSI1-0/+0
2023-10-10Increment version to 1.26.8Mounir IDRASSI1-0/+0
2023-09-30Windows: Update MBR bootloader for version 1.26.7Mounir IDRASSI1-0/+0
2023-09-21Update Release Notes. Increment version to 1.26.6.Mounir IDRASSI1-0/+0
2023-08-15Windows: Update MBR bootloader files to 1.26.5 buildMounir IDRASSI1-0/+0
2022-03-21Increment version to 1.26 and update windows driver and MBR bootloader filesMounir IDRASSI1-0/+0
2022-02-19Increment version to 1.25.9 and update Release Notes.Mounir IDRASSI1-0/+0
2022-02-05Windows: Update MBR bootloader files.Mounir IDRASSI1-0/+0
2022-01-07Increment version to 1.25.7 and update Release NotesMounir IDRASSI1-0/+0
2021-12-28Windows: Update precompiled MBR bootloader files for version 1.25.6Mounir IDRASSI1-0/+0
2021-12-20Increment version to 1.25.5 and update release notesMounir IDRASSI1-0/+0
2021-12-02Windows: Add pre-compiled MBR bootloader binaries for version 1.25.4 to make ...VeraCrypt_1.25.4Mounir IDRASSI1-0/+0
2021-11-28Windows: Add pre-compiled MBR bootloader binaries for version 1.25 to make it...Mounir IDRASSI2-0/+0
lass="cm">/* Derived from source code of TrueCrypt 7.1a, which is Copyright (c) 2008-2012 TrueCrypt Developers Association and which is governed by the TrueCrypt License 3.0. Modifications and additions to the original source code (contained in this file) and all other portions of this file are Copyright (c) 2013-2016 IDRIX and are governed by the Apache License 2.0 the full text of which is contained in the file License.txt included in VeraCrypt binary and source code distribution packages. */ #include <unistd.h> #include "Pipe.h" #include "Platform/SystemException.h" namespace VeraCrypt { Pipe::Pipe () { int fd[2]; throw_sys_if (pipe (fd) == -1); ReadFileDescriptor = fd[0]; WriteFileDescriptor = fd[1]; } Pipe::~Pipe () { try { Close(); } catch (...) { } } void Pipe::Close () { if (ReadFileDescriptor != -1) close (ReadFileDescriptor); if (WriteFileDescriptor != -1) close (WriteFileDescriptor); } int Pipe::GetReadFD () { assert (ReadFileDescriptor != -1); if (WriteFileDescriptor != -1) { close (WriteFileDescriptor); WriteFileDescriptor = -1; } return ReadFileDescriptor; } int Pipe::GetWriteFD () { assert (WriteFileDescriptor != -1); if (ReadFileDescriptor != -1) { close (ReadFileDescriptor); ReadFileDescriptor = -1; } return WriteFileDescriptor; } }