Botan: src/engine/aes_isa_eng/aes_isa_engine.h Source File

Botan 1.10.16

aes_isa_engine.h
Go to the documentation of this file.
1 /*
2 * Engine for AES instructions
3 * (C) 2009 Jack Lloyd
4 *
5 * Distributed under the terms of the Botan license
6 */
7
8 #ifndef BOTAN_AES_ISA_ENGINE_H__
9 #define BOTAN_AES_ISA_ENGINE_H__
10
11 #include <botan/engine.h>
12
13 namespace Botan {
14
15 /**
16 * Engine for implementations that hook into CPU-specific
17 * AES implementations (eg AES-NI, VIA C7, or AMD Geode)
18 */
19 class AES_ISA_Engine : public Engine
20 {
21 public:
22 std::string provider_name() const { return "aes_isa"; }
23
24 BlockCipher* find_block_cipher(const SCAN_Name&,
25 Algorithm_Factory&) const;
26 };
27
28 }
29
30 #endif
Botan::Algorithm_Factory
Definition: algo_factory.h:34
Botan::AES_ISA_Engine::provider_name
std::string provider_name() const
Definition: aes_isa_engine.h:22
Botan::Engine
Definition: engine.h:32
Botan
Definition: algo_base.h:14
Botan::SCAN_Name
Definition: scan_name.h:21
Botan::AES_ISA_Engine
Definition: aes_isa_engine.h:19
Botan::AES_ISA_Engine::find_block_cipher
BlockCipher * find_block_cipher(const SCAN_Name &, Algorithm_Factory &) const
Definition: aes_isa_engine.cpp:18
Botan::BlockCipher
Definition: block_cipher.h:18