codekingpro/portable-devtools
116k
1/*2 * Generated by util/mkerr.pl DO NOT EDIT3 * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.4 *5 * Licensed under the Apache License 2.0 (the "License"). You may not use6 * this file except in compliance with the License. You can obtain a copy7 * in the file LICENSE in the source distribution or at8 * https://www.openssl.org/source/license.html9 */10 11#ifndef OPENSSL_RSAERR_H12# define OPENSSL_RSAERR_H13# pragma once14 15# include <openssl/opensslconf.h>16# include <openssl/symhacks.h>17# include <openssl/cryptoerr_legacy.h>18 19 20 21/*22 * RSA reason codes.23 */24# define RSA_R_ALGORITHM_MISMATCH 10025# define RSA_R_BAD_E_VALUE 10126# define RSA_R_BAD_FIXED_HEADER_DECRYPT 10227# define RSA_R_BAD_PAD_BYTE_COUNT 10328# define RSA_R_BAD_SIGNATURE 10429# define RSA_R_BLOCK_TYPE_IS_NOT_01 10630# define RSA_R_BLOCK_TYPE_IS_NOT_02 10731# define RSA_R_DATA_GREATER_THAN_MOD_LEN 10832# define RSA_R_DATA_TOO_LARGE 10933# define RSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE 11034# define RSA_R_DATA_TOO_LARGE_FOR_MODULUS 13235# define RSA_R_DATA_TOO_SMALL 11136# define RSA_R_DATA_TOO_SMALL_FOR_KEY_SIZE 12237# define RSA_R_DIGEST_DOES_NOT_MATCH 15838# define RSA_R_DIGEST_NOT_ALLOWED 14539# define RSA_R_DIGEST_TOO_BIG_FOR_RSA_KEY 11240# define RSA_R_DMP1_NOT_CONGRUENT_TO_D 12441# define RSA_R_DMQ1_NOT_CONGRUENT_TO_D 12542# define RSA_R_D_E_NOT_CONGRUENT_TO_1 12343# define RSA_R_FIRST_OCTET_INVALID 13344# define RSA_R_ILLEGAL_OR_UNSUPPORTED_PADDING_MODE 14445# define RSA_R_INVALID_DIGEST 15746# define RSA_R_INVALID_DIGEST_LENGTH 14347# define RSA_R_INVALID_HEADER 13748# define RSA_R_INVALID_KEYPAIR 17149# define RSA_R_INVALID_KEY_LENGTH 17350# define RSA_R_INVALID_LABEL 16051# define RSA_R_INVALID_LENGTH 18152# define RSA_R_INVALID_MESSAGE_LENGTH 13153# define RSA_R_INVALID_MGF1_MD 15654# define RSA_R_INVALID_MODULUS 17455# define RSA_R_INVALID_MULTI_PRIME_KEY 16756# define RSA_R_INVALID_OAEP_PARAMETERS 16157# define RSA_R_INVALID_PADDING 13858# define RSA_R_INVALID_PADDING_MODE 14159# define RSA_R_INVALID_PSS_PARAMETERS 14960# define RSA_R_INVALID_PSS_SALTLEN 14661# define RSA_R_INVALID_REQUEST 17562# define RSA_R_INVALID_SALT_LENGTH 15063# define RSA_R_INVALID_STRENGTH 17664# define RSA_R_INVALID_TRAILER 13965# define RSA_R_INVALID_X931_DIGEST 14266# define RSA_R_IQMP_NOT_INVERSE_OF_Q 12667# define RSA_R_KEY_PRIME_NUM_INVALID 16568# define RSA_R_KEY_SIZE_TOO_SMALL 12069# define RSA_R_LAST_OCTET_INVALID 13470# define RSA_R_MGF1_DIGEST_NOT_ALLOWED 15271# define RSA_R_MISSING_PRIVATE_KEY 17972# define RSA_R_MODULUS_TOO_LARGE 10573# define RSA_R_MP_COEFFICIENT_NOT_INVERSE_OF_R 16874# define RSA_R_MP_EXPONENT_NOT_CONGRUENT_TO_D 16975# define RSA_R_MP_R_NOT_PRIME 17076# define RSA_R_NO_PUBLIC_EXPONENT 14077# define RSA_R_NULL_BEFORE_BLOCK_MISSING 11378# define RSA_R_N_DOES_NOT_EQUAL_PRODUCT_OF_PRIMES 17279# define RSA_R_N_DOES_NOT_EQUAL_P_Q 12780# define RSA_R_OAEP_DECODING_ERROR 12181# define RSA_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE 14882# define RSA_R_PADDING_CHECK_FAILED 11483# define RSA_R_PAIRWISE_TEST_FAILURE 17784# define RSA_R_PKCS_DECODING_ERROR 15985# define RSA_R_PSS_SALTLEN_TOO_SMALL 16486# define RSA_R_PUB_EXPONENT_OUT_OF_RANGE 17887# define RSA_R_P_NOT_PRIME 12888# define RSA_R_Q_NOT_PRIME 12989# define RSA_R_RANDOMNESS_SOURCE_STRENGTH_INSUFFICIENT 18090# define RSA_R_RSA_OPERATIONS_NOT_SUPPORTED 13091# define RSA_R_SLEN_CHECK_FAILED 13692# define RSA_R_SLEN_RECOVERY_FAILED 13593# define RSA_R_SSLV3_ROLLBACK_ATTACK 11594# define RSA_R_THE_ASN1_OBJECT_IDENTIFIER_IS_NOT_KNOWN_FOR_THIS_MD 11695# define RSA_R_UNKNOWN_ALGORITHM_TYPE 11796# define RSA_R_UNKNOWN_DIGEST 16697# define RSA_R_UNKNOWN_MASK_DIGEST 15198# define RSA_R_UNKNOWN_PADDING_TYPE 11899# define RSA_R_UNSUPPORTED_ENCRYPTION_TYPE 162100# define RSA_R_UNSUPPORTED_LABEL_SOURCE 163101# define RSA_R_UNSUPPORTED_MASK_ALGORITHM 153102# define RSA_R_UNSUPPORTED_MASK_PARAMETER 154103# define RSA_R_UNSUPPORTED_SIGNATURE_TYPE 155104# define RSA_R_VALUE_MISSING 147105# define RSA_R_WRONG_SIGNATURE_LENGTH 119106 107#endif108 