Skip to content

Commit

Permalink
always use openssl for AES
Browse files Browse the repository at this point in the history
  • Loading branch information
orignal committed Dec 7, 2024
1 parent 097813a commit 786da05
Show file tree
Hide file tree
Showing 5 changed files with 109 additions and 584 deletions.
68 changes: 0 additions & 68 deletions libi2pd/CPU.cpp

This file was deleted.

18 changes: 1 addition & 17 deletions libi2pd/CPU.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013-2023, The PurpleI2P Project
* Copyright (c) 2013-2024, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
Expand All @@ -21,20 +21,4 @@
# define IS_X86_64 0
#endif

#if defined(__AES__) && !defined(_MSC_VER) && IS_X86
# define SUPPORTS_AES 1
#else
# define SUPPORTS_AES 0
#endif

namespace i2p
{
namespace cpu
{
extern bool aesni;

void Detect(bool AesSwitch, bool force);
}
}

#endif
Loading

0 comments on commit 786da05

Please sign in to comment.