Skip to content

Commit

Permalink
Merge pull request #680 from levitte/tomcrypt_private-stdarg
Browse files Browse the repository at this point in the history
  • Loading branch information
sjaeckel authored Jan 21, 2025
2 parents 2e9f2b5 + 2fd160e commit 427e055
Show file tree
Hide file tree
Showing 18 changed files with 1 addition and 19 deletions.
1 change: 0 additions & 1 deletion src/encauth/siv/siv.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
/* SPDX-License-Identifier: Unlicense */
#include "tomcrypt_private.h"
#include <stdarg.h>

/**
@file siv.c
Expand Down
1 change: 0 additions & 1 deletion src/hashes/helper/hash_memory_multi.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
/* SPDX-License-Identifier: Unlicense */
#include "tomcrypt_private.h"
#include <stdarg.h>

#ifdef LTC_HASH_HELPERS
/**
Expand Down
1 change: 1 addition & 0 deletions src/headers/tomcrypt_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
/* SPDX-License-Identifier: Unlicense */

#include "tomcrypt.h"
#include <stdarg.h>

/*
* Internal Macros
Expand Down
1 change: 0 additions & 1 deletion src/mac/blake2/blake2bmac_memory_multi.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/* SPDX-License-Identifier: Unlicense */

#include "tomcrypt_private.h"
#include <stdarg.h>

#ifdef LTC_BLAKE2BMAC

Expand Down
1 change: 0 additions & 1 deletion src/mac/blake2/blake2smac_memory_multi.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/* SPDX-License-Identifier: Unlicense */

#include "tomcrypt_private.h"
#include <stdarg.h>

#ifdef LTC_BLAKE2SMAC

Expand Down
1 change: 0 additions & 1 deletion src/mac/f9/f9_memory_multi.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
/* SPDX-License-Identifier: Unlicense */
#include "tomcrypt_private.h"
#include <stdarg.h>

/**
@file f9_memory_multi.c
Expand Down
1 change: 0 additions & 1 deletion src/mac/hmac/hmac_memory_multi.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
/* SPDX-License-Identifier: Unlicense */
#include "tomcrypt_private.h"
#include <stdarg.h>

/**
@file hmac_memory_multi.c
Expand Down
1 change: 0 additions & 1 deletion src/mac/omac/omac_memory_multi.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
/* SPDX-License-Identifier: Unlicense */
#include "tomcrypt_private.h"
#include <stdarg.h>

/**
@file omac_memory_multi.c
Expand Down
1 change: 0 additions & 1 deletion src/mac/pmac/pmac_memory_multi.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
/* SPDX-License-Identifier: Unlicense */
#include "tomcrypt_private.h"
#include <stdarg.h>

/**
@file pmac_memory_multi.c
Expand Down
1 change: 0 additions & 1 deletion src/mac/poly1305/poly1305_memory_multi.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
*/

#include "tomcrypt_private.h"
#include <stdarg.h>

#ifdef LTC_POLY1305

Expand Down
1 change: 0 additions & 1 deletion src/mac/xcbc/xcbc_memory_multi.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
/* SPDX-License-Identifier: Unlicense */
#include "tomcrypt_private.h"
#include <stdarg.h>

/**
@file xcbc_memory_multi.c
Expand Down
2 changes: 0 additions & 2 deletions src/math/multi.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
#include "tomcrypt_private.h"

#ifdef LTC_MPI
#include <stdarg.h>

int ltc_init_multi(void **a, ...)
{
void **cur = a;
Expand Down
1 change: 0 additions & 1 deletion src/misc/crypt/crypt_fsa.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
/* SPDX-License-Identifier: Unlicense */
#include "tomcrypt_private.h"
#include <stdarg.h>

/**
@file crypt_fsa.c
Expand Down
1 change: 0 additions & 1 deletion src/misc/ssh/ssh_decode_sequence_multi.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
/* SPDX-License-Identifier: Unlicense */
#include "tomcrypt_private.h"
#include <stdarg.h>

/**
@file ssh_decode_sequence_multi.c
Expand Down
1 change: 0 additions & 1 deletion src/misc/ssh/ssh_encode_sequence_multi.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
/* SPDX-License-Identifier: Unlicense */
#include "tomcrypt_private.h"
#include <stdarg.h>

/**
@file ssh_encode_sequence_multi.c
Expand Down
1 change: 0 additions & 1 deletion src/pk/asn1/der/sequence/der_decode_sequence_multi.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
/* SPDX-License-Identifier: Unlicense */
#include "tomcrypt_private.h"
#include <stdarg.h>


/**
Expand Down
1 change: 0 additions & 1 deletion src/pk/asn1/der/sequence/der_encode_sequence_multi.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
/* SPDX-License-Identifier: Unlicense */
#include "tomcrypt_private.h"
#include <stdarg.h>


/**
Expand Down
2 changes: 0 additions & 2 deletions src/pk/rsa/rsa_key.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
*/

#ifdef LTC_MRSA
#include <stdarg.h>

static void s_mpi_shrink_multi(void **a, ...)
{
void **cur;
Expand Down

0 comments on commit 427e055

Please sign in to comment.