"Fossies" - the Fresh Open Source Software Archive

Member "src/Crypto/Aes_hw_cpu.h" (10 Oct 2018, 1021 Bytes) of package /windows/misc/VeraCrypt_1.23-Hotfix-2_Source.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "Aes_hw_cpu.h" see the Fossies "Dox" file reference documentation.

    1 /*
    2  Derived from source code of TrueCrypt 7.1a, which is
    3  Copyright (c) 2008-2012 TrueCrypt Developers Association and which is governed
    4  by the TrueCrypt License 3.0.
    5 
    6  Modifications and additions to the original source code (contained in this file)
    7  and all other portions of this file are Copyright (c) 2013-2017 IDRIX
    8  and are governed by the Apache License 2.0 the full text of which is
    9  contained in the file License.txt included in VeraCrypt binary and source
   10  code distribution packages.
   11 */
   12 
   13 #ifndef TC_HEADER_Crypto_Aes_Hw_Cpu
   14 #define TC_HEADER_Crypto_Aes_Hw_Cpu
   15 
   16 #include "Common/Tcdefs.h"
   17 
   18 #if defined(__cplusplus)
   19 extern "C"
   20 {
   21 #endif
   22 
   23 byte is_aes_hw_cpu_supported ();
   24 void aes_hw_cpu_enable_sse ();
   25 void aes_hw_cpu_decrypt (const byte *ks, byte *data);
   26 void aes_hw_cpu_decrypt_32_blocks (const byte *ks, byte *data);
   27 void aes_hw_cpu_encrypt (const byte *ks, byte *data);
   28 void aes_hw_cpu_encrypt_32_blocks (const byte *ks, byte *data);
   29 
   30 #if defined(__cplusplus)
   31 }
   32 #endif
   33 
   34 #endif // TC_HEADER_Crypto_Aes_Hw_Cpu