mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 00:00:29 +03:00
7b6aa41ca8
* [cpu] remove avx detect and code blocks, try to switch to __builtin * [cpu] use __builtin_* only on x86 systems * [cpu] perform check in separate function * [cpu] set AES definition on MSVC * update x86 and aes support checks at compile time * [cmake] update comment about AES on MSVC
23 lines
342 B
C++
23 lines
342 B
C++
/*
|
|
* Copyright (c) 2013-2023, The PurpleI2P Project
|
|
*
|
|
* This file is part of Purple i2pd project and licensed under BSD3
|
|
*
|
|
* See full license text in LICENSE file at top of project tree
|
|
*/
|
|
|
|
#ifndef LIBI2PD_CPU_H
|
|
#define LIBI2PD_CPU_H
|
|
|
|
namespace i2p
|
|
{
|
|
namespace cpu
|
|
{
|
|
extern bool aesni;
|
|
|
|
void Detect(bool AesSwitch, bool force);
|
|
}
|
|
}
|
|
|
|
#endif
|