Skip to content

Commit

Permalink
Included "integer.h" in source files with Integer dependencies so mak…
Browse files Browse the repository at this point in the history
…e would rebuild stale object files
  • Loading branch information
noloader committed Jul 30, 2015
1 parent 3ad53d9 commit f61577a
Show file tree
Hide file tree
Showing 28 changed files with 51 additions and 9 deletions.
1 change: 1 addition & 0 deletions algebra.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#define CRYPTOPP_ALGEBRA_H

#include "config.h"
#include "integer.h"
#include "misc.h"

NAMESPACE_BEGIN(CryptoPP)
Expand Down
1 change: 1 addition & 0 deletions algparam.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

#include "cryptlib.h"
#include "smartptr.h"
#include "integer.h"
#include "secblock.h"

#if GCC_DIAGNOSTIC_AWARE
Expand Down
1 change: 1 addition & 0 deletions argnames.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#define CRYPTOPP_ARGNAMES_H

#include "cryptlib.h"
#include "integer.h"

NAMESPACE_BEGIN(CryptoPP)

Expand Down
2 changes: 2 additions & 0 deletions blumshub.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#ifndef CRYPTOPP_BLUMSHUB_H
#define CRYPTOPP_BLUMSHUB_H

#include "config.h"
#include "integer.h"
#include "modarith.h"

NAMESPACE_BEGIN(CryptoPP)
Expand Down
5 changes: 4 additions & 1 deletion datatest.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#include "factory.h"
// datatest.cpp - written and placed in public domain by Wei Dai

#include "config.h"
#include "integer.h"
#include "factory.h"
#include "filters.h"
#include "hex.h"
#include "randpool.h"
Expand Down
2 changes: 2 additions & 0 deletions dsa.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
/** \file
*/

#include "config.h"
#include "integer.h"
#include "gfpcrypt.h"

NAMESPACE_BEGIN(CryptoPP)
Expand Down
2 changes: 2 additions & 0 deletions ec2n.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#ifndef CRYPTOPP_EC2N_H
#define CRYPTOPP_EC2N_H

#include "config.h"
#include "integer.h"
#include "gf2n.h"
#include "eprecomp.h"
#include "smartptr.h"
Expand Down
3 changes: 2 additions & 1 deletion eccrypto.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
/*! \file
*/

#include "pubkey.h"
#include "config.h"
#include "integer.h"
#include "pubkey.h"
#include "asn.h"
#include "hmac.h"
#include "sha.h"
Expand Down
2 changes: 2 additions & 0 deletions ecp.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#ifndef CRYPTOPP_ECP_H
#define CRYPTOPP_ECP_H

#include "config.h"
#include "integer.h"
#include "modarith.h"
#include "eprecomp.h"
#include "smartptr.h"
Expand Down
2 changes: 2 additions & 0 deletions elgamal.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#ifndef CRYPTOPP_ELGAMAL_H
#define CRYPTOPP_ELGAMAL_H

#include "config.h"
#include "integer.h"
#include "modexppc.h"
#include "dsa.h"

Expand Down
1 change: 1 addition & 0 deletions eprecomp.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#ifndef CRYPTOPP_EPRECOMP_H
#define CRYPTOPP_EPRECOMP_H

#include "config.h"
#include "integer.h"
#include "algebra.h"
#include <vector>
Expand Down
3 changes: 2 additions & 1 deletion esign.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
ESIGN signature schemes as defined in IEEE P1363a.
*/

#include "pubkey.h"
#include "config.h"
#include "integer.h"
#include "pubkey.h"
#include "asn.h"

NAMESPACE_BEGIN(CryptoPP)
Expand Down
3 changes: 3 additions & 0 deletions fipsalgt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
#ifndef CRYPTOPP_IMPORTS
#define CRYPTOPP_DEFAULT_NO_DLL
#endif

#include "config.h"
#include "integer.h"
#include "dll.h"
#include "oids.h"
#include "trap.h"
Expand Down
2 changes: 2 additions & 0 deletions gfpcrypt.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
Implementation of schemes based on DL over GF(p)
*/

#include "config.h"
#include "integer.h"
#include "pubkey.h"
#include "modexppc.h"
#include "sha.h"
Expand Down
3 changes: 2 additions & 1 deletion luc.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
/** \file
*/

