/openssl/engines/ |
H A D | e_capi.txt | 14 CAPI_R_CRYPTENUMPROVIDERS_ERROR:105:cryptenumproviders error 15 CAPI_R_DECRYPT_ERROR:106:decrypt error 17 CAPI_R_ENUMCONTAINERS_ERROR:108:enumcontainers error 18 CAPI_R_ERROR_ADDING_CERT:109:error adding cert 19 CAPI_R_ERROR_CREATING_STORE:110:error creating store 22 CAPI_R_ERROR_OPENING_STORE:113:error opening store 23 CAPI_R_ERROR_SIGNING_HASH:114:error signing hash 24 CAPI_R_FILE_OPEN_ERROR:115:file open error 26 CAPI_R_GETUSERKEY_ERROR:117:getuserkey error 34 CAPI_R_PUBKEY_EXPORT_ERROR:123:pubkey export error [all …]
|
/openssl/doc/designs/quic-design/ |
H A D | error-handling.md | 7 The errors are put on the error stack (rather a queue but error stack is 12 call caused a library or system (I/O) error. 40 entries on the error stack. 43 to the error stack. 50 is a permanent error that affects the error state of the QUIC connection. 61 depend on the error stack contents. 64 error stack before returning to the user. 75 is detected the error stack entries are moved to this error stack in 79 a permanent connection error, entries from the QUIC_CHANNEL error stack 82 an application. An additional error reason [all …]
|
/openssl/doc/man3/ |
H A D | OSSL_ERR_STATE_save.pod | 20 These functions save and restore the error state from the thread 21 local error state to a preallocated error state structure. 23 OSSL_ERR_STATE_new() allocates an empty error state structure to 24 be used when saving and restoring thread error state. 26 OSSL_ERR_STATE_save() saves the thread error state to I<es>. It 27 subsequently clears the thread error state. Any previously saved 42 OSSL_ERR_STATE_restore() adds all the error entries from the 48 OSSL_ERR_STATE_free() frees the saved error state I<es>. 54 structure or NULL on error. 62 over any allocated data from the thread error state. [all …]
|
H A D | ERR_set_mark.pod | 6 set mark, clear mark, pop errors until mark and pop last error 20 ERR_set_mark() sets a mark on the current topmost error record if there 23 ERR_pop_to_mark() will pop the top of the error stack until a mark is found. 28 ERR_count_to_mark() returns the number of entries on the error stack above the 30 error stack, the number of entries in the error stack is returned. 32 ERR_pop() unconditionally pops a single error entry from the top of the error 37 ERR_set_mark() returns 0 if the error stack is empty, otherwise 1. 40 error stack, which implies that the stack became empty, otherwise 1. 42 ERR_count_to_mark() returns the number of error stack entries found above the 43 most recent mark, if any, or the total number of error stack entries. [all …]
|
H A D | ERR_print_errors.pod | 6 - print error messages 19 ERR_print_errors() is a convenience function that prints the error 21 emptying the error queue. 27 B<cb>, is called for each error line with the string, length, and userdata 30 The error strings will have the following format: 32 …[pid]:error:[error code]:[library name]:[function name]:[reason string]:[filename]:[line]:[optiona… 34 I<error code> is an 8 digit hexadecimal number. I<library name>, 36 text message> if one was set for the respective error code. 38 If there is no text string registered for the given error code, 39 the error string will contain the numeric code.
|
H A D | ERR_put_error.pod | 10 - record an error 32 ERR_raise() adds a new error to the thread's error queue. The 33 error occurred in the library B<lib> for the reason given by the 35 of the function where the error occurred is saved with the error 42 ERR_put_error() adds an error code to the thread's error queue. It 43 signals that the error of reason code B<reason> occurred in function 48 arguments as additional data with the error code added last. 55 not NULL and the top error entry does not yet have additional data. 67 error strings so that the application can a generate human-readable 68 error messages for the error code. [all …]
|
H A D | ERR_get_error.pod | 11 - obtain error code and data 54 ERR_get_error() returns the earliest error code from the thread's error 56 until there are no more error codes to return. 58 ERR_peek_error() returns the earliest error code from the thread's 59 error queue without modifying it. 61 ERR_peek_last_error() returns the latest error code from the thread's 62 error queue without modifying it. 65 such as the reason of the error, 66 and L<ERR_error_string(3)> for human-readable error messages. 111 automatically by the error library. [all …]
|
H A D | ERR_error_string.pod | 7 error message 26 error code I<e>, and places it at I<buf>. I<buf> must be at least 256 27 bytes long. If I<buf> is B<NULL>, the error string is placed in a 39 error:[error code]:[library name]::[reason string] 41 I<error code> is an 8 digit hexadecimal number, I<library name> and 47 If there is no text string registered for the given error code, 48 the error string will contain the numeric code. 51 all error codes currently in the queue. 59 and B<NULL> if none is registered for the error code.
|
H A D | X509_STORE_CTX_get_error.pod | 32 an error or in a verification callback to determine the nature of an error. 37 an error, likely because a verification callback function has waived the error. 59 caused the error. 82 verification error I<n>. 91 error or NULL if no certificate is relevant to the error. 94 verification error I<n>. 110 Unspecified error; should not happen. 180 format error in CRL's lastUpdate field> 185 format error in CRL's nextUpdate field> 377 An error occurred when attempting to verify the CRL path. This error can only [all …]
|
H A D | BIO_connect.pod | 95 (-1) on error. When an error has occurred, the OpenSSL error stack 96 will hold the error data and errno has the system error. 98 BIO_bind(), BIO_connect() and BIO_listen() return 1 on success or 0 on error. 99 When an error has occurred, the OpenSSL error stack will hold the error 100 data and errno has the system error. 103 B<INVALID_SOCKET> (-1) on error. When an error has occurred, the 104 OpenSSL error stack will hold the error data and errno has the system 105 error.
|
H A D | ERR_load_strings.pod | 6 arbitrary error strings 20 ERR_load_strings() registers error strings for library number B<lib>. 22 B<str> is an array of error string data: 26 unsigned long error; 30 The error code is generated from the library number and a function and 31 reason code: B<error> = ERR_PACK(B<lib>, B<func>, B<reason>). 41 ERR_load_strings() returns 1 for success and 0 for failure. ERR_PACK() returns the error code.
|
H A D | s2i_ASN1_IA5STRING.pod | 57 or NULL if an error occurs. 60 B<ASN1_IA5STRING> structure or NULL if an error occurs. 63 string or NULL if an error occurs. 66 structure or NULL if an error occurs. 69 or NULL if an error occurs. 72 B<ASN1_OCTET_STRING> structure or NULL if an error occurs. 75 string or NULL if an error occurs. 78 structure or NULL if an error occurs. 81 B<ASN1_UTF8STRING> structure or NULL if an error occurs. 84 or NULL if an error occurs.
|
H A D | ERR_GET_LIB.pod | 6 - get information from error codes 20 The error code returned by ERR_get_error() consists of a library 24 ERR_FATAL_ERROR() indicates whether a given error code is a fatal error. 26 The library number describes where the error 41 The library number, reason code, and whether the error 47 Applications should not make control flow decisions based on specific error 49 OpenSSL). A particular error code can only be considered meaningful for control
|
H A D | CONF_modules_load_file.pod | 50 configuration modules are ignored. If not set the first module error is 53 Normally any modules errors will add error information to the error queue. If 54 B<CONF_MFLAGS_SILENT> is set no error information is added. 69 return an error. 77 an error: in this case B<CONF_MFLAGS_IGNORE_MISSING_FILE> would be set. 82 consider a configuration file error as fatal and exit immediately. 100 fprintf(stderr, "FATAL: error loading configuration file\n"); 110 fprintf(stderr, "FATAL: error loading configuration file\n"); 120 fprintf(stderr, "WARNING: error loading configuration file\n"); 124 Load and parse configuration file manually, custom error handling: [all …]
|
H A D | SSL_get_error.pod | 22 current thread's OpenSSL error queue. Thus, SSL_get_error() must be 25 thread's error queue must be empty before the TLS/SSL I/O operation is 33 B<SSL_ERROR_SYSCALL>, nothing was added to the error stack, and errno was 0. 34 Since OpenSSL 3.0 the returned error is B<SSL_ERROR_SSL> with a meaningful 35 error on the error stack (SSL_R_UNEXPECTED_EOF_WHILE_READING). This error reason 58 This error can also appear when the option B<SSL_OP_IGNORE_UNEXPECTED_EOF> 167 Some non-recoverable, fatal I/O error occurred. The OpenSSL error queue may 178 error. The OpenSSL error queue contains more information on the error. If this 179 error occurs then no further I/O operations should be performed on the 190 The SSL_ERROR_WANT_ASYNC error code was added in OpenSSL 1.1.0. [all …]
|
H A D | X509_ATTRIBUTE.pod | 121 Both I<x> and I<attr> must be non NULL or an error will occur. 123 passed in list. An error will occur if an existing attribute (with the same 131 already exists in the attribute list then an error occurs. 143 it is freed. An error occurs if either I<attr> or I<obj> are NULL, or if 152 required for that object type or an error will occur. 182 range of 0 to X509_ATTRIBUTE_count() - 1 or an error will occur. 216 there is a error. 221 X509_ATTRIBUTE_get0_type() returns NULL on error, otherwise it returns a 224 X509_ATTRIBUTE_get0_data() returns NULL if an error occurs, 232 a B<X509_ATTRIBUTE> on success, or NULL if there is a error. [all …]
|
/openssl/crypto/err/ |
H A D | openssl.txt | 12 ASN1_R_AUX_ERROR:100:aux error 22 ASN1_R_DECODE_ERROR:110:decode error 25 ASN1_R_ENCODE_ERROR:112:encode error 71 ASN1_R_LIST_ERROR:188:list error 217 CMP_R_ERROR_CREATING_ERROR:118:error creating error 325 CMS_R_CTRL_ERROR:110:ctrl error 452 CRMF_R_ERROR:103:error 528 DH_R_BN_ERROR:106:bn error 559 DSA_R_BN_ERROR:109:bn error 588 EC_R_ASN1_ERROR:115:asn1 error [all …]
|
H A D | README.md | 14 add all error codes used in the library to `xxx.h`. 36 The `BEGIN ERROR CODES` sequence is used by the error code 37 generation script as the point to place new error codes, any text 41 The generated C error code file `xxx_err.c` will load the header 46 Adding new error codes 49 Instead of manually adding error codes into `crypto/err/openssl.txt`, 50 it is recommended to leverage `make update` for error code generation. 51 The target will process relevant sources and generate error codes for 52 any *used* error codes. 54 If an error code is added manually into `crypto/err/openssl.txt`,
|
/openssl/test/ |
H A D | asn1_time_test.c | 163 int error = 0; in test_table() local 176 error = 1; in test_table() 183 error = 1; in test_table() 188 error = 1; in test_table() 192 error = 1; in test_table() 197 error = 1; in test_table() 202 error = 1; in test_table() 207 error = 1; in test_table() 213 error = 1; in test_table() 233 error = 1; in test_table() [all …]
|
/openssl/crypto/evp/ |
H A D | evp_pkey.c | 44 goto error; in evp_pkcs82pkey_legacy() 49 goto error; in evp_pkcs82pkey_legacy() 53 goto error; in evp_pkcs82pkey_legacy() 57 goto error; in evp_pkcs82pkey_legacy() 62 error: in evp_pkcs82pkey_legacy() 144 goto error; in EVP_PKEY2PKCS8() 150 goto error; in EVP_PKEY2PKCS8() 162 goto error; in EVP_PKEY2PKCS8() 166 goto error; in EVP_PKEY2PKCS8() 170 goto error; in EVP_PKEY2PKCS8() [all …]
|
/openssl/include/crypto/ |
H A D | md32_common.h | 73 # error "DATA_ORDER must be defined!" 77 # error "HASH_CBLOCK must be defined!" 80 # error "HASH_LONG must be defined!" 83 # error "HASH_CTX must be defined!" 87 # error "HASH_UPDATE must be defined!" 90 # error "HASH_TRANSFORM must be defined!" 93 # error "HASH_FINAL must be defined!" 97 # error "HASH_BLOCK_DATA_ORDER must be defined!" 246 # error "HASH_MAKE_STRING must be defined!" in HASH_FINAL()
|
/openssl/doc/man1/ |
H A D | openssl-errstr.pod.in | 6 openssl-errstr - lookup error codes 16 Sometimes an application will not load error message texts and only 33 The error code: 35 27594:error:2006D080:lib(32)::reason(128)::107: 41 to produce the error message: 43 error:2006D080:BIO routines::no such file
|
/openssl/providers/implementations/ciphers/ |
H A D | cipher_aes_gcm_siv_hw.c | 158 int error = 0; in aes_gcm_siv_encrypt() local 197 error |= !EVP_EncryptUpdate(ctx->ecb_ctx, ctx->tag, &out_len, S_s, sizeof(S_s)); in aes_gcm_siv_encrypt() 201 error |= !aes_gcm_siv_ctr32(ctx, counter_block, out, in, len); in aes_gcm_siv_encrypt() 203 ctx->generated_tag = !error; in aes_gcm_siv_encrypt() 206 return !error; in aes_gcm_siv_encrypt() 219 int error = 0; in aes_gcm_siv_decrypt() local 232 error |= !aes_gcm_siv_ctr32(ctx, counter_block, out, in, len); in aes_gcm_siv_decrypt() 268 ctx->generated_tag = !error; in aes_gcm_siv_decrypt() 271 return !error; in aes_gcm_siv_decrypt() 343 int error = 0; in aes_gcm_siv_ctr32() local [all …]
|
/openssl/crypto/rsa/ |
H A D | rsa_x931g.c | 159 goto error; in RSA_X931_generate_key_ex() 165 goto error; in RSA_X931_generate_key_ex() 167 goto error; in RSA_X931_generate_key_ex() 172 goto error; in RSA_X931_generate_key_ex() 178 goto error; in RSA_X931_generate_key_ex() 182 goto error; in RSA_X931_generate_key_ex() 191 goto error; in RSA_X931_generate_key_ex() 196 error: in RSA_X931_generate_key_ex()
|
/openssl/crypto/txt_db/ |
H A D | txt_db.c | 105 ret->error = DB_ERROR_WRONG_NUM_FIELDS; in TXT_DB_read() 134 db->error = DB_ERROR_INDEX_OUT_OF_RANGE; in TXT_DB_get_by_index() 139 db->error = DB_ERROR_NO_INDEX; in TXT_DB_get_by_index() 143 db->error = DB_ERROR_OK; in TXT_DB_get_by_index() 155 db->error = DB_ERROR_INDEX_OUT_OF_RANGE; in TXT_DB_create_index() 160 db->error = DB_ERROR_MALLOC; in TXT_DB_create_index() 169 db->error = DB_ERROR_INDEX_CLASH; in TXT_DB_create_index() 176 db->error = DB_ERROR_MALLOC; in TXT_DB_create_index() 245 db->error = DB_ERROR_INDEX_CLASH; in TXT_DB_insert() 267 db->error = DB_ERROR_MALLOC; in TXT_DB_insert()
|