67bd3a36228bee0a60e29e084a007e268148170c
[openssl.git] / include / openssl / kdferr.h
1 /*
2  * Generated by util/mkerr.pl DO NOT EDIT
3  * Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved.
4  *
5  * Licensed under the OpenSSL license (the "License").  You may not use
6  * this file except in compliance with the License.  You can obtain a copy
7  * in the file LICENSE in the source distribution or at
8  * https://www.openssl.org/source/license.html
9  */
10
11 #ifndef HEADER_KDFERR_H
12 # define HEADER_KDFERR_H
13
14 # ifdef  __cplusplus
15 extern "C" {
16 # endif
17 int ERR_load_KDF_strings(void);
18 # ifdef  __cplusplus
19 }
20 # endif
21
22 /*
23  * KDF function codes.
24  */
25 # define KDF_F_PKEY_HKDF_CTRL_STR                         103
26 # define KDF_F_PKEY_HKDF_DERIVE                           102
27 # define KDF_F_PKEY_TLS1_PRF_CTRL_STR                     100
28 # define KDF_F_PKEY_TLS1_PRF_DERIVE                       101
29
30 /*
31  * KDF reason codes.
32  */
33 # define KDF_R_INVALID_DIGEST                             100
34 # define KDF_R_MISSING_KEY                                104
35 # define KDF_R_MISSING_MESSAGE_DIGEST                     105
36 # define KDF_R_MISSING_PARAMETER                          101
37 # define KDF_R_MISSING_SEED                               106
38 # define KDF_R_UNKNOWN_PARAMETER_TYPE                     103
39 # define KDF_R_VALUE_MISSING                              102
40
41 #endif