mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-23 09:59:42 +00:00
Whitespace check-in
This commit is contained in:
parent
fc5019a89e
commit
71ce30f75f
@ -1,8 +1,8 @@
|
||||
#include <cstdint>
|
||||
#include <immintrin.h>
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
uint64_t x[8] = {0};
|
||||
__m512i y = _mm512_loadu_si512((__m512i*)x);
|
||||
return 0;
|
||||
}
|
||||
#include <stdint.h>
|
||||
#include <immintrin.h>
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
uint64_t x[8] = {0};
|
||||
__m512i y = _mm512_loadu_si512((__m512i*)x);
|
||||
return 0;
|
||||
}
|
||||
|
42
cryptlib.cpp
42
cryptlib.cpp
@ -995,31 +995,29 @@ public:
|
||||
};
|
||||
|
||||
#if HAVE_GCC_INIT_PRIORITY
|
||||
CRYPTOPP_COMPILE_ASSERT(CRYPTOPP_INIT_PRIORITY >= 101);
|
||||
const std::string DEFAULT_CHANNEL __attribute__ ((init_priority (CRYPTOPP_INIT_PRIORITY + 25))) = "";
|
||||
const std::string AAD_CHANNEL __attribute__ ((init_priority (CRYPTOPP_INIT_PRIORITY + 26))) = "AAD";
|
||||
const NullNameValuePairs s_nullNameValuePairs __attribute__ ((init_priority (CRYPTOPP_INIT_PRIORITY + 27)));
|
||||
const NameValuePairs& g_nullNameValuePairs = s_nullNameValuePairs;
|
||||
const std::string DEFAULT_CHANNEL __attribute__ ((init_priority (CRYPTOPP_INIT_PRIORITY + 25))) = "";
|
||||
const std::string AAD_CHANNEL __attribute__ ((init_priority (CRYPTOPP_INIT_PRIORITY + 26))) = "AAD";
|
||||
const NullNameValuePairs s_nullNameValuePairs __attribute__ ((init_priority (CRYPTOPP_INIT_PRIORITY + 27)));
|
||||
const NameValuePairs& g_nullNameValuePairs = s_nullNameValuePairs;
|
||||
#elif HAVE_MSC_INIT_PRIORITY
|
||||
#pragma warning(disable: 4073)
|
||||
#pragma init_seg(lib)
|
||||
const std::string DEFAULT_CHANNEL = "";
|
||||
const std::string AAD_CHANNEL = "AAD";
|
||||
const NullNameValuePairs s_nullNameValuePairs;
|
||||
const NameValuePairs& g_nullNameValuePairs = s_nullNameValuePairs;
|
||||
#pragma warning(default: 4073)
|
||||
#pragma warning(disable: 4073)
|
||||
#pragma init_seg(lib)
|
||||
const std::string DEFAULT_CHANNEL = "";
|
||||
const std::string AAD_CHANNEL = "AAD";
|
||||
const NullNameValuePairs s_nullNameValuePairs;
|
||||
const NameValuePairs& g_nullNameValuePairs = s_nullNameValuePairs;
|
||||
#pragma warning(default: 4073)
|
||||
#elif HAVE_XLC_INIT_PRIORITY
|
||||
#pragma priority(260)
|
||||
const std::string DEFAULT_CHANNEL = "";
|
||||
const std::string AAD_CHANNEL = "AAD";
|
||||
const NullNameValuePairs s_nullNameValuePairs;
|
||||
const NameValuePairs& g_nullNameValuePairs = s_nullNameValuePairs;
|
||||
#pragma priority(260)
|
||||
const std::string DEFAULT_CHANNEL = "";
|
||||
const std::string AAD_CHANNEL = "AAD";
|
||||
const NullNameValuePairs s_nullNameValuePairs;
|
||||
const NameValuePairs& g_nullNameValuePairs = s_nullNameValuePairs;
|
||||
#else
|
||||
static const std::string s1(""), s2("AAD");
|
||||
const std::string DEFAULT_CHANNEL = s1;
|
||||
const std::string AAD_CHANNEL = s2;
|
||||
const simple_ptr<NullNameValuePairs> s_pNullNameValuePairs(new NullNameValuePairs);
|
||||
const NameValuePairs &g_nullNameValuePairs = *s_pNullNameValuePairs.m_p;
|
||||
const std::string DEFAULT_CHANNEL = "";
|
||||
const std::string AAD_CHANNEL = "AAD";
|
||||
const simple_ptr<NullNameValuePairs> s_pNullNameValuePairs(new NullNameValuePairs);
|
||||
const NameValuePairs &g_nullNameValuePairs = *s_pNullNameValuePairs.m_p;
|
||||
#endif
|
||||
|
||||
NAMESPACE_END // CryptoPP
|
||||
|
Loading…
Reference in New Issue
Block a user