Browse Source

Merge pull request #680 from levitte/tomcrypt_private-stdarg

Steffen Jaeckel 8 months ago
parent
commit
427e0551c0

+ 0 - 1
src/encauth/siv/siv.c

@@ -1,7 +1,6 @@
 /* LibTomCrypt, modular cryptographic library -- Tom St Denis */
 /* LibTomCrypt, modular cryptographic library -- Tom St Denis */
 /* SPDX-License-Identifier: Unlicense */
 /* SPDX-License-Identifier: Unlicense */
 #include "tomcrypt_private.h"
 #include "tomcrypt_private.h"
-#include <stdarg.h>
 
 
 /**
 /**
   @file siv.c
   @file siv.c

+ 0 - 1
src/hashes/helper/hash_memory_multi.c

@@ -1,7 +1,6 @@
 /* LibTomCrypt, modular cryptographic library -- Tom St Denis */
 /* LibTomCrypt, modular cryptographic library -- Tom St Denis */
 /* SPDX-License-Identifier: Unlicense */
 /* SPDX-License-Identifier: Unlicense */
 #include "tomcrypt_private.h"
 #include "tomcrypt_private.h"
-#include <stdarg.h>
 
 
 #ifdef LTC_HASH_HELPERS
 #ifdef LTC_HASH_HELPERS
 /**
 /**

+ 1 - 0
src/headers/tomcrypt_private.h

@@ -2,6 +2,7 @@
 /* SPDX-License-Identifier: Unlicense */
 /* SPDX-License-Identifier: Unlicense */
 
 
 #include "tomcrypt.h"
 #include "tomcrypt.h"
+#include <stdarg.h>
 
 
 /*
 /*
  * Internal Macros
  * Internal Macros

+ 0 - 1
src/mac/blake2/blake2bmac_memory_multi.c

@@ -2,7 +2,6 @@
 /* SPDX-License-Identifier: Unlicense */
 /* SPDX-License-Identifier: Unlicense */
 
 
 #include "tomcrypt_private.h"
 #include "tomcrypt_private.h"
-#include <stdarg.h>
 
 
 #ifdef LTC_BLAKE2BMAC
 #ifdef LTC_BLAKE2BMAC
 
 

+ 0 - 1
src/mac/blake2/blake2smac_memory_multi.c

@@ -2,7 +2,6 @@
 /* SPDX-License-Identifier: Unlicense */
 /* SPDX-License-Identifier: Unlicense */
 
 
 #include "tomcrypt_private.h"
 #include "tomcrypt_private.h"
-#include <stdarg.h>
 
 
 #ifdef LTC_BLAKE2SMAC
 #ifdef LTC_BLAKE2SMAC
 
 

+ 0 - 1
src/mac/f9/f9_memory_multi.c

@@ -1,7 +1,6 @@
 /* LibTomCrypt, modular cryptographic library -- Tom St Denis */
 /* LibTomCrypt, modular cryptographic library -- Tom St Denis */
 /* SPDX-License-Identifier: Unlicense */
 /* SPDX-License-Identifier: Unlicense */
 #include "tomcrypt_private.h"
 #include "tomcrypt_private.h"
-#include <stdarg.h>
 
 
 /**
 /**
   @file f9_memory_multi.c
   @file f9_memory_multi.c

+ 0 - 1
src/mac/hmac/hmac_memory_multi.c

@@ -1,7 +1,6 @@
 /* LibTomCrypt, modular cryptographic library -- Tom St Denis */
 /* LibTomCrypt, modular cryptographic library -- Tom St Denis */
 /* SPDX-License-Identifier: Unlicense */
 /* SPDX-License-Identifier: Unlicense */
 #include "tomcrypt_private.h"
 #include "tomcrypt_private.h"
-#include <stdarg.h>
 
 
 /**
 /**
   @file hmac_memory_multi.c
   @file hmac_memory_multi.c

+ 0 - 1
src/mac/omac/omac_memory_multi.c

@@ -1,7 +1,6 @@
 /* LibTomCrypt, modular cryptographic library -- Tom St Denis */
 /* LibTomCrypt, modular cryptographic library -- Tom St Denis */
 /* SPDX-License-Identifier: Unlicense */
 /* SPDX-License-Identifier: Unlicense */
 #include "tomcrypt_private.h"
 #include "tomcrypt_private.h"
-#include <stdarg.h>
 
 
 /**
 /**
   @file omac_memory_multi.c
   @file omac_memory_multi.c

+ 0 - 1
src/mac/pmac/pmac_memory_multi.c

@@ -1,7 +1,6 @@
 /* LibTomCrypt, modular cryptographic library -- Tom St Denis */
 /* LibTomCrypt, modular cryptographic library -- Tom St Denis */
 /* SPDX-License-Identifier: Unlicense */
 /* SPDX-License-Identifier: Unlicense */
 #include "tomcrypt_private.h"
 #include "tomcrypt_private.h"
