CsCrypto  1.0.1
config.h
1 /***********************************************************************
2 *
3 * Copyright (c) 2021-2024 Tim van Deurzen
4 * Copyright (c) 2021-2024 Barbara Geller
5 * Copyright (c) 2021-2024 Ansel Sermersheim
6 *
7 * This file is part of CsCrypto.
8 *
9 * CsCrypto is free software, released under the BSD 2-Clause license.
10 * For license details refer to LICENSE provided with this project.
11 *
12 * CsCrypto is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 *
16 * https://opensource.org/licenses/BSD-2-Clause
17 *
18 ***********************************************************************/
19 
20 #ifndef CS_CRYPTO_DRIVERS_CONFIG_H
21 #define CS_CRYPTO_DRIVERS_CONFIG_H
22 
23 #include <drivers/base/aes.h>
24 #include <drivers/base/hash.h>
25 #include <drivers/base/traits.h>
26 
27 namespace cs_crypto::drivers::traits {
28 
29 template <>
30 struct driver_for<implementation::base> {
31  using hash = basic_hash;
32  using symmetric_encryption = basic_cipher_mode;
33 };
34 
35 } // namespace cs_crypto::drivers::traits
36 
37 #endif