LibLogicalAccess
2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
plugins
logicalaccess
plugins
crypto
aes_helper.hpp
Go to the documentation of this file.
1
//
2
// Created by xaqq on 7/2/15.
3
//
4
5
#ifndef LIBLOGICALACCESS_AES_HELPER_H
6
#define LIBLOGICALACCESS_AES_HELPER_H
7
8
#include <vector>
9
#include <cstdint>
10
#include <
logicalaccess/lla_fwd.hpp
>
11
#include "logicalaccess/plugins/crypto/lla_crypto_api.hpp"
12
13
namespace
logicalaccess
14
{
18
class
LLA_CRYPTO_API
AESHelper
19
{
20
public
:
28
static
ByteVector
AESEncrypt(
const
ByteVector
&data,
const
ByteVector
&key,
29
const
ByteVector
&iv_data);
30
38
static
ByteVector
AESDecrypt(
const
ByteVector
&data,
const
ByteVector
&key,
39
ByteVector
const
&iv_data);
40
41
private
:
42
static
ByteVector
AESRun(
const
ByteVector
&data,
const
ByteVector
&key,
43
const
ByteVector
&iv_data,
bool
crypt);
44
};
45
}
46
47
#endif
// LIBLOGICALACCESS_AES_HELPER_H
logicalaccess::AESHelper
Definition:
aes_helper.hpp:19
lla_fwd.hpp
ByteVector
std::vector< uint8_t > ByteVector
Definition:
lla_fwd.hpp:80
logicalaccess
Definition:
asn1.hpp:9
Generated on Wed Mar 29 2023 13:50:37 for LibLogicalAccess by
1.9.6