-#include <stdarg.h>
 
 
 /**
 /**
    @file pmac_memory_multi.c
    @file pmac_memory_multi.c

+ 0 - 1
src/mac/poly1305/poly1305_memory_multi.c

@@ -7,7 +7,6 @@
  */
  */
 
 
 #include "tomcrypt_private.h"
 #include "tomcrypt_private.h"
-#include <stdarg.h>
 
 
 #ifdef LTC_POLY1305
 #ifdef LTC_POLY1305
 
 

+ 0 - 1
src/mac/xcbc/xcbc_memory_multi.c

@@ -1,7 +1,6 @@
 /* LibTomCrypt, modular cryptographic library -- Tom St Denis */
 /* LibTomCrypt, modular cryptographic library -- Tom St Denis */
 /* SPDX-License-Identifier: Unlicense */
 /* SPDX-License-Identifier: Unlicense */
 #include "tomcrypt_private.h"
 #include "tomcrypt_private.h"
-#include <stdarg.h>
 
 
 /**
 /**
   @file xcbc_memory_multi.c
   @file xcbc_memory_multi.c

+ 0 - 2
src/math/multi.c

@@ -3,8 +3,6 @@
 #include "tomcrypt_private.h"
 #include "tomcrypt_private.h"
 
 
 #ifdef LTC_MPI
 #ifdef LTC_MPI
-#include <stdarg.h>
-
 int ltc_init_multi(void **a, ...)
 int ltc_init_multi(void **a, ...)
 {
 {
    void    **cur = a;
    void    **cur = a;

+ 0 - 1
src/misc/crypt/crypt_fsa.c

@@ -1,7 +1,6 @@
 /* LibTomCrypt, modular cryptographic library -- Tom St Denis */
 /* LibTomCrypt, modular cryptographic library -- Tom St Denis */
 /* SPDX-License-Identifier: Unlicense */
 /* SPDX-License-Identifier: Unlicense */
 #include "tomcrypt_private.h"
 #include "tomcrypt_private.h"
-#include <stdarg.h>
 
 
 /**
 /**
   @file crypt_fsa.c
   @file crypt_fsa.c

+ 0 - 1
src/misc/ssh/ssh_decode_sequence_multi.c

@@ -1,7 +1,6 @@
 /* LibTomCrypt, modular cryptographic library -- Tom St Denis */
 /* LibTomCrypt, modular cryptographic library -- Tom St Denis */
 /* SPDX-License-Identifier: Unlicense */
 /* SPDX-License-Identifier: Unlicense */
 #include "tomcrypt_private.h"
 #include "tomcrypt_private.h"
-#include <stdarg.h>
 
 
 /**
 /**
    @file ssh_decode_sequence_multi.c
    @file ssh_decode_sequence_multi.c

+ 0 - 1
src/misc/ssh/ssh_encode_sequence_multi.c

@@ -1,7 +1,6 @@
 /* LibTomCrypt, modular cryptographic library -- Tom St Denis */
 /* LibTomCrypt, modular cryptographic library -- Tom St Denis */
 /* SPDX-License-Identifier: Unlicense */
 /* SPDX-License-Identifier: Unlicense */
 #include "tomcrypt_private.h"
 #include "tomcrypt_private.h"
-#include <stdarg.h>
 
 
 /**
 /**
    @file ssh_encode_sequence_multi.c
    @file ssh_encode_sequence_multi.c

+ 0 - 1
src/pk/asn1/der/sequence/der_decode_sequence_multi.c

@@ -1,7 +1,6 @@
 /* LibTomCrypt, modular cryptographic library -- Tom St Denis */
 /* LibTomCrypt, modular cryptographic library -- Tom St Denis */
 /* SPDX-License-Identifier: Unlicense */
 /* SPDX-License-Identifier: Unlicense */
 #include "tomcrypt_private.h"
 #include "tomcrypt_private.h"
-#include <stdarg.h>
 
 
 
 
 /**
 /**

+ 0 - 1
src/pk/asn1/der/sequence/der_encode_sequence_multi.c

@@ -1,7 +1,6 @@
 /* LibTomCrypt, modular cryptographic library -- Tom St Denis */
 /* LibTomCrypt, modular cryptographic library -- Tom St Denis */
 /* SPDX-License-Identifier: Unlicense */
 /* SPDX-License-Identifier: Unlicense */
 #include "tomcrypt_private.h"
 #include "tomcrypt_private.h"
-#include <stdarg.h>
 
 
 
 
 /**
 /**

+ 0 - 2
src/pk/rsa/rsa_key.c

@@ -9,8 +9,6 @@
 */
 */
 
 
 #ifdef LTC_MRSA
 #ifdef LTC_MRSA
-#include <stdarg.h>
-
 static void s_mpi_shrink_multi(void **a, ...)
 static void s_mpi_shrink_multi(void **a, ...)
 {
 {
    void **cur;
    void **cur;