mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-29 04:07:49 +02:00
aligned AES and MAC keys
This commit is contained in:
parent
7a976dd5f2
commit
4334007688
4 changed files with 26 additions and 18 deletions
3
aes.h
3
aes.h
|
@ -4,6 +4,7 @@
|
|||
#include <inttypes.h>
|
||||
#include <cryptopp/modes.h>
|
||||
#include <cryptopp/aes.h>
|
||||
#include "Identity.h"
|
||||
|
||||
namespace i2p
|
||||
{
|
||||
|
@ -21,6 +22,8 @@ namespace crypto
|
|||
}
|
||||
};
|
||||
|
||||
typedef i2p::data::Tag<32> AESKey;
|
||||
|
||||
#ifdef AESNI
|
||||
class ECBCryptoAESNI
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue