/openssl-master/ssl/ |
A D | ssl_asn1.c | 109 SSL_SESSION_ASN1 as; in i2d_SSL_SESSION() local 134 memset(&as, 0, sizeof(as)); in i2d_SSL_SESSION() 166 as.time = (int64_t)in->time; in i2d_SSL_SESSION() 170 as.peer = in->peer; in i2d_SSL_SESSION() 190 as.flags = in->flags; in i2d_SSL_SESSION() 254 if (as == NULL) in d2i_SSL_SESSION() 304 if (as->time != 0) in d2i_SSL_SESSION() 309 if (as->timeout != 0) in d2i_SSL_SESSION() 316 ret->peer = as->peer; in d2i_SSL_SESSION() 317 as->peer = NULL; in d2i_SSL_SESSION() [all …]
|
/openssl-master/doc/man3/ |
A D | ERR_get_error.pod | 63 such as the reason of the error, 71 An unset filename is indicated as "", i.e. an empty string. 72 An unset line number is indicated as 0. 73 An unset function name is indicated as "", i.e. an empty string. 78 ERR_peek_error_line() and ERR_peek_last_error_line() are the same as 81 *I<line>, as far as they are not NULL. 82 An unset filename is indicated as "", i.e., an empty string. 83 An unset line number is indicated as 0. 89 An unset function name is indicated as "". 94 and *I<flags>, as far as they are not NULL. [all …]
|
A D | OPENSSL_LH_COMPFUNC.pod | 62 for any of the OpenSSL datatypes, such as I<SSL_SESSION>. 67 callback takes a pointer to a table entry as its argument and returns 79 B<lh_I<TYPE>_new>() as shown in this example: 133 I<func> with the data item as its parameter. 158 I<func> will be called with I<arg> as the second argument and I<func> 219 The LHASH code is not thread safe. All updating operations, as well as 227 The LHASH code regards table entries as constant data. As such, it 232 consistency, user-provided data is "const" at all times as far as the 235 all such parameters as constant. 239 indexed in the hash table (i.e. it is returned as "const" from [all …]
|
A D | OSSL_CMP_exec_certreq.pod | 43 All functions take a populated OSSL_CMP_CTX structure as their first argument. 44 Usually the server name, port, and path ("CMP alias") need to be set, as well as 63 These four types of certificate enrollment are implemented as macros 81 constructed as stated above using the I<req_type> and optional I<crm> parameter. 94 OSSL_CMP_try_certreq() again with the same parameter values as before. 98 a negative value as the I<req_type> argument then OSSL_CMP_try_certreq() 104 We take "accepted" and "grantedWithMods" as clear success and handle 105 "revocationWarning" and "revocationNotification" just as warnings because CAs 106 typically return them as an indication that the certificate was already revoked. 108 make no sense for revocation and thus are treated as an error as well.
|
A D | SSL_set_bio.pod | 24 the same value as previously). 26 SSL_set0_wbio() works in the same as SSL_set0_rbio() except that it connects 55 the same as the previously set value then one reference is consumed. 60 same as the previously set value, then no additional references are consumed. 65 same as the 72 same as the previously set value and the old B<rbio> and B<wbio> values 73 were the same as each other then one reference is consumed for the B<rbio> 79 is the same as the
|
A D | X509_verify_cert.pod | 23 If I<store> is NULL it builds the chain as far down as possible, ignoring errors. 40 a set of certificates serving as trust anchors, 42 flags such as X509_V_FLAG_X509_STRICT, and various other optional components 43 such as a callback function that allows customizing the verification outcome. 52 incorrectly, such as with no certificate set in I<ctx>, or when it is called 58 Applications must interpret any return value <= 0 as an error. 70 otherwise they return 0, and in exceptional circumstances (such as malloc
|
A D | SSL_in_init.pod | 37 Note that in some circumstances (such as when early data is being transferred) 40 SSL_in_connect_init() returns 1 if B<s> is acting as a client and SSL_in_init() 43 SSL_in_accept_init() returns 1 if B<s> is acting as a server and SSL_in_init() 46 SSL_in_connect_init() and SSL_in_accept_init() are implemented as macros. 52 state values. The naming format is made up of a number of elements as follows: 91 and SSL_in_accept_init() return values as indicated above.
|
A D | X509_check_issued.pod | 21 I<subject>, as far as present, with the respective B<subjectKeyIdentifier>, 22 serial number, and issuer fields of I<issuer>, as far as present. It also checks
|
/openssl-master/crypto/objects/ |
A D | README.md | 7 The basic syntax for adding an object is as follows: 12 (0x2D) or full stop (0x2E) then Long Name is used as basis 26 OBJ_foo will be created as a result. 30 This makes sure that the name foo will be used as base name 42 Lines starting with `#` are treated as comments, as well as any line starting
|
/openssl-master/crypto/ec/curve448/arch_32/ |
A D | f_impl32.c | 24 void gf_mul(gf_s * RESTRICT cs, const gf as, const gf bs) 26 const uint32_t *a = as->limb, *b = bs->limb; 73 void gf_mulw_unsigned(gf_s * RESTRICT cs, const gf as, uint32_t b) 75 const uint32_t *a = as->limb; 101 void gf_sqr(gf_s * RESTRICT cs, const gf as) 103 gf_mul(cs, as, as); /* Performs better with a dedicated square */
|
/openssl-master/crypto/x509/ |
A D | v3_admis.c | 240 const GENERAL_NAME *ADMISSION_SYNTAX_get0_admissionAuthority(const ADMISSION_SYNTAX *as) in ADMISSION_SYNTAX_get0_admissionAuthority() argument 242 return as->admissionAuthority; in ADMISSION_SYNTAX_get0_admissionAuthority() 245 void ADMISSION_SYNTAX_set0_admissionAuthority(ADMISSION_SYNTAX *as, in ADMISSION_SYNTAX_set0_admissionAuthority() argument 248 GENERAL_NAME_free(as->admissionAuthority); in ADMISSION_SYNTAX_set0_admissionAuthority() 249 as->admissionAuthority = aa; in ADMISSION_SYNTAX_set0_admissionAuthority() 254 return as->contentsOfAdmissions; in STACK_OF() 257 void ADMISSION_SYNTAX_set0_contentsOfAdmissions(ADMISSION_SYNTAX *as, in ADMISSION_SYNTAX_set0_contentsOfAdmissions() argument 260 sk_ADMISSIONS_pop_free(as->contentsOfAdmissions, ADMISSIONS_free); in ADMISSION_SYNTAX_set0_contentsOfAdmissions() 261 as->contentsOfAdmissions = a; in ADMISSION_SYNTAX_set0_contentsOfAdmissions() 327 STACK_OF(ASN1_STRING) *as) in PROFESSION_INFO_set0_professionItems() [all …]
|
/openssl-master/doc/man7/ |
A D | ossl_store-file.pod | 28 In case a file is formatted as PEM, each called file handler receives 29 the PEM name (everything following any 'C<-----BEGIN >') as well as 34 If the file isn't determined to be formatted as PEM, the content is 36 handlers as is, with no PEM name or headers. 38 Each file handler is expected to handle PEM and non-PEM content as 41 represented as an ASN.1 OCTET STRING. In raw form, it's not easily 42 possible to distinguish those from any other data coming as an ASN.1 43 OCTET STRING, so such keys would naturally be accepted as PEM files
|
A D | openssl-threads.pod | 14 API, as shown in L<CRYPTO_THREAD_run_once(3)/EXAMPLES>. 26 References are often increased automatically (such as when an B<X509> 45 Get methods are often thread-safe as long as the ownership requirements are 48 as discussed below. 51 as long as the API's being invoked don't modify the object; in this 52 case the parameter is usually marked in the API as C<const>. 60 internal state, such as cached values, are done with locks. 64 mutate an object, such as setting elements of a private or public key, 65 while another thread is using that object, such as verifying a signature. 76 Some API's, such as L<NCONF_load(3)> and related do no locking at all;
|
A D | openssl-glossary.pod | 15 Cryptograpic primitives such as the SHA256 digest, or AES encryption are 16 referred to in OpenSSL as "algorithms". There can be more than one 42 external format such as PEM or DER. 59 such as private and public keys, certificates, CRLs, ... 68 external format such as PEM or DER. 76 implementation such as L<EVP_MD_fetch(3)> or L<EVP_CIPHER_fetch(3)> 113 be thought of as a scope within which configuration options apply. If an 135 An operation is a group of OpenSSL functions with a common purpose such as 166 key data in unencrypted form (known as "PrivateKeyInfo") and an encrypted 167 wrapper structure (known as "EncryptedPrivateKeyInfo"). [all …]
|
A D | passphrase-encoding.pod | 19 The OpenSSL library doesn't treat pass phrases in any special way as a general 30 The standard stipulates that the pass phrase shall be encoded as an ASN.1 40 Treats the received pass phrase as UTF-8 encoded and tries to re-encode it to 41 UTF-16 (which is the same as UCS-2 for characters U+0000 to U+D7FF and U+E000 49 encoding of the characters, which it stores as a BMPString. 53 for other character sets, such as any ISO-8859-X encoding other than 64 A pass phrase encoded in ISO-8859-2 could very well have a sequence such as 77 than 1.1.0 was misinterpreted as ISO-8859-1 sequences. 81 L<ossl_store(7)> acts as a general interface to access all kinds of objects, 107 For other objects, it's as legitimate to use any byte sequence (such as a [all …]
|
A D | provider-keymgmt.pod | 13 * the function signatures for functions that are offered as function 90 B<OSSL_DISPATCH> arrays are indexed by numbers that are provided as 91 macros in L<openssl-core_dispatch.h(7)>, as follows: 126 represented as I<keydata> in this manual. 133 operations, such as OP_signature_sign_init() (see 177 =for comment This should used by EVP functions such as 257 OSSL_FUNC_keymgmt_load() are mandatory, as well as OSSL_FUNC_keymgmt_free() and 260 present as well. 300 RSA keys the function should just return 1 as the selected subset 331 I<param_cb> with that array as well as the given I<cbarg>. [all …]
|
/openssl-master/crypto/bn/asm/ |
A D | co-586.pl | 119 local($i,$as,$ae,$bs,$be,$ai,$bi); 130 $as=0; 150 $ai=$as; 173 $na=$as+($i < ($num-1)); 188 $as++ if ($i < ($num-1)); 210 local($i,$as,$ae,$bs,$be,$ai,$bi); 231 $as=0; 239 $ai=$as; 261 $na=$as+($i < ($num-1)); 284 $as++ if ($i < ($num-1));
|
/openssl-master/test/ |
A D | ecdsatest.c | 188 static int test_builtin(int n, int as) in test_builtin() argument 211 if (nid == NID_sm2 && as == EVP_PKEY_EC) { in test_builtin() 215 } else if (nid != NID_sm2 && as == EVP_PKEY_SM2) { in test_builtin() 222 as == EVP_PKEY_EC ? "EC" : "SM2"); in test_builtin() 250 || (as == EVP_PKEY_SM2 && !set_sm2_id(mctx, pkey)) in test_builtin() 261 || (as == EVP_PKEY_SM2 && !set_sm2_id(mctx, pkey)) in test_builtin() 266 || (as == EVP_PKEY_SM2 && !set_sm2_id(mctx, pkey)) in test_builtin() 274 || (as == EVP_PKEY_SM2 && !set_sm2_id(mctx, pkey)) in test_builtin() 281 || (as == EVP_PKEY_SM2 && !set_sm2_id(mctx, pkey)) in test_builtin() 316 || (as == EVP_PKEY_SM2 && !set_sm2_id(mctx, pkey)) in test_builtin() [all …]
|
/openssl-master/test/ssl-tests/ |
A D | 03-custom_verify.cnf.in | 25 # Same test as above but with a custom callback that always fails. 40 # Same test as above but with a custom callback that always succeeds. 54 # Same test as above but with a custom callback that requests retry once. 80 # Same test as above but with a custom callback that always fails. 97 # Same test as above but with a custom callback that always succeeds. 129 # Same test as above but with a custom callback that always succeeds. 144 # Same test as above but with a custom callback that always fails.
|
/openssl-master/ |
A D | NOTES-PERL.md | 18 However, if you install Perl as binary packages, the outcome might 24 install the core Perl modules as well, so you will be fine. 35 There are a number of build targets that can be viewed as "Windows". 36 Indeed, there are `VC-*` configs targeting VisualStudio C, as well as 58 Perl is installed on HPE NonStop platforms as part of the Scripting Languages 59 package T1203PAX file. The package is shipped as part of a NonStop RVU 63 instructions for your operating system release as described in the 75 in the source. It will work as a fallback if the module isn't already 89 descriptions below, `Text::Template` will serve as an example.
|
/openssl-master/doc/man1/ |
A D | openssl-namedisplay-options.pod | 59 Escape the "special" characters in a field, as required by RFC 2253. 65 Escape the "special" characters in a field as required by RFC 2254 in a field. 77 values larger than 127, as described in B<esc_ctrl>. 88 Convert all strings to UTF-8 format first as required by RFC 2253. 93 will be output as C<\UXXXX> for 16 bits or C<\WXXXXXXXX> for 32 bits. 99 way. That is, the content octets are merely dumped as though one octet 106 such as C<BMPSTRING: Hello World>. 117 Dump non-character strings, such as ASN.1 B<OCTET STRING>. 119 as though each content octet represents a single character. 145 Reverse the fields of the DN as required by RFC 2253. [all …]
|
/openssl-master/Configurations/ |
A D | README.md | 11 programming with the "unified" build system' as well 12 as 'Build info files' for more information. 52 given, as the build file defaults are 76 it gets the same value as cflags. 162 as well. Valid values are "DLFCN" 246 Note 1: any configuration table can be used as a template. 248 cannot be used as build targets. 258 be called with the list of inherited values for that key as 416 others, that's done as follows: 456 Together with the use of Text::Template, this can be used as [all …]
|
A D | README-design.md | 13 information database as a hash table called `%unified_info`, which is 15 or may not be the same as the source tree). 18 generate the rules for building end product files as well as 29 as scripts, library files and programs) and source files (such as C 40 end products. There are variants for them with `_NO_INST` as suffix 180 The indexes for `SOURCE` must only be end product files, such as 195 source tree (such as `crypto/bildinf.h` in the example above) are 405 we need to build `ssl/tls.o` as well as `libcrypto`, and to build the 505 supporting files are needed (such as import 523 This is almost the same as obj2shlib, but the [all …]
|
/openssl-master/doc/man5/ |
A D | x509v3_config.pod | 11 and CLI options such as B<-addext>. 17 This page uses B<extensions> as the name of the section, when needed 86 numeric identifier, as shown here: 165 and servers, and this is what OpenSSL assumes as well. 198 By default the B<x509>, B<req>, and B<ca> apps behave as if 205 if the issuer certificate is the same as the current certificate. 239 the distinguished name to use, as a set of name-value pairs. 314 be set with the given value as the fullName field as the distributionPoint 329 The value is taken as a distinguished name fragment that is set as the 383 The value is taken as a distinguished name fragment that is set as the [all …]
|
/openssl-master/doc/internal/man3/ |
A D | ossl_DER_w_precompiled.pod | 19 the buffer held by I<pkt>. For example, precompiled values, such as 21 (for example, C<sha256Identifier>). To add those as an element in a 24 ossl_DER_w_precompiled() will simply take the DER encoded blob given as 32 mean that the values given to the functions are invalid, such as the provided
|