/openssl/ |
H A D | Configure | 1216 my $value = $cmdvars{$_}; 1218 $value //= 1223 if (defined $value) { 1444 my $value = shift; 1450 $value = $value->(); 1455 return undef if ref $value ne 'ARRAY' && !$value; 1456 return undef if ref $value eq 'ARRAY' && !@$value; 1457 return [ $value ] unless ref $value eq 'ARRAY'; 1460 return $value; 1535 my $value; [all …]
|
/openssl/doc/man3/ |
H A D | SSL_CTX_set_tlsext_status_cb.pod | 43 Currently the only supported type is B<TLSEXT_STATUSTYPE_ocsp>. This value 51 acceptable or not. The callback will be passed as an argument the value 67 SSL_get_tlsext_status_ocsp_resp(). The value B<*resp> will be updated to point 68 to the OCSP response data and the return value will be the length of that data. 71 response data then B<*resp> will be NULL and the return value from 85 The callback when used on the client side should return a negative value on 87 fail) or a positive value if it is acceptable. 99 SSL_CTX_get_tlsext_status_type() returns the value previously set by
|
H A D | EVP_PKEY_settable_params.pod | 37 EVP_PKEY_set_int_param() sets an integer value I<in> into a key I<pkey> for the 40 EVP_PKEY_set_size_t_param() sets an size_t value I<in> into a key I<pkey> for 43 EVP_PKEY_set_bn_param() sets the BIGNUM value I<bn> into a key I<pkey> for the 49 EVP_PKEY_set_octet_string_param() sets the octet string value I<buf> with a 60 All other methods return 1 if a value was successfully set, or 0 if
|
H A D | OSSL_IETF_ATTR_SYNTAX.pod | 45 OSSL_IETF_ATTR_SYNTAX_get0_value() will return the value and a specific index I<ind> 47 value will be written to this location. 49 The I<type> of the values stored in the B<OSSL_IETF_ATTR_SYNTAX> value sequence is 74 OSSL_IETF_ATTR_SYNTAX_get_value_num() returns the number of entries in the value 77 OSSL_IETF_ATTR_SYNTAX_get0_value() returns a pointer to the value at the given index
|
H A D | SSL_get_stream_read_state.pod | 41 This value is returned if called on a non-QUIC SSL object, or on a QUIC 46 This value is returned on a stream which has not been concluded and remains 51 This value is returned if SSL_get_stream_read_state() is called on a 58 For SSL_get_stream_read_state(), this value is returned when the remote peer has 63 For SSL_get_stream_write_state(), this value is returned when the local 69 This value is returned when the applicable stream part was reset by the local 82 When this value is returned, the application error code which was signalled can 88 This value is returned when the applicable stream part was reset by the remote 100 When this value is returned, the application error code which was signalled can
|
H A D | BIO_set_callback.pod | 28 hidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value, 91 the value of B<oper>, that is the operation being performed. 101 B<ret> is the return value that would be returned to the 102 application if no callback were present. The actual value returned 103 is the return value of the callback itself. In the case of callbacks 105 the return value is not positive it will be immediately returned to 112 value returned to the application. 247 passed to BIO_sendmmsg(). B<ret> is the return value of the BIO_sendmmsg() call. 248 The return value of BIO_sendmmsg() is altered to the value returned by the 264 BIO_get_callback_arg() returns a B<char> pointer to the value previously set
|
H A D | OSSL_CMP_ATAV_set0.pod | 24 OSSL_CMP_ATAV *OSSL_CMP_ATAV_create(ASN1_OBJECT *type, ASN1_TYPE *value); 26 ASN1_TYPE *value); 50 infoValue of I<value>. 51 The pointers I<type> and I<value> may be NULL, otherwise 74 or -2 if the value is less than 1 or is greater than INT_MAX. 91 OSSL_CMP_ATAV_set0() and OSSL_CMP_ATAV_free() do not return a value.
|
/openssl/crypto/dh/ |
H A D | dh_pmeth.c | 223 const char *type, const char *value) in pkey_dh_ctrl_str() argument 227 len = atoi(value); in pkey_dh_ctrl_str() 234 id = atoi(value); in pkey_dh_ctrl_str() 242 int nid = OBJ_sn2nid(value); in pkey_dh_ctrl_str() 253 len = atoi(value); in pkey_dh_ctrl_str() 258 len = atoi(value); in pkey_dh_ctrl_str() 263 typ = atoi(value); in pkey_dh_ctrl_str() 268 pad = atoi(value); in pkey_dh_ctrl_str()
|
/openssl/doc/man7/ |
H A D | EVP_PKEY-EC.pod | 33 The value should be either "prime-field" or "characteristic-two-field", 53 I<seed> is an optional value that is for information purposes only. 68 I<cofactor> is an optional value. 79 if the value is zero. The cofactor variant multiplies the shared secret by the 95 "uncompressed" or "compressed". The default value is "uncompressed". 109 encoding the private key. The default value of 1 will include the public key. 113 The public key value in encoded EC point format conforming to Sec. 2.3.3 and 119 encoding the exported value via EVP_PKEY_todata() depends on the underlying 129 The private key value. 154 This value should not be reused for other purposes. It can only be used [all …]
|
H A D | EVP_KDF-TLS1_PRF.pod | 38 This parameter sets the secret value of the TLS PRF. 39 Any existing secret value is replaced. 61 The default value of 1 causes an error during EVP_KDF_derive() if 69 The default value of 1 causes an error during EVP_KDF_CTX_set_params() if 81 The default value of 1 causes an error during EVP_KDF_CTX_set_params() if the 98 The digest, secret value and seed must be set before a key is derived otherwise 107 and seed value "seed":
|
/openssl/crypto/asn1/ |
H A D | x_long.c | 66 static int num_bits_ulong(unsigned long value) in num_bits_ulong() argument 77 for (i = 0; i < sizeof(value) * 8; i++) { in num_bits_ulong() 78 ret += (value != 0); in num_bits_ulong() 79 value >>= 1; in num_bits_ulong()
|
/openssl/test/recipes/ |
H A D | 03-test_fipsinstall.t | 97 my ($key, $value, $outfile) = @_; 101 if ($value eq "") { 104 $rep = "$key = $value\n"; 115 my ($value, $outfile) = @_; 117 my $rep = "$value";
|
H A D | 90-test_sslapi.t | 99 my ($infile, $key, $value, $outfile) = @_; 102 if ($value eq "") { 105 $rep = "$key = $value\n";
|
/openssl/doc/internal/man3/ |
H A D | ossl_rcu_lock_new.pod | 47 ossl_rcu_assign_uptr() assigns the value pointed to by v to the 53 ossl_rcu_uptr_deref() returns the value stored at the 59 ossl_rcu_assign_ptr() assigns the value pointed to by v to 66 ossl_synchronize_rcu() in parallel. The value must be at least 1, but may be 68 internal memory usage. A value of 1 is generally recommended. The I<ctx> 124 ossl_rcu_deref() and ossl_rcu_uptr_deref() return the value pointed 125 to by the passed in value v. 127 All other functions return no value. 199 * 4) Update the shared pointer to the new value
|
/openssl/crypto/x509/ |
H A D | v3_pci.c | 97 if ((*language = OBJ_txt2obj(val->value, 0)) == NULL) { in process_pci_value() 115 char *valp = val->value; in process_pci_value() 203 val->value + 5, val_len); in process_pci_value() 237 X509V3_CTX *ctx, char *value) in r2i_pci() argument 246 vals = X509V3_parse_list(value); in r2i_pci() 250 if (!cnf->name || (*cnf->name != '@' && !cnf->value)) { in r2i_pci()
|
H A D | v3_akid.c | 122 if (cnf->value != NULL && strcmp(cnf->value, "always") != 0) { in v2i_AUTHORITY_KEYID() 124 "name=%s option=%s", cnf->name, cnf->value); in v2i_AUTHORITY_KEYID() 129 if (cnf->value != NULL) in v2i_AUTHORITY_KEYID() 133 if (cnf->value != NULL) in v2i_AUTHORITY_KEYID()
|
H A D | v3_crld.c | 73 if (cnf->value == NULL) { in set_dist_point_name() 79 fnm = gnames_from_sectname(ctx, cnf->value); in set_dist_point_name() 89 dnsect = X509V3_get_section(ctx, cnf->value); in set_dist_point_name() 150 static int set_reasons(ASN1_BIT_STRING **preas, char *value) in set_reasons() argument 156 rsk = X509V3_parse_list(value); in set_reasons() 225 if (!set_reasons(&point->reasons, cnf->value)) in crldp_from_section() 228 point->CRLissuer = gnames_from_sectname(ctx, cnf->value); in crldp_from_section() 260 if (cnf->value == NULL) { in v2i_crld() 388 val = cnf->value; in v2i_idp()
|
/openssl/apps/ |
H A D | req.c | 64 char *value, int nid, int n_min, int n_max, 66 static int build_data(char *text, const char *def, char *value, 1131 char *type, *value; in prompt_info() local 1193 value = NULL; in prompt_info() 1205 if (!add_DN_object(subj, v->value, def, value, nid, in prompt_info() 1256 v->value, def, value, nid, n_min, in prompt_info() 1379 static int build_data(char *text, const char *def, char *value, in build_data() argument 1388 if (value != NULL) { in build_data() 1389 if (!join(buf, buf_size, value, "\n", desc1)) in build_data() 1391 BIO_printf(bio_err, "%s\n", value); in build_data() [all …]
|
/openssl/ssl/quic/ |
H A D | qlog.c | 467 ossl_json_str(&qlog->json, value); in ossl_qlog_str() 471 const char *value, size_t value_len) in ossl_qlog_str_len() argument 476 ossl_json_str_len(&qlog->json, value, value_len); in ossl_qlog_str_len() 479 void ossl_qlog_u64(QLOG *qlog, const char *name, uint64_t value) in ossl_qlog_u64() argument 484 ossl_json_u64(&qlog->json, value); in ossl_qlog_u64() 487 void ossl_qlog_i64(QLOG *qlog, const char *name, int64_t value) in ossl_qlog_i64() argument 492 ossl_json_i64(&qlog->json, value); in ossl_qlog_i64() 495 void ossl_qlog_bool(QLOG *qlog, const char *name, int value) in ossl_qlog_bool() argument 500 ossl_json_bool(&qlog->json, value); in ossl_qlog_bool() 504 const void *value, size_t value_len) in ossl_qlog_bin() argument [all …]
|
/openssl/crypto/ocsp/ |
H A D | ocsp_ext.c | 62 int OCSP_REQUEST_add1_ext_i2d(OCSP_REQUEST *x, int nid, void *value, int crit, in OCSP_REQUEST_add1_ext_i2d() argument 65 return X509V3_add1_i2d(&x->tbsRequest.requestExtensions, nid, value, in OCSP_REQUEST_add1_ext_i2d() 114 int OCSP_ONEREQ_add1_ext_i2d(OCSP_ONEREQ *x, int nid, void *value, int crit, in OCSP_ONEREQ_add1_ext_i2d() argument 117 return X509V3_add1_i2d(&x->singleRequestExtensions, nid, value, crit, in OCSP_ONEREQ_add1_ext_i2d() 170 int OCSP_BASICRESP_add1_ext_i2d(OCSP_BASICRESP *x, int nid, void *value, in OCSP_BASICRESP_add1_ext_i2d() argument 174 value, crit, flags); in OCSP_BASICRESP_add1_ext_i2d() 223 int OCSP_SINGLERESP_add1_ext_i2d(OCSP_SINGLERESP *x, int nid, void *value, in OCSP_SINGLERESP_add1_ext_i2d() argument 226 return X509V3_add1_i2d(&x->singleExtensions, nid, value, crit, flags); in OCSP_SINGLERESP_add1_ext_i2d()
|
/openssl/crypto/ec/ |
H A D | ec_pmeth.c | 389 const char *type, const char *value) in pkey_ec_ctrl_str() argument 393 nid = EC_curve_nist2nid(value); in pkey_ec_ctrl_str() 395 nid = OBJ_sn2nid(value); in pkey_ec_ctrl_str() 397 nid = OBJ_ln2nid(value); in pkey_ec_ctrl_str() 405 if (strcmp(value, "explicit") == 0) in pkey_ec_ctrl_str() 407 else if (strcmp(value, "named_curve") == 0) in pkey_ec_ctrl_str() 414 if ((md = EVP_get_digestbyname(value)) == NULL) { in pkey_ec_ctrl_str() 421 co_mode = atoi(value); in pkey_ec_ctrl_str()
|
/openssl/apps/lib/ |
H A D | http_server.c | 416 char *key, *value; in http_server_get_asn1_req() local 441 value = strchr(key, ':'); in http_server_get_asn1_req() 442 if (value == NULL) { in http_server_get_asn1_req() 448 *(value++) = '\0'; in http_server_get_asn1_req() 449 while (*value == ' ') in http_server_get_asn1_req() 450 value++; in http_server_get_asn1_req() 454 if (OPENSSL_strcasecmp(value, "keep-alive") == 0) in http_server_get_asn1_req() 456 else if (OPENSSL_strcasecmp(value, "close") == 0) in http_server_get_asn1_req()
|
/openssl/include/crypto/ |
H A D | riscv_arch.def | 23 * When there is no hwprobe key/value pair for a capability, the key is set to -1 24 * and the value is set to 0, as when the hwprobe syscall returns a key of -1, 25 * the value is set to 0 and the corresponding capability would not be enabled. 27 * RISCV_DEFINE_CAP(EXTENSION NAME, array index, bit index, hwprobe key, hwprobe value) */
|
/openssl/crypto/ |
H A D | provider_local.h | 14 char *value; member 33 const char *value);
|
H A D | initthread.c | 141 CRYPTO_THREAD_LOCAL value; member 204 if (!CRYPTO_THREAD_init_local(&destructor_key.value, in ossl_init_thread() 214 CRYPTO_THREAD_cleanup_local(&destructor_key.value); in ossl_cleanup_thread() 233 = init_get_thread_local(&destructor_key.value, 0, 0); in OPENSSL_thread_stop() 245 = init_get_thread_local(&destructor_key.value, 0, 1); in ossl_ctx_thread_stop() 389 CRYPTO_THREAD_LOCAL *local = &destructor_key.value; in ossl_init_thread_start()
|