Age | Commit message (Collapse) | Author | Files | Lines | |||||
---|---|---|---|---|---|---|---|---|---|
2018-03-27 | Increment version to 1.22-BETA7 (1.22.7) | Mounir IDRASSI | 1 | -1/+1 | |||||
2018-03-25 | Increment version to 1.22-BETA6 (1.22.6) | Mounir IDRASSI | 1 | -1/+1 | |||||
2018-03-22 | Increment version to 1.22-BETA5 (1.22.5) | Mounir IDRASSI | 1 | -1/+1 | |||||
2017-12-09 | Increment version to 1.22-BETA4 (1.22.4) | Mounir IDRASSI | 1 | -1/+1 | |||||
2017-07-10 | FreeBSD: make official FreeBSD build script executableVeraCrypt_1.21 | Mounir IDRASSI | 1 | -0/+0 | |||||
2017-07-10 | FreeBSD: enable wxWidgets static build by default in official build script | Mounir IDRASSI | 1 | -4/+4 | |||||
2017-07-10 | Add support for building under FreeBSD 11 | Mounir IDRASSI | 1 | -0/+48 | |||||
2017-07-09 | Increment version to 1.21.5 | Mounir IDRASSI | 1 | -1/+1 | |||||
2017-07-05 | Increment version to 1.21.4 | Mounir IDRASSI | 1 | -1/+1 | |||||
2017-07-04 | Increment version to 1.21.3 | Mounir IDRASSI | 1 | -1/+1 | |||||
2017-07-02 | Increment version to 1.21 (1.21.1) | Mounir IDRASSI | 1 | -1/+1 | |||||
2017-06-29 | MacOSX: put back full wxWidgets build in official build script. | Mounir IDRASSI | 1 | -3/+2</*
* Non-physical true random number generator based on timing jitter.
*
* Copyright Stephan Mueller <smueller@chronox.de>, 2014
*
* License
* =======
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, and the entire permission notice in its entirety,
* including the disclaimer of warranties.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. The name of the author may not be used to endorse or promote
* products derived from this software without specific prior
* written permission.
*
* ALTERNATIVELY, this product may be distributed under the terms of
* the GNU General Public License, in which case the provisions of the GPL are
* required INSTEAD OF the above restrictions. (This clause is
* necessary due to a potential bad interaction between the GPL and
* the restrictions contained in a BSD-style copyright.)
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF
* WHICH ARE HEREBY DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
* USE OF THIS SOFTWARE, EVEN IF NOT ADVISED OF THE POSSIBILITY OF SUCH
* DAMAGE.
*/
/* Adapted for VeraCrypt */
#ifndef _JITTERENTROPY_H
#define _JITTERENTROPY_H
#include "jitterentropy-base-user.h"
/* The entropy pool */
struct rand_data
{
/* all data values that are vital to maintain the security
* of the RNG are marked as SENSITIVE. A user must not
* access that information while the RNG executes its loops to
* calculate the next random value. */
uint64_t data; /* SENSITIVE Actual random number */
uint64_t old_data; /* SENSITIVE Previous random number */
uint64_t prev_time; /* SENSITIVE Previous time stamp */
#define DATA_SIZE_BITS ((sizeof(uint64_t)) * 8)
uint64_t last_delta; /* SENSITIVE stuck test */
int64_t last_delta2; /* SENSITIVE stuck test */
unsigned int osr; /* Oversample rate */
int fips_enabled; /* FIPS enabled? */
unsigned int stir:1; /* Post-processing stirring */
unsigned int disable_unbias:1; /* Deactivate Von-Neuman unbias */
#define JENT_MEMORY_BLOCKS 64
#define JENT_MEMORY_BLOCKSIZE 32
#define JENT_MEMORY_ACCESSLOOPS 128
#define JENT_MEMORY_SIZE (JENT_MEMORY_BLOCKS*JENT_MEMORY_BLOCKSIZE)
unsigned char *mem | |||||
2015-09-26 | Increment version to 1.15. Update user guide PDF file.VeraCrypt_1.15 | Mounir IDRASSI | 1 | -1/+1 | |||||
2015-09-16 | Increment version to 1.14. Update user guide PDF file.VeraCrypt_1.14 | Mounir IDRASSI | 1 | -1/+1 | |||||
2015-08-09 | Increment version to 1.13VeraCrypt_1.13 | Mounir IDRASSI | 1 | -1/+1 | |||||
2015-08-06 | Linux: modify official build script to use different build directories for ↵VeraCrypt_1.12 | Mounir IDRASSI | 1 | -3/+14 | |||||
wxWidgets console and GUI builds. | |||||||||
2015-08-06 | Increment version to 1.12. Update user guide PDF file. | Mounir IDRASSI | 1 | -1/+1 | |||||
2015-08-06 | Update license information to reflect the use of a dual license Apache 2.0 ↵ | Mounir IDRASSI | 3 | -4/+22 | |||||
and TrueCrypt 3.0. | |||||||||
2015-04-06 | MacOSX: Set properly the version in the bundle and the installation package. ↵VeraCrypt_1.0f-2 | Mounir IDRASSI | 1 | -2/+2 | |||||
Allow downgrading using older installers. | |||||||||
2014-11-08 | MacOSX: add shell script to perform build under MacOSXVeraCrypt_MacOSX_1.0f-BETAVeraCrypt_Linux_1.0f-BETAVeraCrypt_1.0f-BETA | Mounir IDRASSI | 1 | -0/+24 | |||||
2014-11-08 | Linux: Add shell script to perform VeraCrypt full build | Mounir IDRASSI | 1 | -0/+29 | |||||
2014-11-08 | MacOSX : Correct issue of compiling assembly files in both 32-bit and 64-bit ↵ | Mounir IDRASSI | 1 | -5/+12 | |||||
mode. Modify Makefiles to correct compilation process using latest Xcode. | |||||||||
2014-11-08 | MacOSX : add nasm binary to be used instead of the native one because of the ↵ | Mounir IDRASSI | 1 | -0/+0 | |||||
limitations of the version shipped by Apple | |||||||||
2014-11-08 | Replace TrueCrypt references in added sources and resources by VeraCrypt ones. | Mounir IDRASSI | 1 | -5/+5 | |||||
2014-11-08 | Add TrueCrypt 7.1a MacOSX/Linux specific source files. | Mounir IDRASSI | 2 | -0/+102 | |||||