aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/engine/aes_isa_eng/aes_isa_engine.h
blob: 3c4d3e936ce0d719f475ff44f79a0fd48f27291c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
* Engine for AES instructions
* (C) 2009 Jack Lloyd
*
* Distributed under the terms of the Botan license
*/

#ifndef BOTAN_AES_ISA_ENGINE_H__
#define BOTAN_AES_ISA_ENGINE_H__

#include <botan/engine.h>

namespace Botan {

/**
* Engine for implementations that hook into CPU-specific
* AES implementations (eg AES-NI, VIA C7, or AMD Geode)
*/
class AES_ISA_Engine : public Engine
   {
   public:
      std::string provider_name() const { return "aes_isa"; }

      BlockCipher* find_block_cipher(const SCAN_Name&,
                                     Algorithm_Factory&) const;
   };

}

#endif