CsCrypto  1.0.1
hash.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_HASH_H
21 #define CS_CRYPTO_DRIVERS_HASH_H
22 
23 #include <util/tools/crypto_traits.h>
24 #include <util/tools/is_detected_traits.h>
25 
26 namespace cs_crypto::drivers {
27 
28 struct basic_hash {
29  using md4 = cs_crypto::traits::nonesuch;
30  using md5 = cs_crypto::traits::nonesuch;
31 
32  using sha1 = cs_crypto::traits::nonesuch;
33 
34  using sha2_224 = cs_crypto::traits::nonesuch;
35  using sha2_256 = cs_crypto::traits::nonesuch;
36  using sha2_384 = cs_crypto::traits::nonesuch;
37  using sha2_512 = cs_crypto::traits::nonesuch;
38 
39  using sha3_224 = cs_crypto::traits::nonesuch;
40  using sha3_256 = cs_crypto::traits::nonesuch;
41  using sha3_384 = cs_crypto::traits::nonesuch;
42  using sha3_512 = cs_crypto::traits::nonesuch;
43 };
44 
45 } // namespace cs_crypto::drivers
46 
47 #endif