Home
last modified time | relevance | path

Searched refs:field (Results 1 – 25 of 150) sorted by relevance

123456

/openssl/include/openssl/
H A Dasn1t.h.in52 * to the members, the size field is the
367 #field, ASN1_ITEM_ref(type) }
383 # define ASN1_SIMPLE(stname, field, type) ASN1_EX_TYPE(0,0, stname, field, type) argument
385 # define ASN1_EMBED(stname, field, type) ASN1_EX_TYPE(ASN1_TFLG_EMBED,0, stname, field, type) argument
388 # define ASN1_OPT(stname, field, type) ASN1_EX_TYPE(ASN1_TFLG_OPTIONAL, 0, stname, field, type) argument
392 # define ASN1_IMP(stname, field, type, tag) ASN1_IMP_EX(stname, field, type, tag, 0) argument
393 # define ASN1_IMP_EMBED(stname, field, type, tag) ASN1_IMP_EX(stname, field, type, tag, ASN1_TFLG_E… argument
396 # define ASN1_IMP_OPT(stname, field, type, tag) ASN1_IMP_EX(stname, field, type, tag, ASN1_TFLG_OPT… argument
401 # define ASN1_EXP(stname, field, type, tag) ASN1_EXP_EX(stname, field, type, tag, 0) argument
402 # define ASN1_EXP_EMBED(stname, field, type, tag) ASN1_EXP_EX(stname, field, type, tag, ASN1_TFLG_E… argument
[all …]
/openssl/crypto/ec/
H A Decp_oct.c54 if (!BN_nnmod(x, x_, group->field, ctx)) in ossl_ec_GFp_simple_set_compressed_coordinates()
63 if (!BN_mod_sqr(tmp2, x_, group->field, ctx)) in ossl_ec_GFp_simple_set_compressed_coordinates()
65 if (!BN_mod_mul(tmp1, tmp2, x_, group->field, ctx)) in ossl_ec_GFp_simple_set_compressed_coordinates()
71 if (!BN_mod_lshift1_quick(tmp2, x, group->field)) in ossl_ec_GFp_simple_set_compressed_coordinates()
105 if (!BN_mod_sqrt(y, tmp1, group->field, ctx)) { in ossl_ec_GFp_simple_set_compressed_coordinates()
127 kron = BN_kronecker(x, group->field, ctx); in ossl_ec_GFp_simple_set_compressed_coordinates()
140 if (!BN_usub(y, group->field, y)) in ossl_ec_GFp_simple_set_compressed_coordinates()
189 field_len = BN_num_bytes(group->field); in ossl_ec_GFp_simple_point2oct()
312 field_len = BN_num_bytes(group->field); in ossl_ec_GFp_simple_oct2point()
336 if (BN_ucmp(x, group->field) >= 0) { in ossl_ec_GFp_simple_oct2point()
[all …]
H A Decp_smpl.c100 group->field = BN_new(); in ossl_ec_GFp_simple_group_init()
104 BN_free(group->field); in ossl_ec_GFp_simple_group_init()
115 BN_free(group->field); in ossl_ec_GFp_simple_group_finish()
122 BN_clear_free(group->field); in ossl_ec_GFp_simple_group_clear_finish()
129 if (!BN_copy(dest->field, src->field)) in ossl_ec_GFp_simple_group_copy()
167 if (!BN_copy(group->field, p)) in ossl_ec_GFp_simple_group_set_curve()
169 BN_set_negative(group->field, 0); in ossl_ec_GFp_simple_group_set_curve()
255 const BIGNUM *p = group->field; in ossl_ec_GFp_simple_group_check_discriminant()
633 p = group->field; in ossl_ec_GFp_simple_add()
817 p = group->field; in ossl_ec_GFp_simple_dbl()
[all …]
H A Dec2_smpl.c30 group->field = BN_new(); in ossl_ec_GF2m_simple_group_init()
35 BN_free(group->field); in ossl_ec_GF2m_simple_group_init()
49 BN_free(group->field); in ossl_ec_GF2m_simple_group_finish()
60 BN_clear_free(group->field); in ossl_ec_GF2m_simple_group_clear_finish()
77 if (!BN_copy(dest->field, src->field)) in ossl_ec_GF2m_simple_group_copy()
108 if (!BN_copy(group->field, p)) in ossl_ec_GF2m_simple_group_set_curve()
110 i = BN_GF2m_poly2arr(group->field, group->poly, 6) - 1; in ossl_ec_GF2m_simple_group_set_curve()
147 if (!BN_copy(p, group->field)) in ossl_ec_GF2m_simple_group_get_curve()
173 return BN_num_bits(group->field) - 1; in ossl_ec_GF2m_simple_group_get_degree()
712 return BN_GF2m_mod_div(r, a, b, group->field, ctx); in ossl_ec_GF2m_simple_field_div()
[all …]
/openssl/test/
H A Dtest.cnf60 countryName = C field
62 stateOrProvinceName = SP field
64 localityName = L field
66 organizationName = O field
68 organizationalUnitName = OU field
70 commonName = CN field
72 emailAddress = email field
/openssl/doc/man3/
H A DX509_NAME_add_entry_by_txt.pod12 int X509_NAME_add_entry_by_txt(X509_NAME *name, const char *field, int type,
28 X509_NAME_add_entry_by_NID() add a field whose name is defined
29 by a string B<field>, an object B<obj> or a NID B<nid> respectively.
30 The field value to be added is in B<bytes> of length B<len>. If
31 B<len> is -1 then the field length is calculated internally using
34 The type of field is determined by B<type> which can either be a
51 internal code to correctly determine the type of the field and to
58 In X509_NAME_add_entry_by_txt() the B<field> string represents
59 the field name using OBJ_txt2obj(field, 0).
110 different algorithm to determine field types. Since this form does
[all …]
H A DOSSL_CMP_ITAV_new_caCerts.pod77 the internal pointer to the certificate contained in the infoValue field.
89 to the certificate contained in the newWithNew infoValue sub-field of I<itav>.
95 is present or the respective sub-field is not included.
103 It fills the thisUpdate field with a copy of the thisUpdate field of I<crl> if present.
126 otherwise a copy of the certTemplate field value.
128 if the structure is not present in I<itav> or the keySpec field is absent.
137 =item the issuer field of the authority key identifier of I<cert>,
141 =item the issuer field of the authority key identifier of I<crl>, and
154 I<*thisUpdate> can also be NULL if the field is not present.
161 pointer to the list of CRL status data in the infoValue field of I<itav>.
[all …]
H A DX509_NAME_ENTRY_get_object.pod21 X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_txt(X509_NAME_ENTRY **ne, const char *field,
33 X509_NAME_ENTRY_get_object() retrieves the field name of B<ne> in
36 X509_NAME_ENTRY_get_data() retrieves the field value of B<ne> in
39 X509_NAME_ENTRY_set_object() sets the field name of B<ne> to B<obj>.
41 X509_NAME_ENTRY_set_data() sets the field value of B<ne> to string type
64 B<MBSTRING_ASC> but in the case of X509_set_data() the field name must be
65 set first so the relevant field information can be looked up internally.
H A DX509_get_version.pod30 X509_get_version() returns the numerical value of the version field of
36 X509_set_version() sets the numerical value of the version field of certificate
48 The version field of certificates, certificate requests and CRLs has a
49 DEFAULT value of B<v1(0)> meaning the field should be omitted for version
55 return the numerical value of the version field.
H A DEVP_PKEY_settable_params.pod38 associated field I<key_name>.
41 the associated field I<key_name>.
44 associated field I<key_name>.
47 for the associated field I<key_name>.
50 size I<bsize> into a key I<pkey> for the associated field I<key_name>.
H A DX509_NAME_print_ex.pod59 determine the field separators to use.
74 B<XN_FLAG_FN_NONE> determine how a field name is displayed. It will
76 use OID numerical form (normally OIDs are only used if the field name is not
77 recognised) and no field name respectively.
80 separating field names and values.
85 If B<XN_FLAG_FN_ALIGN> is set then field names are padded to 20 characters: this
89 control how each field value is displayed.
H A DEVP_PKEY_get_field_type.pod5 EVP_PKEY_get_field_type, EVP_PKEY_get_ec_point_conv_form - get field type
17 EVP_PKEY_get_field_type() returns the field type NID of the I<pkey>, if
33 EVP_PKEY_get_field_type() returns the field type NID or 0 on error.
H A DX509_check_issued.pod19 matching of the issuer field of I<subject> with the subject field of I<issuer>,
23 if the B<keyUsage> field (if present) of I<issuer> allows certificate signing.
H A DCMS_get0_RecipientInfos.pod75 the value of a field. Where a field is optional and absent NULL will be written
76 to the corresponding parameter. The keyEncryptionAlgorithm field is written to
77 B<palg>, the B<keyIdentifier> field is written to B<pid>, the B<date> field if
78 present is written to B<pdate>, if the B<other> field is present the components
H A DOCSP_resp_find_status.pod64 set if the status is B<V_OCSP_CERTSTATUS_REVOKED>. If set the I<*reason> field
83 OCSP_resp_get0_produced_at() extracts the B<producedAt> field from the
96 is included in the B<certs> field of the response, so additional certificates
159 OCSP_resp_get0_produced_at() returns the B<producedAt> field from I<bs>.
163 OCSP_resp_get0_tbs_sigalg() returns the B<signatureAlgorithm> field from I<bs>.
165 OCSP_resp_get0_respdata() returns the B<tbsResponseData> field from I<bs>.
190 account for clock skew the I<maxsec> field can be set to nonzero in
191 OCSP_check_validity(). Some responders do not set the B<nextUpdate> field, this
/openssl/doc/man1/
H A Dopenssl-namedisplay-options.pod59 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.
111 the DER encoding of the field.
128 Dump any field whose OID is not recognised by OpenSSL.
133 Specify the field separators. The first word is used between the
138 The B<sep_multiline> starts each field on its own line, and uses "plus space"
146 This also reverses the order of multiple AVAs in a field, but this is
151 Specify how the field name is displayed.
152 B<nofname> does not display the field at all.
160 Align field values for a more readable output. Only usable with
[all …]
/openssl/doc/internal/man3/
H A Dossl_cmp_ctx_set1_caPubs.pod34 to the caPubs field of the context.
40 ossl_cmp_ctx_set_status() sets the status field of the context.
42 ossl_cmp_ctx_set0_statusString() sets the statusString field of the context.
45 field of the context based on the given OSSL_CMP_PKIFAILUREINFO structure.
50 ossl_cmp_ctx_set1_extraCertsIn() sets the extraCertsIn field of the context.
H A Dossl_cmp_hdr_init.pod67 ossl_cmp_hdr_set1_sender() sets the sender field in the given PKIHeader
70 ossl_cmp_hdr_set1_recipient() sets the recipient field in the given
76 The messageTime field contains the time at which the sender created the message.
94 the generalInfo field of PKIheader of the B<hdr>. Does not consume the B<itavs>
97 ossl_cmp_hdr_set_implicitConfirm() sets implicitConfirm in the generalInfo field
101 set int generalInfo field of the given PKIMessage header, 0 if not.
103 ossl_cmp_hdr_set_transactionID() sets the B<transactionID> field in C<hdr>.
/openssl/crypto/bn/
H A Dbn_nist.c370 field = &ossl_bignum_nist_p_192; /* just to make sure */ in BN_nist_mod_192()
373 return BN_nnmod(r, a, field, ctx); in BN_nist_mod_192()
375 i = BN_ucmp(field, a); in BN_nist_mod_192()
510 return BN_nnmod(r, a, field, ctx); in BN_nist_mod_224()
512 i = BN_ucmp(field, a); in BN_nist_mod_224()
682 return BN_nnmod(r, a, field, ctx); in BN_nist_mod_256()
684 i = BN_ucmp(field, a); in BN_nist_mod_256()
919 return BN_nnmod(r, a, field, ctx); in BN_nist_mod_384()
921 i = BN_ucmp(field, a); in BN_nist_mod_384()
1171 return BN_nnmod(r, a, field, ctx); in BN_nist_mod_521()
[all …]
/openssl/test/helpers/
H A Dssl_test_ctx.c37 #define IMPLEMENT_SSL_TEST_BOOL_OPTION(struct_type, name, field) \ argument
38 static int parse_##name##_##field(struct_type *ctx, const char *value) \
40 return parse_boolean(value, &ctx->field); \
43 #define IMPLEMENT_SSL_TEST_STRING_OPTION(struct_type, name, field) \ argument
44 static int parse_##name##_##field(struct_type *ctx, const char *value) \
46 OPENSSL_free(ctx->field); \
47 ctx->field = OPENSSL_strdup(value); \
48 return TEST_ptr(ctx->field); \
51 #define IMPLEMENT_SSL_TEST_INT_OPTION(struct_type, name, field) \ argument
52 static int parse_##name##_##field(struct_type *ctx, const char *value) \
[all …]
/openssl/crypto/x509/
H A Dx509_vpm.c142 #define test_x509_verify_param_copy(field, def) \ argument
143 (to_overwrite || (src->field != def && (to_default || dest->field == def)))
147 #define x509_verify_param_copy(field, def) \ argument
148 if (test_x509_verify_param_copy(field, def)) \
149 dest->field = src->field;
H A Dx509name.c170 int X509_NAME_add_entry_by_txt(X509_NAME *name, const char *field, int type, in X509_NAME_add_entry_by_txt() argument
176 ne = X509_NAME_ENTRY_create_by_txt(NULL, field, type, bytes, len); in X509_NAME_add_entry_by_txt()
243 const char *field, int type, in X509_NAME_ENTRY_create_by_txt() argument
250 obj = OBJ_txt2obj(field, 0); in X509_NAME_ENTRY_create_by_txt()
253 "name=%s", field); in X509_NAME_ENTRY_create_by_txt()
/openssl/crypto/txt_db/
H A Dtxt_db.c147 int TXT_DB_create_index(TXT_DB *db, int field, int (*qual) (OPENSSL_STRING *), in TXT_DB_create_index() argument
154 if (field >= db->num_fields) { in TXT_DB_create_index()
181 lh_OPENSSL_STRING_free(db->index[field]); in TXT_DB_create_index()
182 db->index[field] = idx; in TXT_DB_create_index()
183 db->qual[field] = qual; in TXT_DB_create_index()
/openssl/doc/man7/
H A DEVP_PKEY-EC.pod17 used that specify "field-type", "p", "a", "b", "generator" and "order".
31 =item "field-type" (B<OSSL_PKEY_PARAM_EC_FIELD_TYPE>) <UTF8 string>
33 The value should be either "prime-field" or "characteristic-two-field",
34 which correspond to prime field Fp and binary field F2^m.
38 For a curve over Fp I<p> is the prime for the field. For a curve over F2^m I<p>
167 This field is only used for a binary field F2^m.
179 These fields are only used for a binary field F2^m.
180 I<m> is the degree of the binary field.
/openssl/doc/designs/
H A Dfast-param-find.md50 'field' => "ctx->N",
58 'field' => "ctx->r",
66 'field' => "ctx->p",
74 'field' => "ctx->maxmem_bytes",
91 'field' => "SIZE_MAX",
120 - "field" is an accessor to the field itself

Completed in 58 milliseconds

123456