Home
last modified time | relevance | path

Searched refs:type (Results 1 – 25 of 846) sorted by relevance

12345678910>>...34

/openssl/include/internal/
H A Dsafe_math.h33 static ossl_inline ossl_unused type safe_add_ ## type_name(type a, \
46 static ossl_inline ossl_unused type safe_add_ ## type_name(type a, \
60 static ossl_inline ossl_unused type safe_add_ ## type_name(type a, \
74 static ossl_inline ossl_unused type safe_add_ ## type_name(type a, \
89 static ossl_inline ossl_unused type safe_sub_ ## type_name(type a, \
407 # define OSSL_SAFE_MATH_MINS(type) ((type)1 << (sizeof(type) * 8 - 1)) argument
408 # define OSSL_SAFE_MATH_MAXS(type) (~OSSL_SAFE_MATH_MINS(type)) argument
409 # define OSSL_SAFE_MATH_MAXU(type) (~(type)0) argument
415 OSSL_SAFE_MATH_ADDS(type_name, type, OSSL_SAFE_MATH_MINS(type), \
417 OSSL_SAFE_MATH_SUBS(type_name, type, OSSL_SAFE_MATH_MINS(type), \
[all …]
H A Dpriority_queue.h17 # define PRIORITY_QUEUE_OF(type) OSSL_PRIORITY_QUEUE_ ## type argument
20 typedef struct ossl_priority_queue_st_ ## type PRIORITY_QUEUE_OF(type); \
28 ossl_pqueue_##type##_free(PRIORITY_QUEUE_OF(type) *pq) \
33 ossl_pqueue_##type##_pop_free(PRIORITY_QUEUE_OF(type) *pq, \
39 ossl_pqueue_##type##_reserve(PRIORITY_QUEUE_OF(type) *pq, size_t n) \
44 ossl_pqueue_##type##_num(const PRIORITY_QUEUE_OF(type) *pq) \
49 ossl_pqueue_##type##_push(PRIORITY_QUEUE_OF(type) *pq, \
55 ossl_pqueue_##type##_peek(const PRIORITY_QUEUE_OF(type) *pq) \
60 ossl_pqueue_##type##_pop(PRIORITY_QUEUE_OF(type) *pq) \
65 ossl_pqueue_##type##_remove(PRIORITY_QUEUE_OF(type) *pq, \
[all …]
/openssl/util/perl/OpenSSL/
H A Dstackhash.pm60 my $type = shift;
62 return generate_stack_macros_int($type, $type, $type);
66 my $type = shift;
68 return generate_stack_macros_int($type, "const $type", $type);
84 my $type = shift;
88type}_new(hfn, cmp) ((LHASH_OF(${type}) *)OPENSSL_LH_set_thunks(OPENSSL_LH_new(ossl_check_${type}_…
89 #define lh_${type}_free(lh) OPENSSL_LH_free(ossl_check_${type}_lh_type(lh))
91 #define lh_${type}_insert(lh, ptr) ((${type} *)OPENSSL_LH_insert(ossl_check_${type}_lh_type(lh), os…
92 #define lh_${type}_delete(lh, ptr) ((${type} *)OPENSSL_LH_delete(ossl_check_${type}_lh_type(lh), os…
93 #define lh_${type}_retrieve(lh, ptr) ((${type} *)OPENSSL_LH_retrieve(ossl_check_${type}_lh_type(lh)…
[all …]
/openssl/include/openssl/
H A Dpem.h75 type *PEM_##readname##_##name(INTYPE *out, type **x, \
78 type *PEM_##readname##_##name##_ex(INTYPE *out, type **x, \
116 type *PEM_read_##name(FILE *fp, type **x, pem_password_cb *cb, void *u) \
148 type *PEM_read_bio_##name(BIO *bp, type **x, \
315 # define DECLARE_PEM_write(name, type) \ argument
317 # define DECLARE_PEM_write_ex(name, type) \ argument
352 # define DECLARE_PEM_rw(name, type) \ argument
353 DECLARE_PEM_rw_attr(extern, name, type)
354 # define DECLARE_PEM_rw_ex(name, type) \ argument
369 # define DECLARE_PEM_rw_cb(name, type) \ argument
[all …]
H A Dlhash.h.in151 # define LHASH_OF(type) struct lhash_st_##type argument
158 typedef int (*lh_##type##_compfunc)(const type *a, const type *b); \
168 int (*cfn_conv)(const type *, const type *) = (int (*)(const type *, const type *))cfn; \
251 int (*cfn_conv)(const type *, const type *) = (int (*)(const type *, const type *))cfn; \
255 lh_##type##_free(LHASH_OF(type) *lh) \
260 lh_##type##_flush(LHASH_OF(type) *lh) \
265 lh_##type##_insert(LHASH_OF(type) *lh, type *d) \
270 lh_##type##_delete(LHASH_OF(type) *lh, const type *d) \
275 lh_##type##_retrieve(LHASH_OF(type) *lh, const type *d) \
280 lh_##type##_error(LHASH_OF(type) *lh) \
[all …]
H A Dasn1.h.in155 * type.
165 int type; member
243 DECLARE_ASN1_FUNCTIONS_name_attr(attr, type, type)
292 attr type *name##_dup(const type *a);
307 # define D2I_OF(type) type *(*)(type **,const unsigned char **,long) argument
321 # define TYPEDEF_D2I_OF(type) typedef type *d2i_of_##type(type **,const unsigned char **,long) argument
322 # define TYPEDEF_I2D_OF(type) typedef int i2d_of_##type(const type *,unsigned char **) argument
323 # define TYPEDEF_D2I2D_OF(type) TYPEDEF_D2I_OF(type); TYPEDEF_I2D_OF(type) argument
743 ((type*)ASN1_dup(CHECKED_I2D_OF(type, i2d), \
760 # define M_ASN1_new_of(type) (type *)ASN1_item_new(ASN1_ITEM_rptr(type)) argument
[all …]
H A Dasn1t.h.in292 * int type;
382 /* Plain simple type */
383 # define ASN1_SIMPLE(stname, field, type) ASN1_EX_TYPE(0,0, stname, field, type) argument
384 /* Embedded simple type */
385 # define ASN1_EMBED(stname, field, type) ASN1_EX_TYPE(ASN1_TFLG_EMBED,0, stname, field, type) argument
387 /* OPTIONAL simple type */
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
401 # define ASN1_EXP(stname, field, type, tag) ASN1_EXP_EX(stname, field, type, tag, 0) argument
406 /* SEQUENCE OF type */
[all …]
/openssl/test/recipes/30-test_evp_data/
H A Devpkdf_ssh.txt22 Ctrl.type = type:A
30 Ctrl.type = type:B
38 Ctrl.type = type:C
46 Ctrl.type = type:D
54 Ctrl.type = type:E
62 Ctrl.type = type:F
70 Ctrl.type = type:A
78 Ctrl.type = type:B
86 Ctrl.type = type:C
94 Ctrl.type = type:D
[all …]
/openssl/include/crypto/
H A Dsparse_array.h21 # define SPARSE_ARRAY_OF(type) struct sparse_array_st_ ## type argument
24 SPARSE_ARRAY_OF(type); \
31 ossl_sa_##type##_free(SPARSE_ARRAY_OF(type) *sa) \
36 ossl_sa_##type##_free_leaves(SPARSE_ARRAY_OF(type) *sa) \
41 ossl_sa_##type##_num(const SPARSE_ARRAY_OF(type) *sa) \
46 ossl_sa_##type##_doall(const SPARSE_ARRAY_OF(type) *sa, \
53 ossl_sa_##type##_doall_arg(const SPARSE_ARRAY_OF(type) *sa, \
61 *ossl_sa_##type##_get(const SPARSE_ARRAY_OF(type) *sa, ossl_uintmax_t n) \
66 ossl_sa_##type##_set(SPARSE_ARRAY_OF(type) *sa, \
74 DEFINE_SPARSE_ARRAY_OF_INTERNAL(type, type)
[all …]
/openssl/test/recipes/04-test_params_conversion_data/
H A Dnative_types.txt1 type=int32
8 type=int32
15 type=int32
23 type=uint32
30 type=uint32
38 type=uint32
46 type=uint32
54 type=int64
61 type=int64
69 type=int64
[all …]
/openssl/crypto/objects/
H A Do_names.c123 ret = a->type - b->type; in obj_name_cmp()
147 ret ^= a->type; in obj_name_hash()
168 on.type = type; in OBJ_NAME_get()
205 onp->type = type; in OBJ_NAME_add()
255 on.type = type; in OBJ_NAME_remove()
278 int type; member
285 if (name->type == d->type) in do_all_fn()
296 d.type = type; in OBJ_NAME_do_all()
304 int type; member
313 if (name->type != d->type) in do_all_sorted_fn()
[all …]
/openssl/crypto/pem/
H A Dpem_local.h42 # define IMPLEMENT_PEM_provided_write_body_vars(type, asn1, pq) \ argument
45 OSSL_ENCODER_CTX_new_for_##type(x, PEM_SELECTION_##asn1, \
81 # define IMPLEMENT_PEM_provided_write_body_main(type, outtype) \ argument
96 # define IMPLEMENT_PEM_provided_write_to(name, TYPE, type, str, asn1, \ argument
100 IMPLEMENT_PEM_provided_write_body_vars(type, asn1, NULL); \
101 IMPLEMENT_PEM_provided_write_body_main(type, outtype); \
135 # define IMPLEMENT_PEM_provided_write_fp(name, TYPE, type, str, asn1) argument
154 IMPLEMENT_PEM_provided_write_fp(name, TYPE, type, str, asn1)
158 IMPLEMENT_PEM_provided_write_cb_fp(name, TYPE, type, str, asn1)
162 IMPLEMENT_PEM_provided_write(name, TYPE, type, str, asn1)
[all …]
/openssl/test/recipes/
H A D20-test_passwd.t21 ({ type => '5',
25 { type => '5',
29 { type => '5',
33 { type => '5',
37 { type => '5',
41 { type => '6',
45 { type => '6',
49 { type => '6',
53 { type => '6',
57 { type => '6',
[all …]
H A D20-test_mac.t21 type => 'HMAC',
26 type => 'HMAC',
31 type => 'GMAC',
36 type => 'GMAC',
41 type => 'KMAC128',
46 type => 'KMAC256',
51 type => 'KMAC256',
59 type => 'SipHash',
67 type => 'CMAC',
72 type => 'CMAC',
[all …]
H A D15-test_ec.t33 tconversion( -type => 'ec', -prefix => 'ec-priv',
37 tconversion( -type => 'ec', -prefix => 'ec-pkcs8',
42 tconversion( -type => 'ec', -prefix => 'ec-pub',
48 tconversion( -type => 'pkey', -prefix => 'ec-pkey-priv',
52 tconversion( -type => 'pkey', -prefix => 'ec-pkey-pkcs8',
57 tconversion( -type => 'pkey', -prefix => 'ec-pkey-pub',
66 tconversion( -type => "pkey", -prefix => "ed25519-pkey-priv",
75 tconversion( -type => "pkey", -prefix => "ed25519-pkey-pub",
80 tconversion( -type => "pkey", -prefix => "ed448-pkey-priv",
84 tconversion( -type => "pkey", -prefix => "ed448-pkey-pkcs8",
[all …]
/openssl/crypto/asn1/
H A Da_type.c18 if (a->type == V_ASN1_BOOLEAN in ASN1_TYPE_get()
19 || a->type == V_ASN1_NULL in ASN1_TYPE_get()
21 return a->type; in ASN1_TYPE_get()
28 if (a->type != V_ASN1_BOOLEAN in ASN1_TYPE_set()
29 && a->type != V_ASN1_NULL in ASN1_TYPE_set()
34 a->type = type; in ASN1_TYPE_set()
35 if (type == V_ASN1_BOOLEAN) in ASN1_TYPE_set()
45 ASN1_TYPE_set(a, type, p); in ASN1_TYPE_set1()
51 ASN1_TYPE_set(a, type, odup); in ASN1_TYPE_set1()
67 if (!a || !b || a->type != b->type) in ASN1_TYPE_cmp()
[all …]
H A Da_strex.c280 t.type = str->type; in do_dump()
333 int type; in do_print_ex() local
340 type = str->type; in do_print_ex()
359 type = -1; in do_print_ex()
362 type = 1; in do_print_ex()
365 if ((type > 0) && (type < 31)) in do_print_ex()
366 type = tag2nbyte[type]; in do_print_ex()
370 type = 1; in do_print_ex()
387 if (!type) in do_print_ex()
611 type = in->type; in ASN1_STRING_to_UTF8()
[all …]
/openssl/crypto/x509/
H A Dx_ietfatt.c31 int type; member
41 int type; member
77 ias->type = val->type;
78 else if (val->type != ias->type)
128 if (type != NULL) in OSSL_IETF_ATTR_SYNTAX_get0_value()
129 *type = val->type; in OSSL_IETF_ATTR_SYNTAX_get0_value()
131 switch (val->type) { in OSSL_IETF_ATTR_SYNTAX_get0_value()
154 a->type = type; in OSSL_IETF_ATTR_SYNTAX_add1_value()
157 if (type != a->type) { in OSSL_IETF_ATTR_SYNTAX_add1_value()
165 val->type = type; in OSSL_IETF_ATTR_SYNTAX_add1_value()
[all …]
H A Dx509_lu.c165 ret = ((*a)->type - (*b)->type); in x509_object_cmp()
168 switch ((*a)->type) { in x509_object_cmp()
374 ret->type = tmp->type; in ossl_x509_store_ctx_get_by_subject()
452 switch (a->type) { in X509_OBJECT_up_ref_count()
479 return a->type; in X509_OBJECT_get_type()
496 switch (a->type) { in x509_object_free_internal()
525 a->type = X509_LU_CRL; in X509_OBJECT_set1_X509_CRL()
544 stmp.type = type; in x509_object_idx_cnt()
545 switch (type) { in x509_object_idx_cnt()
594 ret->type = obj->type; in x509_object_dup()
[all …]
/openssl/apps/
H A Dinfo.c41 int ret = 1, dirty = 0, type = 0; in info_main() local
58 type = OPENSSL_INFO_CONFIG_DIR; in info_main()
62 type = OPENSSL_INFO_ENGINES_DIR; in info_main()
66 type = OPENSSL_INFO_MODULES_DIR; in info_main()
70 type = OPENSSL_INFO_DSO_EXTENSION; in info_main()
74 type = OPENSSL_INFO_DIR_FILENAME_SEPARATOR; in info_main()
78 type = OPENSSL_INFO_LIST_SEPARATOR; in info_main()
82 type = OPENSSL_INFO_SEED_SOURCE; in info_main()
86 type = OPENSSL_INFO_CPU_SETTINGS; in info_main()
90 type = OPENSSL_INFO_WINDOWS_CONTEXT; in info_main()
[all …]
/openssl/crypto/cms/
H A Dcms_att.c104 const ASN1_OBJECT *obj, int type, in CMS_signed_add1_attr_by_OBJ() argument
121 const char *attrname, int type, in CMS_signed_add1_attr_by_txt() argument
132 int lastpos, int type) in CMS_signed_get0_data_by_OBJ() argument
172 const ASN1_OBJECT *obj, int type, in CMS_unsigned_add1_attr_by_OBJ() argument
181 int nid, int type, in CMS_unsigned_add1_attr_by_NID() argument
190 const char *attrname, int type, in CMS_unsigned_add1_attr_by_txt() argument
194 type, bytes, len)) in CMS_unsigned_add1_attr_by_txt()
200 int lastpos, int type) in CMS_unsigned_get0_data_by_OBJ() argument
227 static int cms_check_attribute(int nid, int flags, int type, in cms_check_attribute() argument
238 if (((flags & type) == 0) in cms_check_attribute()
[all …]
/openssl/providers/implementations/ciphers/
H A Dcipher_tdes.h33 #define IMPLEMENT_tdes_cipher(type, UCTYPE, lcmode, UCMODE, flags, \ argument
35 static OSSL_FUNC_cipher_newctx_fn tdes_##type##_##lcmode##_newctx; \
36 static void *tdes_##type##_##lcmode##_newctx(void *provctx) \
40 ossl_prov_cipher_hw_tdes_##type##_##lcmode()); \
42 static OSSL_FUNC_cipher_get_params_fn tdes_##type##_##lcmode##_get_params; \
43 static int tdes_##type##_##lcmode##_get_params(OSSL_PARAM params[]) \
48 const OSSL_DISPATCH ossl_tdes_##type##_##lcmode##_functions[] = { \
57 (void (*)(void))tdes_##type##_##lcmode##_newctx }, \
61 (void (*)(void))tdes_##type##_##lcmode##_get_params }, \
89 #define PROV_CIPHER_HW_tdes_mode(type, mode) \ argument
[all …]
/openssl/test/
H A Dpairwise_fail_test.c26 const char *type; member
52 const char *type = NULL, *phase = NULL; in self_test_on_pairwise_fail() local
62 type = (const char *)p->data; in self_test_on_pairwise_fail()
63 if (strcmp(type, args->type) == 0) in self_test_on_pairwise_fail()
69 static int setup_selftest_pairwise_failure(const char *type) in setup_selftest_pairwise_failure() argument
78 self_test_args.type = type; in setup_selftest_pairwise_failure()
93 const char *type = OSSL_SELF_TEST_TYPE_PCT; in test_keygen_pairwise_failure() local
97 if (!TEST_true(setup_selftest_pairwise_failure(type))) in test_keygen_pairwise_failure()
103 type = OSSL_SELF_TEST_TYPE_PCT_KAT; in test_keygen_pairwise_failure()
104 if (!TEST_true(setup_selftest_pairwise_failure(type))) in test_keygen_pairwise_failure()
[all …]
/openssl/util/
H A Dmkdef.pl32 my $type = 'lib'; # either lib or dso
44 'type=s' => \$type,
54 if $type ne 'lib' && $type ne 'dso';
224 my $verdict = $weight{$item1->type()} <=> $weight{$item2->type()};
321 my $type = shift;
324 return [ "$s_uc/$s=$type", "$s=$type" ];
332 my $type = shift;
334 return [ "$s_uc=$type" ];
350 my $type = {
353 } -> {$_->type()};
[all …]
/openssl/doc/man3/
H A DASN1_TYPE_get.pod13 void ASN1_TYPE_set(ASN1_TYPE *a, int type, void *value);
14 int ASN1_TYPE_set1(ASN1_TYPE *a, int type, const void *value);
24 B<ASN1_TYPE> structure can contain any ASN.1 type or constructed type
25 such as a SEQUENCE: it is effectively equivalent to the ASN.1 ANY type.
27 ASN1_TYPE_get() returns the type of I<a> or 0 if it fails.
29 ASN1_TYPE_set() sets the value of I<a> to I<type> and I<value>. This
52 ASN1_TYPE_set1() is determined by the I<type> parameter.
53 If I<type> is B<V_ASN1_NULL> I<value> is ignored. If I<type> is
57 is and B<ASN1_STRING> structure. If I<type> corresponds to a primitive type
59 octets of the type. If I<type> corresponds to a constructed type or
[all …]

Completed in 106 milliseconds

12345678910>>...34