Fixes for compilation under Linux
This commit is contained in:
parent
aea5479646
commit
e2cf7087fc
|
@ -3,6 +3,8 @@
|
|||
#include <sstream>
|
||||
#include <boost/format.hpp>
|
||||
#include <iostream>
|
||||
#include <stdio.h>
|
||||
#include <memory.h>
|
||||
|
||||
extern "C" {
|
||||
#include "des.h"
|
||||
|
@ -182,7 +184,7 @@ public:
|
|||
generate(3 * 8); // Use remaining 3 bytes for LC
|
||||
}
|
||||
|
||||
unsigned long long generate(size_t count) // 1..64
|
||||
uint64_t generate(size_t count) // 1..64
|
||||
{
|
||||
unsigned long long ullCurrent = swap_bytes(m_ks);
|
||||
const int max_len = 64;
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#ifndef INCLUDED_CRYPTO_H
|
||||
#define INCLUDED_CRYPTO_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
#include <boost/shared_ptr.hpp>
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#include <boost/format.hpp>
|
||||
#include <sstream>
|
||||
#include <stdio.h>
|
||||
|
||||
crypto_module_du_handler::crypto_module_du_handler(data_unit_handler_sptr next, crypto_module::sptr crypto_mod)
|
||||
: data_unit_handler(next)
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
#include <iomanip>
|
||||
#include <sstream>
|
||||
#include <boost/format.hpp>
|
||||
#include <stdio.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#include "ldu.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include <itpp/base/vec.h>
|
||||
#include <itpp/base/mat.h>
|
||||
#include <itpp/base/binary.h>
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
#include <map>
|
||||
#include <iostream>
|
||||
#include <boost/format.hpp>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <itpp/base/vec.h>
|
||||
#include <itpp/base/mat.h>
|
||||
|
|
Loading…
Reference in New Issue