xref: /netbsd-src/crypto/external/bsd/openssl.old/dist/include/openssl/kdferr.h (revision 4724848cf0da353df257f730694b7882798e5daf)
1*4724848cSchristos /*
2*4724848cSchristos  * Generated by util/mkerr.pl DO NOT EDIT
3*4724848cSchristos  * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
4*4724848cSchristos  *
5*4724848cSchristos  * Licensed under the OpenSSL license (the "License").  You may not use
6*4724848cSchristos  * this file except in compliance with the License.  You can obtain a copy
7*4724848cSchristos  * in the file LICENSE in the source distribution or at
8*4724848cSchristos  * https://www.openssl.org/source/license.html
9*4724848cSchristos  */
10*4724848cSchristos 
11*4724848cSchristos #ifndef HEADER_KDFERR_H
12*4724848cSchristos # define HEADER_KDFERR_H
13*4724848cSchristos 
14*4724848cSchristos # ifndef HEADER_SYMHACKS_H
15*4724848cSchristos #  include <openssl/symhacks.h>
16*4724848cSchristos # endif
17*4724848cSchristos 
18*4724848cSchristos # ifdef  __cplusplus
19*4724848cSchristos extern "C"
20*4724848cSchristos # endif
21*4724848cSchristos int ERR_load_KDF_strings(void);
22*4724848cSchristos 
23*4724848cSchristos /*
24*4724848cSchristos  * KDF function codes.
25*4724848cSchristos  */
26*4724848cSchristos # define KDF_F_PKEY_HKDF_CTRL_STR                         103
27*4724848cSchristos # define KDF_F_PKEY_HKDF_DERIVE                           102
28*4724848cSchristos # define KDF_F_PKEY_HKDF_INIT                             108
29*4724848cSchristos # define KDF_F_PKEY_SCRYPT_CTRL_STR                       104
30*4724848cSchristos # define KDF_F_PKEY_SCRYPT_CTRL_UINT64                    105
31*4724848cSchristos # define KDF_F_PKEY_SCRYPT_DERIVE                         109
32*4724848cSchristos # define KDF_F_PKEY_SCRYPT_INIT                           106
33*4724848cSchristos # define KDF_F_PKEY_SCRYPT_SET_MEMBUF                     107
34*4724848cSchristos # define KDF_F_PKEY_TLS1_PRF_CTRL_STR                     100
35*4724848cSchristos # define KDF_F_PKEY_TLS1_PRF_DERIVE                       101
36*4724848cSchristos # define KDF_F_PKEY_TLS1_PRF_INIT                         110
37*4724848cSchristos # define KDF_F_TLS1_PRF_ALG                               111
38*4724848cSchristos 
39*4724848cSchristos /*
40*4724848cSchristos  * KDF reason codes.
41*4724848cSchristos  */
42*4724848cSchristos # define KDF_R_INVALID_DIGEST                             100
43*4724848cSchristos # define KDF_R_MISSING_ITERATION_COUNT                    109
44*4724848cSchristos # define KDF_R_MISSING_KEY                                104
45*4724848cSchristos # define KDF_R_MISSING_MESSAGE_DIGEST                     105
46*4724848cSchristos # define KDF_R_MISSING_PARAMETER                          101
47*4724848cSchristos # define KDF_R_MISSING_PASS                               110
48*4724848cSchristos # define KDF_R_MISSING_SALT                               111
49*4724848cSchristos # define KDF_R_MISSING_SECRET                             107
50*4724848cSchristos # define KDF_R_MISSING_SEED                               106
51*4724848cSchristos # define KDF_R_UNKNOWN_PARAMETER_TYPE                     103
52*4724848cSchristos # define KDF_R_VALUE_ERROR                                108
53*4724848cSchristos # define KDF_R_VALUE_MISSING                              102
54*4724848cSchristos 
55*4724848cSchristos #endif
56