kdf_algorithms.h
Go to the documentation of this file.
1 /**
2  * @file kdf_algorithms.h
3  * @brief Collection of KDF algorithms
4  *
5  * @section License
6  *
7  * SPDX-License-Identifier: GPL-2.0-or-later
8  *
9  * Copyright (C) 2010-2026 Oryx Embedded SARL. All rights reserved.
10  *
11  * This file is part of CycloneCRYPTO Open.
12  *
13  * This program is free software; you can redistribute it and/or
14  * modify it under the terms of the GNU General Public License
15  * as published by the Free Software Foundation; either version 2
16  * of the License, or (at your option) any later version.
17  *
18  * This program is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21  * GNU General Public License for more details.
22  *
23  * You should have received a copy of the GNU General Public License
24  * along with this program; if not, write to the Free Software Foundation,
25  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
26  *
27  * @author Oryx Embedded SARL (www.oryx-embedded.com)
28  * @version 2.6.6
29  **/
30 
31 #ifndef _KDF_ALGORITHMS_H
32 #define _KDF_ALGORITHMS_H
33 
34 //Dependencies
35 #include "core/crypto.h"
36 
37 //HKDF support?
38 #if (HKDF_SUPPORT == ENABLED)
39  #include "kdf/hkdf.h"
40 #endif
41 
42 //KBKDF support?
43 #if (KBKDF_SUPPORT == ENABLED)
44  #include "kdf/kbkdf.h"
45 #endif
46 
47 //PBKDF support?
48 #if (PBKDF_SUPPORT == ENABLED)
49  #include "kdf/pbkdf.h"
50 #endif
51 
52 //Concat KDF support?
53 #if (CONCAT_KDF_SUPPORT == ENABLED)
54  #include "kdf/concat_kdf.h"
55 #endif
56 
57 //One-Step KDF support?
58 #if (ONE_STEP_KDF_SUPPORT == ENABLED)
59  #include "kdf/one_step_kdf.h"
60 #endif
61 
62 //ANSI X9.63 KDF support?
63 #if (X963_KDF_SUPPORT == ENABLED)
64  #include "kdf/x963_kdf.h"
65 #endif
66 
67 //TLS KDF support?
68 #if (TLS_KDF_SUPPORT == ENABLED)
69  #include "kdf/tls_kdf.h"
70 #endif
71 
72 //SSH KDF support?
73 #if (SSH_KDF_SUPPORT == ENABLED)
74  #include "kdf/ssh_kdf.h"
75 #endif
76 
77 //IKE KDF support?
78 #if (IKE_KDF_SUPPORT == ENABLED)
79  #include "kdf/ike_kdf.h"
80 #endif
81 
82 //bcrypt support?
83 #if (BCRYPT_SUPPORT == ENABLED)
84  #include "kdf/bcrypt.h"
85 #endif
86 
87 //scrypt support?
88 #if (SCRYPT_SUPPORT == ENABLED)
89  #include "kdf/scrypt.h"
90 #endif
91 
92 //MD5-crypt support?
93 #if (MD5_CRYPT_SUPPORT == ENABLED)
94  #include "kdf/md5_crypt.h"
95 #endif
96 
97 //SHA-crypt support?
98 #if (SHA_CRYPT_SUPPORT == ENABLED)
99  #include "kdf/sha_crypt.h"
100 #endif
101 
102 #endif
bcrypt password hashing function
Unix crypt using SHA-256 and SHA-512.
scrypt PBKDF (Password-Based Key Derivation Function)
TLS key derivation functions.
One-Step KDF.
ANSI X9.63 key derivation function.
General definitions for cryptographic algorithms.
SP 800-108 key derivation function.
IKEv2 key derivation functions.
Unix crypt using MD5.
Concat KDF (Concatenation Key Derivation Function)
PBKDF (Password-Based Key Derivation Function)
HKDF (HMAC-based Key Derivation Function)
SSH key derivation function.