LibLogicalAccess  2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
aes_cipher.hpp
Go to the documentation of this file.
1
8#ifndef AES_CIPHER_HPP
9#define AES_CIPHER_HPP
10
12
13namespace logicalaccess
14{
15namespace openssl
16{
23class LLA_CRYPTO_API AESCipher : public OpenSSLSymmetricCipher
24{
25 public:
30 explicit AESCipher(EncMode _mode = ENC_MODE_CBC)
32 {
33 }
34
35 unsigned char getBlockSize() const override;
36
37 protected:
48 const EVP_CIPHER *getEVPCipher(const SymmetricKey &key) const override;
49};
50}
51}
52
53#endif /* AES_CIPHER_HPP */
AES cipher class.
Definition: aes_cipher.hpp:24
AESCipher(EncMode _mode=ENC_MODE_CBC)
Constructor.
Definition: aes_cipher.hpp:30
A OpenSSL symmetric cipher base class.
Definition: openssl_symmetric_cipher.hpp:33
EncMode
Encryption mode.
Definition: openssl_symmetric_cipher.hpp:39
An immutable symmetric key.
Definition: symmetric_key.hpp:27
Definition: asn1.hpp:9
OpenSSL symmetric cipher base class.