Home
last modified time | relevance | path

Searched refs:value (Results 1 – 25 of 863) sorted by relevance

12345678910>>...35

/openssl/crypto/asn1/
H A Da_utf8.c31 unsigned long value; in UTF8_getc() local
39 value = *p++ & 0x7f; in UTF8_getc()
47 value |= *p++ & 0x3f; in UTF8_getc()
48 if (value < 0x80) in UTF8_getc()
59 value |= *p++ & 0x3f; in UTF8_getc()
60 if (value < 0x800) in UTF8_getc()
76 if (value < 0x10000) in UTF8_getc()
81 *val = value; in UTF8_getc()
99 if (value < 0x80) { in UTF8_putc()
104 if (value < 0x800) { in UTF8_putc()
[all …]
H A Da_mbstr.c212 unsigned long value; in traverse_string() local
216 value = *p++; in traverse_string()
219 value = *p++ << 8; in traverse_string()
220 value |= *p++; in traverse_string()
225 value |= *p++ << 8; in traverse_string()
226 value |= *p++; in traverse_string()
236 ret = rfunc(value, arg); in traverse_string()
252 if (!is_unicode_valid(value)) in in_utf8()
265 len = UTF8_putc(NULL, -1, value); in out_utf8()
281 const int native = value > INT_MAX ? INT_MAX : ossl_fromascii(value); in type_str()
[all …]
H A Da_type.c20 || a->value.ptr != NULL) in ASN1_TYPE_get()
26 void ASN1_TYPE_set(ASN1_TYPE *a, int type, void *value) in ASN1_TYPE_set() argument
30 && a->value.ptr != NULL) { in ASN1_TYPE_set()
36 a->value.boolean = value ? 0xff : 0; in ASN1_TYPE_set()
38 a->value.ptr = value; in ASN1_TYPE_set()
43 if (!value || (type == V_ASN1_BOOLEAN)) { in ASN1_TYPE_set1()
44 void *p = (void *)value; in ASN1_TYPE_set1()
48 odup = OBJ_dup(value); in ASN1_TYPE_set1()
54 sdup = ASN1_STRING_dup(value); in ASN1_TYPE_set1()
72 result = OBJ_cmp(a->value.object, b->value.object); in ASN1_TYPE_cmp()
[all …]
H A Dasn_mstbl.c18 static int do_tcreate(const char *value, const char *name);
34 if (!do_tcreate(mval->value, mval->name)) { in stbl_module_init()
57 static int do_tcreate(const char *value, const char *name) in do_tcreate() argument
70 lst = X509V3_parse_list(value); in do_tcreate()
75 if (cnf->value == NULL) in do_tcreate()
78 tbl_min = strtoul(cnf->value, &eptr, 0); in do_tcreate()
82 tbl_max = strtoul(cnf->value, &eptr, 0); in do_tcreate()
89 if (strcmp(cnf->value, "nomask") == 0) in do_tcreate()
91 else if (strcmp(cnf->value, "none") == 0) in do_tcreate()
104 cnf->value != NULL ? cnf->value in do_tcreate()
[all …]
/openssl/test/helpers/
H A Dssl_test_ctx.c61 int value; member
71 *value = enums[i].value; in parse_enum()
83 if (enums[i].value == value) { in enum_name()
466 value)) { in parse_certstatus()
524 if (value == NULL) in parse_expected_key_type()
530 nid = OBJ_sn2nid(value); in parse_expected_key_type()
532 nid = OBJ_ln2nid(value); in parse_expected_key_type()
595 if (value == NULL) in parse_expected_sign_hash()
597 nid = OBJ_sn2nid(value); in parse_expected_sign_hash()
599 nid = OBJ_ln2nid(value); in parse_expected_sign_hash()
[all …]
/openssl/crypto/x509/
H A Dv3_san.c228 gen->d.otherName->value->value.utf8string->data); in GENERAL_NAME_print()
233 gen->d.otherName->value->value.utf8string->data); in GENERAL_NAME_print()
237 gen->d.otherName->value->value.ia5string->length, in GENERAL_NAME_print()
238 gen->d.otherName->value->value.ia5string->data); in GENERAL_NAME_print()
243 gen->d.otherName->value->value.utf8string->data); in GENERAL_NAME_print()
317 && cnf->value && strcmp(cnf->value, "copy") == 0) { in v2i_issuer_alt()
396 && cnf->value && strcmp(cnf->value, "copy") == 0) { in v2i_subject_alt()
400 && cnf->value && strcmp(cnf->value, "move") == 0) { in v2i_subject_alt()
514 if (!value) { in a2i_GENERAL_NAME()
608 value = cnf->value; in v2i_GENERAL_NAME_ex()
[all …]
H A Dx_attrib.c53 ASN1_TYPE_set(val, atrtype, value);
81 unsigned char *value; in ossl_print_attribute_value() local
88 if (av->value.boolean) { in ossl_print_attribute_value()
101 str = av->value.integer; in ossl_print_attribute_value()
123 return print_oid(out, av->value.object); in ossl_print_attribute_value()
134 av->value.generalstring->length, in ossl_print_attribute_value()
142 av->value.utf8string->length, in ossl_print_attribute_value()
170 value = av->value.sequence->data; in ossl_print_attribute_value()
190 return ASN1_parse_dump(out, av->value.set->data, in ossl_print_attribute_value()
213 av->value.t61string->length, in ossl_print_attribute_value()
[all …]
H A Dv3_conf.c21 static int v3_check_generic(const char **value);
42 crit = v3_check_critical(&value); in X509V3_EXT_nconf_int()
70 crit = v3_check_critical(&value); in X509V3_EXT_nconf_nid()
97 if (*value == '@') in do_ext_nconf()
104 if (*value != '@') in do_ext_nconf()
109 if (*value != '@') in do_ext_nconf()
208 const char *p = *value; in v3_check_critical()
214 *value = p; in v3_check_critical()
222 const char *p = *value; in v3_check_generic()
233 *value = p; in v3_check_generic()
[all …]
H A Dv3_ist.c54 || cnf->value == NULL
55 || !ASN1_STRING_set(ist->signTool, cnf->value, strlen(cnf->value))) {
62 || cnf->value == NULL
63 || !ASN1_STRING_set(ist->cATool, cnf->value, strlen(cnf->value))) {
70 || cnf->value == NULL
71 || !ASN1_STRING_set(ist->signToolCert, cnf->value, strlen(cnf->value))) {
78 || cnf->value == NULL
79 || !ASN1_STRING_set(ist->cAToolCert, cnf->value, strlen(cnf->value))) {
H A Dv3_genn.c19 ASN1_EXP(OTHERNAME, value, ASN1_ANY, 0)
173 result = ASN1_TYPE_cmp(a->value, b->value); in OTHERNAME_cmp()
181 a->d.x400Address = value; in GENERAL_NAME_set0_value()
185 a->d.ediPartyName = value; in GENERAL_NAME_set0_value()
189 a->d.otherName = value; in GENERAL_NAME_set0_value()
195 a->d.ia5 = value; in GENERAL_NAME_set0_value()
199 a->d.dirn = value; in GENERAL_NAME_set0_value()
203 a->d.ip = value; in GENERAL_NAME_set0_value()
207 a->d.rid = value; in GENERAL_NAME_set0_value()
253 ASN1_TYPE_free(oth->value); in GENERAL_NAME_set0_othername()
[all …]
/openssl/include/internal/
H A Dqlog.h110 const char *value, size_t value_len);
113 void ossl_qlog_bool(QLOG *qlog, const char *name, int value);
115 const void *value, size_t value_len);
118 # define QLOG_STR(name, value) ossl_qlog_str(qlog_instance, (name), (value)) argument
121 # define QLOG_I64(name, value) ossl_qlog_i64(qlog_instance, (name), (value)) argument
122 # define QLOG_U64(name, value) ossl_qlog_u64(qlog_instance, (name), (value)) argument
123 # define QLOG_F64(name, value) ossl_qlog_f64(qlog_instance, (name), (value)) argument
124 # define QLOG_BOOL(name, value) ossl_qlog_bool(qlog_instance, (name), (value)) argument
125 # define QLOG_BIN(name, value, value_len) \ argument
126 ossl_qlog_bin(qlog_instance, (name), (value), (value_len))
[all …]
H A Dunicode.h21 static ossl_unused ossl_inline int is_unicode_surrogate(unsigned long value) in is_unicode_surrogate() argument
23 return value >= SURROGATE_MIN && value <= SURROGATE_MAX; in is_unicode_surrogate()
26 static ossl_unused ossl_inline int is_unicode_valid(unsigned long value) in is_unicode_valid() argument
28 return value <= UNICODE_MAX && !is_unicode_surrogate(value); in is_unicode_valid()
H A Dhashtable.h34 void *value; member
121 #define HT_SET_KEY_FIELD(key, member, value) (key)->keyfields.member = value; argument
127 #define HT_SET_KEY_STRING(key, member, value) do { \ argument
128 if ((value) != NULL) \
138 #define HT_SET_KEY_STRING_CASE(key, member, value) do { \ argument
145 #define HT_SET_KEY_BLOB(key, member, value, len) do { \ argument
146 if (value != NULL) \
147 memcpy((key)->keyfields.member, value, len); \
178 inval.value = data; \
182 *olddata = (vtype *)oval->value; \
[all …]
/openssl/crypto/perlasm/
H A Dx86_64-xlate.pl307 $self->{value} = $1;
320 my $value = $self->{value};
324 $self->{value} = $value;
328 my $value = $self->{value};
330 sprintf "%s",$value;
455 $self->{value} = $2;
481 $self->{value},
495 $self->{value} = $1;
507 my $func = ($globals{$self->{value}} or $self->{value}) . ":";
578 $self->{value};
[all …]
/openssl/ssl/
H A Dssl_conf.c228 return cmd_Groups(cctx, value); in cmd_Curves()
242 strcmp(value, "auto") == 0) in cmd_ECDHParameters()
246 if (strchr(value, ':') != NULL) in cmd_ECDHParameters()
409 if (value == NULL) in cmd_Options()
430 if (value == NULL) in cmd_VerifyMode()
573 return cmd_RequestCAFile(cctx, value); in cmd_ClientCAFile()
667 copy = OPENSSL_strdup(value); in cmd_RecordPadding()
702 int num_tickets = atoi(value); in cmd_NumTickets()
964 if (value == NULL) in SSL_CONF_cmd()
966 rv = runcmd->cmd(cctx, value); in SSL_CONF_cmd()
[all …]
/openssl/crypto/pkcs12/
H A Dp12_sbag.c38 return bag->value.keybag; in PKCS12_SAFEBAG_get0_p8inf()
45 return bag->value.shkeybag; in PKCS12_SAFEBAG_get0_pkcs8()
53 return bag->value.safes; in STACK_OF()
82 return bag->value.bag->value.other; in PKCS12_SAFEBAG_get0_bag_obj()
91 return ASN1_item_unpack(bag->value.bag->value.octet, in PKCS12_SAFEBAG_get1_cert()
101 return ASN1_item_unpack(bag->value.bag->value.octet, in PKCS12_SAFEBAG_get1_crl()
114 ret = ASN1_item_unpack_ex(bag->value.bag->value.octet, in PKCS12_SAFEBAG_get1_cert_ex()
132 ret = ASN1_item_unpack_ex(bag->value.bag->value.octet, in PKCS12_SAFEBAG_get1_crl_ex()
198 safebag->value.bag = bag; in PKCS12_SAFEBAG_create_secret()
218 bag->value.keybag = p8; in PKCS12_SAFEBAG_create0_p8inf()
[all …]
H A Dp12_asn.c49 ASN1_ADB_TEMPLATE(bag_default) = ASN1_EXP(PKCS12_BAGS, value.other, ASN1_ANY, 0);
52 ADB_ENTRY(NID_x509Certificate, ASN1_EXP(PKCS12_BAGS, value.x509cert, ASN1_OCTET_STRING, 0)),
53 ADB_ENTRY(NID_x509Crl, ASN1_EXP(PKCS12_BAGS, value.x509crl, ASN1_OCTET_STRING, 0)),
54 ADB_ENTRY(NID_sdsiCertificate, ASN1_EXP(PKCS12_BAGS, value.sdsicert, ASN1_IA5STRING, 0)),
64 ASN1_ADB_TEMPLATE(safebag_default) = ASN1_EXP(PKCS12_SAFEBAG, value.other, ASN1_ANY, 0);
67 ADB_ENTRY(NID_keyBag, ASN1_EXP(PKCS12_SAFEBAG, value.keybag, PKCS8_PRIV_KEY_INFO, 0)),
68 ADB_ENTRY(NID_pkcs8ShroudedKeyBag, ASN1_EXP(PKCS12_SAFEBAG, value.shkeybag, X509_SIG, 0)),
69 …ADB_ENTRY(NID_safeContentsBag, ASN1_EXP_SEQUENCE_OF(PKCS12_SAFEBAG, value.safes, PKCS12_SAFEBAG, 0…
70 ADB_ENTRY(NID_certBag, ASN1_EXP(PKCS12_SAFEBAG, value.bag, PKCS12_BAGS, 0)),
71 ADB_ENTRY(NID_crlBag, ASN1_EXP(PKCS12_SAFEBAG, value.bag, PKCS12_BAGS, 0)),
[all …]
/openssl/apps/lib/
H A Dapp_x509.c23 static ASN1_OCTET_STRING *mk_octet_string(void *value, size_t value_n) in mk_octet_string() argument
29 } else if (!ASN1_OCTET_STRING_set(v, value, (int)value_n)) { in mk_octet_string()
37 static int x509_ctrl(void *object, int cmd, void *value, size_t value_n) in x509_ctrl() argument
43 ASN1_OCTET_STRING *v = mk_octet_string(value, value_n); in x509_ctrl()
67 ASN1_OCTET_STRING *v = mk_octet_string(value, value_n); in x509_req_ctrl()
87 void *object, const char *value) in do_x509_ctrl_string() argument
94 stmp = OPENSSL_strdup(value); in do_x509_ctrl_string()
129 int x509_ctrl_string(X509 *x, const char *value) in x509_ctrl_string() argument
131 return do_x509_ctrl_string(x509_ctrl, x, value); in x509_ctrl_string()
134 int x509_req_ctrl_string(X509_REQ *x, const char *value) in x509_req_ctrl_string() argument
[all …]
/openssl/crypto/crmf/
H A Dcrmf_asn.c31 value.string, ASN1_UTF8STRING),
33 value.generalName, GENERAL_NAME)
77 ASN1_SIMPLE(OSSL_CRMF_PKMACVALUE, value, ASN1_BIT_STRING)
123 ASN1_IMP(OSSL_CRMF_POPO, value.raVerified, ASN1_NULL, 0),
135 value.regToken, ASN1_UTF8STRING)),
141 value.pkiPublicationInfo,
145 value.oldCertID, OSSL_CRMF_CERTID)),
148 value.protocolEncrKey, X509_PUBKEY)),
151 value.algId, X509_ALGOR)),
154 value.rsaKeyLen, ASN1_INTEGER)),
[all …]
/openssl/crypto/
H A Dprovider_conf.c84 sect = NCONF_get_section(cnf, value); in provider_conf_params_internal()
99 if (sk_OPENSSL_CSTRING_value(visited, i) == value) { in provider_conf_params_internal()
108 if (!sk_OPENSSL_CSTRING_push(visited, value)) in provider_conf_params_internal()
139 ok = ossl_provider_add_parameter(prov, name, value); in provider_conf_params_internal()
167 value, cnf, visited); in provider_conf_params()
240 ok = provider_conf_params(prov, NULL, NULL, value, cnf); in provider_conf_activate()
312 const char *value, const CONF *cnf) in provider_conf_load() argument
325 ecmds = NCONF_get_section(cnf, value); in provider_conf_load()
329 "section=%s not found", value); in provider_conf_load()
337 const char *confvalue = ecmd->value; in provider_conf_load()
[all …]
/openssl/doc/man3/
H A DSSL_get_value_uint.pod34 uint64_t *value);
36 uint64_t value);
75 int SSL_set_event_handling_mode(SSL *ssl, uint64_t value);
89 within a given value class. The value classes are enumerated by
130 Values in this value class are read-only, and represent the value which was
132 negotiation. This is the effective value in actual use.
157 documentation for a specific value specifies otherwise.
168 This release of OpenSSL uses a default value of 30 seconds. This default value
210 Generic value. This is an integer value which takes one of the following values,
324 configurable value.
[all …]
H A DSSL_CTX_set_timeout.pod17 B<ctx> to B<t>. The timeout value B<t> must be given in seconds.
19 SSL_CTX_get_timeout() returns the currently set timeout value for B<ctx>.
25 timeout value valid at this time. If the actual time is later than creation
29 valid at the time of the session negotiation. Changes of the timeout value
40 The default value for session timeout is decided on a per protocol
42 All currently supported protocols have the same default timeout value
46 tickets. It is also used as the timeout value within the ticket itself.
48 For TLSv1.3, RFC8446 limits transmission of this value to 1 week (604800
52 as specified. Tickets generated during a resumed handshake have a value
57 SSL_CTX_set_timeout() returns the previously set timeout value.
[all …]
/openssl/crypto/bio/
H A Dbio_print.c93 int64_t value; in _dopr() local
389 if (value == 0) in fmtstr()
390 value = "<NULL>"; in fmtstr()
448 uvalue = value; in fmtint()
450 if (value < 0) { in fmtint()
535 LDOUBLE result = value; in abs_val()
536 if (value < 0) in abs_val()
537 result = -value; in abs_val()
554 intpart = (long)value; in roundv()
555 value = value - intpart; in roundv()
[all …]
/openssl/doc/designs/
H A Dhandling-some-max-defines.md19 **Current value:** 200
29 **Current value:** 64
33 not be limited by this value.
60 **Current value:** 64
79 further APIs depending on this value.
83 **Current value:** 16
106 on this value.
110 **Current value:** 32
125 APIs depending on this value.
129 **Current value:** 16
[all …]
/openssl/test/
H A Dparams_api_test.c53 unsigned char value[MAX_LEN]; member
213 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_int()
243 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_long()
272 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_uint()
302 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_ulong()
332 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_int32()
362 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_uint32()
392 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_int64()
422 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_uint64()
452 if (!TEST_mem_eq(cmp, len, raw_values[n].value, len)) in test_param_size_t()
[all …]

Completed in 74 milliseconds

12345678910>>...35