#include "config.h"
#include "integer.h"
#include "pkcspad.h"
#include "oaep.h"
#include "integer.h"
#include "dh.h"
#include "trap.h"

Expand Down
2 changes: 1 addition & 1 deletion modarith.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
// implementations are in integer.cpp

#include "cryptlib.h"
#include "misc.h"
#include "integer.h"
#include "algebra.h"
#include "misc.h"

NAMESPACE_BEGIN(CryptoPP)

Expand Down
2 changes: 2 additions & 0 deletions modexppc.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#ifndef CRYPTOPP_MODEXPPC_H
#define CRYPTOPP_MODEXPPC_H

#include "cryptlib.h"
#include "integer.h"
#include "modarith.h"
#include "eprecomp.h"
#include "smartptr.h"
Expand Down
2 changes: 2 additions & 0 deletions mqv.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
/** \file
*/

#include "cryptlib.h"
#include "integer.h"
#include "gfpcrypt.h"

NAMESPACE_BEGIN(CryptoPP)
Expand Down
1 change: 1 addition & 0 deletions nbtheory.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#ifndef CRYPTOPP_NBTHEORY_H
#define CRYPTOPP_NBTHEORY_H

#include "cryptlib.h"
#include "integer.h"
#include "algparam.h"

Expand Down
1 change: 1 addition & 0 deletions pubkey.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
The "DL_" prefix means an implementation using group operations (in groups where discrete log is hard).
*/

#include "integer.h"
#include "modarith.h"
#include "filters.h"
#include "eprecomp.h"
Expand Down
1 change: 1 addition & 0 deletions pwdbased.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#define CRYPTOPP_PWDBASED_H

#include "cryptlib.h"
#include "integer.h"
#include "hmac.h"
#include "hrtimer.h"
#include "integer.h"
Expand Down
3 changes: 2 additions & 1 deletion rabin.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
/** \file
*/

#include "cryptlib.h"
#include "integer.h"
#include "oaep.h"
#include "pssr.h"
#include "integer.h"

NAMESPACE_BEGIN(CryptoPP)

Expand Down
2 changes: 2 additions & 0 deletions rsa.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
ciphers and signature schemes as defined in PKCS #1 v2.0.
*/

#include "cryptlib.h"
#include "integer.h"
#include "pubkey.h"
#include "asn.h"
#include "pkcspad.h"
Expand Down
2 changes: 2 additions & 0 deletions rw.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
Rabin-Williams signature schemes as defined in IEEE P1363.
*/

#include "cryptlib.h"
#include "integer.h"
#include "pubkey.h"

NAMESPACE_BEGIN(CryptoPP)
Expand Down
2 changes: 2 additions & 0 deletions validat2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
#include "pch.h"

#define CRYPTOPP_ENABLE_NAMESPACE_WEAK 1
#include "cryptlib.h"
#include "integer.h"
#include "blumshub.h"
#include "rsa.h"
#include "md2.h"
Expand Down
5 changes: 2 additions & 3 deletions validat3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
#include "pch.h"

#define CRYPTOPP_ENABLE_NAMESPACE_WEAK 1
#include "cryptlib.h"
#include "integer.h"
#include "smartptr.h"
#include "crc.h"
#include "adler32.h"
Expand All @@ -12,12 +14,9 @@
#include "sha.h"
#include "tiger.h"
#include "ripemd.h"

#include "hmac.h"
#include "hkdf.h"
#include "ttmac.h"

#include "integer.h"
#include "pwdbased.h"
#include "filters.h"
#include "hex.h"
Expand Down
2 changes: 2 additions & 0 deletions xtr.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
"The XTR public key system" by Arjen K. Lenstra and Eric R. Verheul
*/

#include "cryptlib.h"
#include "integer.h"
#include "modarith.h"
#include "trap.h"

Expand Down
2 changes: 2 additions & 0 deletions xtrcrypt.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
"The XTR public key system" by Arjen K. Lenstra and Eric R. Verheul
*/

#include "cryptlib.h"
#include "integer.h"
#include "xtr.h"

NAMESPACE_BEGIN(CryptoPP)
Expand Down

0 comments on commit f61577a

Please sign in to comment.