]>
Commit | Line | Data |
---|---|---|
52df25cf RS |
1 | /* |
2 | * Generated by util/mkerr.pl DO NOT EDIT | |
a699b8e4 | 3 | * Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved. |
52df25cf | 4 | * |
48f4ad77 | 5 | * Licensed under the Apache License 2.0 (the "License"). You may not use |
52df25cf RS |
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 | |
a699b8e4 | 15 | extern "C" |
52df25cf RS |
16 | # endif |
17 | int ERR_load_KDF_strings(void); | |
52df25cf RS |
18 | |
19 | /* | |
20 | * KDF function codes. | |
21 | */ | |
a24a5b8c | 22 | # define KDF_F_PKEY_HKDF_CTRL_STR 103 |
e65f6509 | 23 | # define KDF_F_PKEY_HKDF_DERIVE 102 |
cdb10bae | 24 | # define KDF_F_PKEY_HKDF_INIT 108 |
cefa762e JB |
25 | # define KDF_F_PKEY_SCRYPT_CTRL_STR 104 |
26 | # define KDF_F_PKEY_SCRYPT_CTRL_UINT64 105 | |
27 | # define KDF_F_PKEY_SCRYPT_DERIVE 109 | |
3484236d F |
28 | # define KDF_F_PKEY_SCRYPT_INIT 106 |
29 | # define KDF_F_PKEY_SCRYPT_SET_MEMBUF 107 | |
52df25cf RS |
30 | # define KDF_F_PKEY_TLS1_PRF_CTRL_STR 100 |
31 | # define KDF_F_PKEY_TLS1_PRF_DERIVE 101 | |
cdb10bae RS |
32 | # define KDF_F_PKEY_TLS1_PRF_INIT 110 |
33 | # define KDF_F_TLS1_PRF_ALG 111 | |
52df25cf RS |
34 | |
35 | /* | |
36 | * KDF reason codes. | |
37 | */ | |
38 | # define KDF_R_INVALID_DIGEST 100 | |
cefa762e | 39 | # define KDF_R_MISSING_ITERATION_COUNT 109 |
f55129c7 JB |
40 | # define KDF_R_MISSING_KEY 104 |
41 | # define KDF_R_MISSING_MESSAGE_DIGEST 105 | |
52df25cf | 42 | # define KDF_R_MISSING_PARAMETER 101 |
cefa762e JB |
43 | # define KDF_R_MISSING_PASS 110 |
44 | # define KDF_R_MISSING_SALT 111 | |
5b277519 | 45 | # define KDF_R_MISSING_SECRET 107 |
f55129c7 | 46 | # define KDF_R_MISSING_SEED 106 |
a24a5b8c | 47 | # define KDF_R_UNKNOWN_PARAMETER_TYPE 103 |
cefa762e | 48 | # define KDF_R_VALUE_ERROR 108 |
52df25cf RS |
49 | # define KDF_R_VALUE_MISSING 102 |
50 | ||
51 | #endif |