require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&OPENSSL_PROVERR_H)) {
    eval 'sub OPENSSL_PROVERR_H () {1;}' unless defined(&OPENSSL_PROVERR_H);
    require 'openssl/opensslconf.ph';
    require 'openssl/symhacks.ph';
    require 'openssl/cryptoerr_legacy.ph';
    eval 'sub PROV_R_ADDITIONAL_INPUT_TOO_LONG () {184;}' unless defined(&PROV_R_ADDITIONAL_INPUT_TOO_LONG);
    eval 'sub PROV_R_ALGORITHM_MISMATCH () {173;}' unless defined(&PROV_R_ALGORITHM_MISMATCH);
    eval 'sub PROV_R_ALREADY_INSTANTIATED () {185;}' unless defined(&PROV_R_ALREADY_INSTANTIATED);
    eval 'sub PROV_R_BAD_DECRYPT () {100;}' unless defined(&PROV_R_BAD_DECRYPT);
    eval 'sub PROV_R_BAD_ENCODING () {141;}' unless defined(&PROV_R_BAD_ENCODING);
    eval 'sub PROV_R_BAD_LENGTH () {142;}' unless defined(&PROV_R_BAD_LENGTH);
    eval 'sub PROV_R_BAD_TLS_CLIENT_VERSION () {161;}' unless defined(&PROV_R_BAD_TLS_CLIENT_VERSION);
    eval 'sub PROV_R_BN_ERROR () {160;}' unless defined(&PROV_R_BN_ERROR);
    eval 'sub PROV_R_CIPHER_OPERATION_FAILED () {102;}' unless defined(&PROV_R_CIPHER_OPERATION_FAILED);
    eval 'sub PROV_R_DERIVATION_FUNCTION_INIT_FAILED () {205;}' unless defined(&PROV_R_DERIVATION_FUNCTION_INIT_FAILED);
    eval 'sub PROV_R_DIGEST_NOT_ALLOWED () {174;}' unless defined(&PROV_R_DIGEST_NOT_ALLOWED);
    eval 'sub PROV_R_ENTROPY_SOURCE_STRENGTH_TOO_WEAK () {186;}' unless defined(&PROV_R_ENTROPY_SOURCE_STRENGTH_TOO_WEAK);
    eval 'sub PROV_R_ERROR_INSTANTIATING_DRBG () {188;}' unless defined(&PROV_R_ERROR_INSTANTIATING_DRBG);
    eval 'sub PROV_R_ERROR_RETRIEVING_ENTROPY () {189;}' unless defined(&PROV_R_ERROR_RETRIEVING_ENTROPY);
    eval 'sub PROV_R_ERROR_RETRIEVING_NONCE () {190;}' unless defined(&PROV_R_ERROR_RETRIEVING_NONCE);
    eval 'sub PROV_R_FAILED_DURING_DERIVATION () {164;}' unless defined(&PROV_R_FAILED_DURING_DERIVATION);
    eval 'sub PROV_R_FAILED_TO_CREATE_LOCK () {180;}' unless defined(&PROV_R_FAILED_TO_CREATE_LOCK);
    eval 'sub PROV_R_FAILED_TO_DECRYPT () {162;}' unless defined(&PROV_R_FAILED_TO_DECRYPT);
    eval 'sub PROV_R_FAILED_TO_GENERATE_KEY () {121;}' unless defined(&PROV_R_FAILED_TO_GENERATE_KEY);
    eval 'sub PROV_R_FAILED_TO_GET_PARAMETER () {103;}' unless defined(&PROV_R_FAILED_TO_GET_PARAMETER);
    eval 'sub PROV_R_FAILED_TO_SET_PARAMETER () {104;}' unless defined(&PROV_R_FAILED_TO_SET_PARAMETER);
    eval 'sub PROV_R_FAILED_TO_SIGN () {175;}' unless defined(&PROV_R_FAILED_TO_SIGN);
    eval 'sub PROV_R_FIPS_MODULE_CONDITIONAL_ERROR () {227;}' unless defined(&PROV_R_FIPS_MODULE_CONDITIONAL_ERROR);
    eval 'sub PROV_R_FIPS_MODULE_ENTERING_ERROR_STATE () {224;}' unless defined(&PROV_R_FIPS_MODULE_ENTERING_ERROR_STATE);
    eval 'sub PROV_R_FIPS_MODULE_IN_ERROR_STATE () {225;}' unless defined(&PROV_R_FIPS_MODULE_IN_ERROR_STATE);
    eval 'sub PROV_R_GENERATE_ERROR () {191;}' unless defined(&PROV_R_GENERATE_ERROR);
    eval 'sub PROV_R_ILLEGAL_OR_UNSUPPORTED_PADDING_MODE () {165;}' unless defined(&PROV_R_ILLEGAL_OR_UNSUPPORTED_PADDING_MODE);
    eval 'sub PROV_R_INDICATOR_INTEGRITY_FAILURE () {210;}' unless defined(&PROV_R_INDICATOR_INTEGRITY_FAILURE);
    eval 'sub PROV_R_INSUFFICIENT_DRBG_STRENGTH () {181;}' unless defined(&PROV_R_INSUFFICIENT_DRBG_STRENGTH);
    eval 'sub PROV_R_INVALID_AAD () {108;}' unless defined(&PROV_R_INVALID_AAD);
    eval 'sub PROV_R_INVALID_CONFIG_DATA () {211;}' unless defined(&PROV_R_INVALID_CONFIG_DATA);
    eval 'sub PROV_R_INVALID_CONSTANT_LENGTH () {157;}' unless defined(&PROV_R_INVALID_CONSTANT_LENGTH);
    eval 'sub PROV_R_INVALID_CURVE () {176;}' unless defined(&PROV_R_INVALID_CURVE);
    eval 'sub PROV_R_INVALID_CUSTOM_LENGTH () {111;}' unless defined(&PROV_R_INVALID_CUSTOM_LENGTH);
    eval 'sub PROV_R_INVALID_DATA () {115;}' unless defined(&PROV_R_INVALID_DATA);
    eval 'sub PROV_R_INVALID_DIGEST () {122;}' unless defined(&PROV_R_INVALID_DIGEST);
    eval 'sub PROV_R_INVALID_DIGEST_LENGTH () {166;}' unless defined(&PROV_R_INVALID_DIGEST_LENGTH);
    eval 'sub PROV_R_INVALID_DIGEST_SIZE () {218;}' unless defined(&PROV_R_INVALID_DIGEST_SIZE);
    eval 'sub PROV_R_INVALID_INPUT_LENGTH () {230;}' unless defined(&PROV_R_INVALID_INPUT_LENGTH);
    eval 'sub PROV_R_INVALID_ITERATION_COUNT () {123;}' unless defined(&PROV_R_INVALID_ITERATION_COUNT);
    eval 'sub PROV_R_INVALID_IV_LENGTH () {109;}' unless defined(&PROV_R_INVALID_IV_LENGTH);
    eval 'sub PROV_R_INVALID_KEY () {158;}' unless defined(&PROV_R_INVALID_KEY);
    eval 'sub PROV_R_INVALID_KEY_LENGTH () {105;}' unless defined(&PROV_R_INVALID_KEY_LENGTH);
    eval 'sub PROV_R_INVALID_MAC () {151;}' unless defined(&PROV_R_INVALID_MAC);
    eval 'sub PROV_R_INVALID_MGF1_MD () {167;}' unless defined(&PROV_R_INVALID_MGF1_MD);
    eval 'sub PROV_R_INVALID_MODE () {125;}' unless defined(&PROV_R_INVALID_MODE);
    eval 'sub PROV_R_INVALID_OUTPUT_LENGTH () {217;}' unless defined(&PROV_R_INVALID_OUTPUT_LENGTH);
    eval 'sub PROV_R_INVALID_PADDING_MODE () {168;}' unless defined(&PROV_R_INVALID_PADDING_MODE);
    eval 'sub PROV_R_INVALID_PUBINFO () {198;}' unless defined(&PROV_R_INVALID_PUBINFO);
    eval 'sub PROV_R_INVALID_SALT_LENGTH () {112;}' unless defined(&PROV_R_INVALID_SALT_LENGTH);
    eval 'sub PROV_R_INVALID_SEED_LENGTH () {154;}' unless defined(&PROV_R_INVALID_SEED_LENGTH);
    eval 'sub PROV_R_INVALID_SIGNATURE_SIZE () {179;}' unless defined(&PROV_R_INVALID_SIGNATURE_SIZE);
    eval 'sub PROV_R_INVALID_STATE () {212;}' unless defined(&PROV_R_INVALID_STATE);
    eval 'sub PROV_R_INVALID_TAG () {110;}' unless defined(&PROV_R_INVALID_TAG);
    eval 'sub PROV_R_INVALID_TAG_LENGTH () {118;}' unless defined(&PROV_R_INVALID_TAG_LENGTH);
    eval 'sub PROV_R_INVALID_UKM_LENGTH () {200;}' unless defined(&PROV_R_INVALID_UKM_LENGTH);
    eval 'sub PROV_R_INVALID_X931_DIGEST () {170;}' unless defined(&PROV_R_INVALID_X931_DIGEST);
    eval 'sub PROV_R_IN_ERROR_STATE () {192;}' unless defined(&PROV_R_IN_ERROR_STATE);
    eval 'sub PROV_R_KEY_SETUP_FAILED () {101;}' unless defined(&PROV_R_KEY_SETUP_FAILED);
    eval 'sub PROV_R_KEY_SIZE_TOO_SMALL () {171;}' unless defined(&PROV_R_KEY_SIZE_TOO_SMALL);
    eval 'sub PROV_R_LENGTH_TOO_LARGE () {202;}' unless defined(&PROV_R_LENGTH_TOO_LARGE);
    eval 'sub PROV_R_MISMATCHING_DOMAIN_PARAMETERS () {203;}' unless defined(&PROV_R_MISMATCHING_DOMAIN_PARAMETERS);
    eval 'sub PROV_R_MISSING_CEK_ALG () {144;}' unless defined(&PROV_R_MISSING_CEK_ALG);
    eval 'sub PROV_R_MISSING_CIPHER () {155;}' unless defined(&PROV_R_MISSING_CIPHER);
    eval 'sub PROV_R_MISSING_CONFIG_DATA () {213;}' unless defined(&PROV_R_MISSING_CONFIG_DATA);
    eval 'sub PROV_R_MISSING_CONSTANT () {156;}' unless defined(&PROV_R_MISSING_CONSTANT);
    eval 'sub PROV_R_MISSING_KEY () {128;}' unless defined(&PROV_R_MISSING_KEY);
    eval 'sub PROV_R_MISSING_MAC () {150;}' unless defined(&PROV_R_MISSING_MAC);
    eval 'sub PROV_R_MISSING_MESSAGE_DIGEST () {129;}' unless defined(&PROV_R_MISSING_MESSAGE_DIGEST);
    eval 'sub PROV_R_MISSING_OID () {209;}' unless defined(&PROV_R_MISSING_OID);
    eval 'sub PROV_R_MISSING_PASS () {130;}' unless defined(&PROV_R_MISSING_PASS);
    eval 'sub PROV_R_MISSING_SALT () {131;}' unless defined(&PROV_R_MISSING_SALT);
    eval 'sub PROV_R_MISSING_SECRET () {132;}' unless defined(&PROV_R_MISSING_SECRET);
    eval 'sub PROV_R_MISSING_SEED () {140;}' unless defined(&PROV_R_MISSING_SEED);
    eval 'sub PROV_R_MISSING_SESSION_ID () {133;}' unless defined(&PROV_R_MISSING_SESSION_ID);
    eval 'sub PROV_R_MISSING_TYPE () {134;}' unless defined(&PROV_R_MISSING_TYPE);
    eval 'sub PROV_R_MISSING_XCGHASH () {135;}' unless defined(&PROV_R_MISSING_XCGHASH);
    eval 'sub PROV_R_MODULE_INTEGRITY_FAILURE () {214;}' unless defined(&PROV_R_MODULE_INTEGRITY_FAILURE);
    eval 'sub PROV_R_NOT_A_PRIVATE_KEY () {221;}' unless defined(&PROV_R_NOT_A_PRIVATE_KEY);
    eval 'sub PROV_R_NOT_A_PUBLIC_KEY () {220;}' unless defined(&PROV_R_NOT_A_PUBLIC_KEY);
    eval 'sub PROV_R_NOT_INSTANTIATED () {193;}' unless defined(&PROV_R_NOT_INSTANTIATED);
    eval 'sub PROV_R_NOT_PARAMETERS () {226;}' unless defined(&PROV_R_NOT_PARAMETERS);
    eval 'sub PROV_R_NOT_SUPPORTED () {136;}' unless defined(&PROV_R_NOT_SUPPORTED);
    eval 'sub PROV_R_NOT_XOF_OR_INVALID_LENGTH () {113;}' unless defined(&PROV_R_NOT_XOF_OR_INVALID_LENGTH);
    eval 'sub PROV_R_NO_KEY_SET () {114;}' unless defined(&PROV_R_NO_KEY_SET);
    eval 'sub PROV_R_NO_PARAMETERS_SET () {177;}' unless defined(&PROV_R_NO_PARAMETERS_SET);
    eval 'sub PROV_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE () {178;}' unless defined(&PROV_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE);
    eval 'sub PROV_R_OUTPUT_BUFFER_TOO_SMALL () {106;}' unless defined(&PROV_R_OUTPUT_BUFFER_TOO_SMALL);
    eval 'sub PROV_R_PARENT_CANNOT_GENERATE_RANDOM_NUMBERS () {228;}' unless defined(&PROV_R_PARENT_CANNOT_GENERATE_RANDOM_NUMBERS);
    eval 'sub PROV_R_PARENT_CANNOT_SUPPLY_ENTROPY_SEED () {187;}' unless defined(&PROV_R_PARENT_CANNOT_SUPPLY_ENTROPY_SEED);
    eval 'sub PROV_R_PARENT_LOCKING_NOT_ENABLED () {182;}' unless defined(&PROV_R_PARENT_LOCKING_NOT_ENABLED);
    eval 'sub PROV_R_PARENT_STRENGTH_TOO_WEAK () {194;}' unless defined(&PROV_R_PARENT_STRENGTH_TOO_WEAK);
    eval 'sub PROV_R_PATH_MUST_BE_ABSOLUTE () {219;}' unless defined(&PROV_R_PATH_MUST_BE_ABSOLUTE);
    eval 'sub PROV_R_PERSONALISATION_STRING_TOO_LONG () {195;}' unless defined(&PROV_R_PERSONALISATION_STRING_TOO_LONG);
    eval 'sub PROV_R_PSS_SALTLEN_TOO_SMALL () {172;}' unless defined(&PROV_R_PSS_SALTLEN_TOO_SMALL);
    eval 'sub PROV_R_REQUEST_TOO_LARGE_FOR_DRBG () {196;}' unless defined(&PROV_R_REQUEST_TOO_LARGE_FOR_DRBG);
    eval 'sub PROV_R_REQUIRE_CTR_MODE_CIPHER () {206;}' unless defined(&PROV_R_REQUIRE_CTR_MODE_CIPHER);
    eval 'sub PROV_R_RESEED_ERROR () {197;}' unless defined(&PROV_R_RESEED_ERROR);
    eval 'sub PROV_R_SEARCH_ONLY_SUPPORTED_FOR_DIRECTORIES () {222;}' unless defined(&PROV_R_SEARCH_ONLY_SUPPORTED_FOR_DIRECTORIES);
    eval 'sub PROV_R_SEED_SOURCES_MUST_NOT_HAVE_A_PARENT () {229;}' unless defined(&PROV_R_SEED_SOURCES_MUST_NOT_HAVE_A_PARENT);
    eval 'sub PROV_R_SELF_TEST_KAT_FAILURE () {215;}' unless defined(&PROV_R_SELF_TEST_KAT_FAILURE);
    eval 'sub PROV_R_SELF_TEST_POST_FAILURE () {216;}' unless defined(&PROV_R_SELF_TEST_POST_FAILURE);
    eval 'sub PROV_R_TAG_NOT_NEEDED () {120;}' unless defined(&PROV_R_TAG_NOT_NEEDED);
    eval 'sub PROV_R_TAG_NOT_SET () {119;}' unless defined(&PROV_R_TAG_NOT_SET);
    eval 'sub PROV_R_TOO_MANY_RECORDS () {126;}' unless defined(&PROV_R_TOO_MANY_RECORDS);
    eval 'sub PROV_R_UNABLE_TO_FIND_CIPHERS () {207;}' unless defined(&PROV_R_UNABLE_TO_FIND_CIPHERS);
    eval 'sub PROV_R_UNABLE_TO_GET_PARENT_STRENGTH () {199;}' unless defined(&PROV_R_UNABLE_TO_GET_PARENT_STRENGTH);
    eval 'sub PROV_R_UNABLE_TO_GET_PASSPHRASE () {159;}' unless defined(&PROV_R_UNABLE_TO_GET_PASSPHRASE);
    eval 'sub PROV_R_UNABLE_TO_INITIALISE_CIPHERS () {208;}' unless defined(&PROV_R_UNABLE_TO_INITIALISE_CIPHERS);
    eval 'sub PROV_R_UNABLE_TO_LOAD_SHA256 () {147;}' unless defined(&PROV_R_UNABLE_TO_LOAD_SHA256);
    eval 'sub PROV_R_UNABLE_TO_LOCK_PARENT () {201;}' unless defined(&PROV_R_UNABLE_TO_LOCK_PARENT);
    eval 'sub PROV_R_UNABLE_TO_RESEED () {204;}' unless defined(&PROV_R_UNABLE_TO_RESEED);
    eval 'sub PROV_R_UNSUPPORTED_CEK_ALG () {145;}' unless defined(&PROV_R_UNSUPPORTED_CEK_ALG);
    eval 'sub PROV_R_UNSUPPORTED_KEY_SIZE () {153;}' unless defined(&PROV_R_UNSUPPORTED_KEY_SIZE);
    eval 'sub PROV_R_UNSUPPORTED_MAC_TYPE () {137;}' unless defined(&PROV_R_UNSUPPORTED_MAC_TYPE);
    eval 'sub PROV_R_UNSUPPORTED_NUMBER_OF_ROUNDS () {152;}' unless defined(&PROV_R_UNSUPPORTED_NUMBER_OF_ROUNDS);
    eval 'sub PROV_R_URI_AUTHORITY_UNSUPPORTED () {223;}' unless defined(&PROV_R_URI_AUTHORITY_UNSUPPORTED);
    eval 'sub PROV_R_VALUE_ERROR () {138;}' unless defined(&PROV_R_VALUE_ERROR);
    eval 'sub PROV_R_WRONG_FINAL_BLOCK_LENGTH () {107;}' unless defined(&PROV_R_WRONG_FINAL_BLOCK_LENGTH);
    eval 'sub PROV_R_WRONG_OUTPUT_BUFFER_SIZE () {139;}' unless defined(&PROV_R_WRONG_OUTPUT_BUFFER_SIZE);
    eval 'sub PROV_R_XOF_DIGESTS_NOT_ALLOWED () {183;}' unless defined(&PROV_R_XOF_DIGESTS_NOT_ALLOWED);
    eval 'sub PROV_R_XTS_DATA_UNIT_IS_TOO_LARGE () {148;}' unless defined(&PROV_R_XTS_DATA_UNIT_IS_TOO_LARGE);
    eval 'sub PROV_R_XTS_DUPLICATED_KEYS () {149;}' unless defined(&PROV_R_XTS_DUPLICATED_KEYS);
}
1;
