jpayne@69: /* jpayne@69: * Generated by util/mkerr.pl DO NOT EDIT jpayne@69: * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved. jpayne@69: * jpayne@69: * Licensed under the OpenSSL license (the "License"). You may not use jpayne@69: * this file except in compliance with the License. You can obtain a copy jpayne@69: * in the file LICENSE in the source distribution or at jpayne@69: * https://www.openssl.org/source/license.html jpayne@69: */ jpayne@69: jpayne@69: #ifndef HEADER_KDFERR_H jpayne@69: # define HEADER_KDFERR_H jpayne@69: jpayne@69: # ifndef HEADER_SYMHACKS_H jpayne@69: # include jpayne@69: # endif jpayne@69: jpayne@69: # ifdef __cplusplus jpayne@69: extern "C" jpayne@69: # endif jpayne@69: int ERR_load_KDF_strings(void); jpayne@69: jpayne@69: /* jpayne@69: * KDF function codes. jpayne@69: */ jpayne@69: # define KDF_F_PKEY_HKDF_CTRL_STR 103 jpayne@69: # define KDF_F_PKEY_HKDF_DERIVE 102 jpayne@69: # define KDF_F_PKEY_HKDF_INIT 108 jpayne@69: # define KDF_F_PKEY_SCRYPT_CTRL_STR 104 jpayne@69: # define KDF_F_PKEY_SCRYPT_CTRL_UINT64 105 jpayne@69: # define KDF_F_PKEY_SCRYPT_DERIVE 109 jpayne@69: # define KDF_F_PKEY_SCRYPT_INIT 106 jpayne@69: # define KDF_F_PKEY_SCRYPT_SET_MEMBUF 107 jpayne@69: # define KDF_F_PKEY_TLS1_PRF_CTRL_STR 100 jpayne@69: # define KDF_F_PKEY_TLS1_PRF_DERIVE 101 jpayne@69: # define KDF_F_PKEY_TLS1_PRF_INIT 110 jpayne@69: # define KDF_F_TLS1_PRF_ALG 111 jpayne@69: jpayne@69: /* jpayne@69: * KDF reason codes. jpayne@69: */ jpayne@69: # define KDF_R_INVALID_DIGEST 100 jpayne@69: # define KDF_R_MISSING_ITERATION_COUNT 109 jpayne@69: # define KDF_R_MISSING_KEY 104 jpayne@69: # define KDF_R_MISSING_MESSAGE_DIGEST 105 jpayne@69: # define KDF_R_MISSING_PARAMETER 101 jpayne@69: # define KDF_R_MISSING_PASS 110 jpayne@69: # define KDF_R_MISSING_SALT 111 jpayne@69: # define KDF_R_MISSING_SECRET 107 jpayne@69: # define KDF_R_MISSING_SEED 106 jpayne@69: # define KDF_R_UNKNOWN_PARAMETER_TYPE 103 jpayne@69: # define KDF_R_VALUE_ERROR 108 jpayne@69: # define KDF_R_VALUE_MISSING 102 jpayne@69: jpayne@69: #endif