@@ -6,7 +6,7 @@
* The library is free for all purposes without any express
* guarantee it works.
*/
-#include <tomcrypt.h>
+#include "tomcrypt_private.h"
#if defined(_WIN32)
#define PRI64 "I64d"
void hash_gen(void)
{
@@ -28,7 +28,7 @@
Implementation of AES
-#include "tomcrypt.h"
#ifdef LTC_RIJNDAEL
@@ -13,7 +13,7 @@
Authors: Paulo S.L.M. Barreto and Vincent Rijmen.
#ifdef LTC_ANUBIS
@@ -10,7 +10,7 @@
@file blowfish.c
Implementation of the Blowfish block cipher, Tom St Denis
#ifdef LTC_BLOWFISH
@@ -12,7 +12,7 @@
Implementation by Tom St Denis of Elliptic Semiconductor
#ifdef LTC_CAMELLIA
@@ -11,7 +11,7 @@
@file cast5.c
Implementation of LTC_CAST5 (RFC 2144) by Tom St Denis
#ifdef LTC_CAST5
/**
@file des.c
@@ -22,7 +22,7 @@
and Japan (JP 3225440) (expired May 16, 2011).
#ifdef LTC_IDEA
Derived from the 3GPP standard source code
#ifdef LTC_KASUMI
@file khazad.c
Tom St Denis
#ifdef LTC_KSEED
@file multi2.c
Multi-2 implementation (not public domain, hence the default disable)
#ifdef LTC_MULTI2
@file noekeon.c
Implementation of the Noekeon block cipher by Tom St Denis
#ifdef LTC_NOEKEON
@@ -16,7 +16,7 @@
* Thanks to CodeView, SoftIce, and D86 for helping bring this code to *
* the public. *
\**********************************************************************/
@file rc2.c
LTC_RC5 code by Tom St Denis
#ifdef LTC_RC5
@file rc6.c
LTC_RC6 code by Tom St Denis
#ifdef LTC_RC6
@@ -26,7 +26,7 @@
*
*******************************************************************************/
#ifdef LTC_SAFER
@file saferp.c
LTC_SAFER+ Implementation by Tom St Denis
#ifdef LTC_SAFERP
@@ -15,7 +15,7 @@
https://en.wikipedia.org/wiki/Serpent_(cipher)
#ifdef LTC_SERPENT
@file skipjack.c
Skipjack Implementation by Tom St Denis
#ifdef LTC_SKIPJACK
@file twofish.c
Implementation of Twofish by Tom St Denis
#ifdef LTC_TWOFISH
@file xtea.c
Implementation of LTC_XTEA, Tom St Denis
#ifdef LTC_XTEA
#ifdef LTC_CCM_MODE
@file ccm_memory.c
@file ccm_test.c
@@ -7,7 +7,7 @@
#ifdef LTC_CHACHA20POLY1305_MODE
@file eax_addheader.c
EAX implementation, add meta-data, by Tom St Denis
#ifdef LTC_EAX_MODE
@file eax_decrypt.c
EAX implementation, decrypt block, by Tom St Denis
@file eax_decrypt_verify_memory.c
EAX implementation, decrypt block of memory, by Tom St Denis
@file eax_done.c
EAX implementation, terminate session, by Tom St Denis
@file eax_encrypt.c
EAX implementation, encrypt block by Tom St Denis
@file eax_encrypt_authenticate_memory.c
EAX implementation, encrypt a block of memory, by Tom St Denis
@file eax_init.c
EAX implementation, initialized EAX state, by Tom St Denis
@file eax_test.c
EAX implementation, self-test, by Tom St Denis
@file gcm_add_aad.c
GCM implementation, Add AAD data to the stream, by Tom St Denis
#ifdef LTC_GCM_MODE
@file gcm_add_iv.c
GCM implementation, add IV data to the state, by Tom St Denis
@file gcm_done.c
GCM implementation, Terminate the stream, by Tom St Denis
@file gcm_gf_mult.c
GCM implementation, do the GF mult, by Tom St Denis
#if defined(LTC_GCM_TABLES) || defined(LTC_LRW_TABLES) || ((defined(LTC_GCM_MODE) || defined(LTC_GCM_MODE)) && defined(LTC_FAST))
@file gcm_init.c
GCM implementation, initialize state, by Tom St Denis
@file gcm_memory.c
GCM implementation, process a packet, by Tom St Denis
@file gcm_mult_h.c
#if defined(LTC_GCM_MODE)
@file gcm_process.c
GCM implementation, process message data, by Tom St Denis
@file gcm_reset.c
GCM implementation, reset a used state so it can accept IV data, by Tom St Denis
@file gcm_test.c
GCM implementation, testing, by Tom St Denis
@file ocb_decrypt.c
OCB implementation, decrypt data, by Tom St Denis
#ifdef LTC_OCB_MODE
@file ocb_decrypt_verify_memory.c
OCB implementation, helper to decrypt block of memory, by Tom St Denis
@file ocb_done_decrypt.c
OCB implementation, terminate decryption, by Tom St Denis
@file ocb_done_encrypt.c
OCB implementation, terminate encryption, by Tom St Denis
@file ocb_encrypt.c
OCB implementation, encrypt data, by Tom St Denis
@file ocb_encrypt_authenticate_memory.c
OCB implementation, encrypt block of memory, by Tom St Denis
@file ocb_init.c
OCB implementation, initialize state, by Tom St Denis
OCB implementation, internal function, by Tom St Denis
@file ocb_shift_xor.c
@file ocb_test.c
OCB implementation, self-test by Tom St Denis
@file s_ocb_done.c
OCB implementation, internal helper, by Tom St Denis
@file ocb3_add_aad.c
OCB implementation, add AAD data, by Karel Miko
#ifdef LTC_OCB3_MODE
@file ocb3_decrypt.c
@file ocb3_decrypt_last.c
OCB implementation, internal helper, by Karel Miko
@file ocb3_decrypt_verify_memory.c
@file ocb3_done.c
OCB implementation, INTERNAL ONLY helper, by Tom St Denis
@file ocb3_encrypt.c
@file ocb3_encrypt_authenticate_memory.c
@file ocb3_encrypt_last.c
@file ocb3_init.c
@file ocb3_int_ntz.c
@file ocb3_int_xor_blocks.c
OCB implementation, INTERNAL ONLY helper, by Karel Miko
@file ocb3_test.c
@@ -23,7 +23,7 @@
/* see also https://www.ietf.org/rfc/rfc7693.txt */
#ifdef LTC_BLAKE2B
#ifdef LTC_BLAKE2S
@file chc.c
#ifndef LTC_NO_FILE
#ifdef LTC_HASH_HELPERS
#include <stdarg.h>
@param md2.c
@param md4.c
@param rmd128.c
@file rmd160.c
@param rmd256.c
@file rmd320.c
@file sha1.c
LTC_SHA-224 new NIST standard based off of LTC_SHA-256 truncated to 224 bits (Tom St Denis)
#if defined(LTC_SHA224) && defined(LTC_SHA256)
@file sha256.c
LTC_SHA384 hash included in sha512.c, Tom St Denis
#if defined(LTC_SHA384) && defined(LTC_SHA512)
@param sha512.c