/* BLAKE2 reference source code package - optimized C implementations Copyright 2012, Samuel Neves . You may use this under the terms of the CC0, the OpenSSL Licence, or the Apache Public License 2.0, at your option. The terms of these licenses can be found at: - CC0 1.0 Universal : http://creativecommons.org/publicdomain/zero/1.0 - OpenSSL license : https://www.openssl.org/source/license.html - Apache 2.0 : http://www.apache.org/licenses/LICENSE-2.0 More information about the BLAKE2 hash function can be found at https://blake2.net. */ /* Adapted for VeraCrypt */ #include "blake2.h" #include "Common/Endian.h" #include "Crypto/config.h" #include "Crypto/cpu.h" #include "Crypto/misc.h" #if CRYPTOPP_BOOL_SSE2_INTRINSICS_AVAILABLE #include "blake2s-round.h" int blake2s_has_sse2() { return 1; } #else int blake2s_has_sse2() { return 0; } #endif href="/en/Home.html">Home
  • Source Code
  • Downloads
  • Documentation
  • Donate
  • Forums
  • aboutsummaryrefslogtreecommitdiff
    blob: 418328fcfefb57b6ab1518c37deea5f9280fee80 (plain)
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    
    /*
     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.
    */
    
    #ifndef TC_HEADER_Volume_VolumeSlot
    #define TC_HEADER_Volume_VolumeSlot
    
    #include "Platform/Platform.h"
    
    namespace VeraCrypt
    {
    	typedef uint32 VolumeSlotNumber;
    }
    
    #endif // TC_HEADER_Volume_VolumeSlot