Home
last modified time | relevance | path

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

123

/include/internal/
A Dsafe_math.h35 static ossl_inline ossl_unused type safe_add_ ## type_name(type a, \
48 static ossl_inline ossl_unused type safe_add_ ## type_name(type a, \
62 static ossl_inline ossl_unused type safe_add_ ## type_name(type a, \
76 static ossl_inline ossl_unused type safe_add_ ## type_name(type a, \
91 static ossl_inline ossl_unused type safe_sub_ ## type_name(type a, \
409 # define OSSL_SAFE_MATH_MINS(type) ((type)1 << (sizeof(type) * 8 - 1)) argument
410 # define OSSL_SAFE_MATH_MAXS(type) (~OSSL_SAFE_MATH_MINS(type)) argument
411 # define OSSL_SAFE_MATH_MAXU(type) (~(type)0) argument
417 OSSL_SAFE_MATH_ADDS(type_name, type, OSSL_SAFE_MATH_MINS(type), \
419 OSSL_SAFE_MATH_SUBS(type_name, type, OSSL_SAFE_MATH_MINS(type), \
[all …]
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 …]
A Dssl_unwrap.h18 : ((ssl)->type == SSL_TYPE_SSL_CONNECTION \
33 : ((ssl)->type == SSL_TYPE_SSL_CONNECTION \
60 : ((ssl)->type == SSL_TYPE_QUIC_CONNECTION \
67 : (((ssl)->type == SSL_TYPE_QUIC_XSO \
69 : ((ssl)->type == SSL_TYPE_QUIC_CONNECTION \
75 : ((ssl)->type == SSL_TYPE_QUIC_CONNECTION \
82 : ((ssl)->type == SSL_TYPE_QUIC_LISTENER \
89 : ((ssl)->type == SSL_TYPE_QUIC_DOMAIN \
94 && ((ssl)->type == SSL_TYPE_QUIC_CONNECTION \
95 || (ssl)->type == SSL_TYPE_QUIC_XSO))
[all …]
A Dlist.h55 # define OSSL_LIST_MEMBER(name, type) \ argument
57 type *next, *prev; \
61 # define DECLARE_LIST_OF(name, type) \ argument
64 type *alpha, *omega; \
68 # define DEFINE_LIST_OF_IMPL(name, type) \ argument
75 ossl_list_##name##_init_elem(type *elem) \
90 static ossl_unused ossl_inline type * \
97 static ossl_unused ossl_inline type * \
104 static ossl_unused ossl_inline type * \
105 ossl_list_##name##_next(const type *elem) \
[all …]
A Dffc.h158 int type, size_t L, size_t N,
161 int type, size_t L, size_t N,
165 FFC_PARAMS *params, int mode, int type,
169 FFC_PARAMS *params, int mode, int type,
181 int type, int *res, BN_GENCB *cb);
184 int type, int *res, BN_GENCB *cb);
A Drecordmethod.h58 unsigned char type; member
174 size_t (*get_max_records)(OSSL_RECORD_LAYER *rl, uint8_t type, size_t len,
227 uint8_t *type, const unsigned char **data, size_t *datalen,
A Dcommon.h102 # define DECIMAL_SIZE(type) ((sizeof(type)*8+2)/3+1) argument
103 # define HEX_SIZE(type) (sizeof(type)*2) argument
A Dskey.h26 int type; member
A Dquic_stream_map.h159 unsigned int type : 8; /* QUIC_STREAM_INITIATOR_*, QUIC_STREAM_DIR_* */ member
336 return (s->type & QUIC_STREAM_INITIATOR_MASK) == QUIC_STREAM_INITIATOR_SERVER; in ossl_quic_stream_is_server_init()
344 return (s->type & QUIC_STREAM_DIR_MASK) == QUIC_STREAM_DIR_BIDI; in ossl_quic_stream_is_bidi()
607 int type);
A Dcrmf.h16 ASN1_OBJECT *type; member
/include/openssl/
A Dpem.h76 type *PEM_##readname##_##name(INTYPE *out, type **x, \
79 type *PEM_##readname##_##name##_ex(INTYPE *out, type **x, \
117 type *PEM_read_##name(FILE *fp, type **x, pem_password_cb *cb, void *u) \
149 type *PEM_read_bio_##name(BIO *bp, type **x, \
316 # define DECLARE_PEM_write(name, type) \ argument
318 # define DECLARE_PEM_write_ex(name, type) \ argument
353 # define DECLARE_PEM_rw(name, type) \ argument
354 DECLARE_PEM_rw_attr(extern, name, type)
355 # define DECLARE_PEM_rw_ex(name, type) \ argument
370 # define DECLARE_PEM_rw_cb(name, type) \ argument
[all …]
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 …]
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
744 ((type*)ASN1_dup(CHECKED_I2D_OF(type, i2d), \
761 # define M_ASN1_new_of(type) (type *)ASN1_item_new(ASN1_ITEM_rptr(type)) argument
[all …]
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 …]
A Dobjects.h44 int type; member
56 const char *OBJ_NAME_get(const char *name, int type);
57 int OBJ_NAME_add(const char *name, int type, const char *data);
58 int OBJ_NAME_remove(const char *name, int type);
59 void OBJ_NAME_cleanup(int type); /* -1 for everything */
60 void OBJ_NAME_do_all(int type, void (*fn) (const OBJ_NAME *, void *arg),
62 void OBJ_NAME_do_all_sorted(int type,
A Dpkcs7.h.in148 ASN1_OBJECT *type; member
149 /* content as defined by the type */
152 * out the 'type' field.
184 # define PKCS7_type_is_signed(a) (OBJ_obj2nid((a)->type) == NID_pkcs7_signed)
188 (OBJ_obj2nid((a)->type) == NID_pkcs7_signedAndEnveloped)
189 # define PKCS7_type_is_data(a) (OBJ_obj2nid((a)->type) == NID_pkcs7_data)
190 # define PKCS7_type_is_digest(a) (OBJ_obj2nid((a)->type) == NID_pkcs7_digest)
237 const EVP_MD *type, unsigned char *md,
269 int PKCS7_set_type(PKCS7 *p7, int type);
270 int PKCS7_set0_type_other(PKCS7 *p7, int type, ASN1_TYPE *other);
[all …]
A Dx509_vfy.h.in184 # define X509_LOOKUP_load_file(x,name,type) \ argument
187 # define X509_LOOKUP_add_dir(x,name,type) \ argument
196 # define X509_LOOKUP_load_file_ex(x, name, type, libctx, propq) \ argument
197 X509_LOOKUP_ctrl_ex((x), X509_L_FILE_LOAD, (name), (long)(type), NULL,\
400 X509_LOOKUP_TYPE type,
540 X509_LOOKUP_TYPE type,
560 X509_LOOKUP_TYPE type,
617 X509_LOOKUP_TYPE type,
620 X509_LOOKUP_TYPE type,
639 int X509_LOOKUP_by_subject(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type,
[all …]
A Dx509_acert.h.in96 int type, const void *bytes, int len);
97 int X509_ACERT_add1_attr_by_NID(X509_ACERT *x, int nid, int type,
99 int X509_ACERT_add1_attr_by_txt(X509_ACERT *x, const char *attrname, int type,
151 int ind, int *type);
152 int OSSL_IETF_ATTR_SYNTAX_add1_value(OSSL_IETF_ATTR_SYNTAX *a, int type,
169 int type; member
A Dindicator.h20 typedef int (OSSL_INDICATOR_CALLBACK)(const char *type, const char *desc,
A Devp.h755 const EVP_MD *type, ENGINE *impl);
897 const EVP_MD *type, ENGINE *e,
1372 int EVP_PKEY_type(int type);
1385 int EVP_PKEY_set_type(EVP_PKEY *pkey, int type);
1396 int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key);
1475 EVP_PKEY *d2i_KeyParams_bio(int type, EVP_PKEY **a, BIO *in);
1930 EVP_PKEY *EVP_PKEY_new_mac_key(int type, ENGINE *e,
1936 EVP_PKEY *EVP_PKEY_new_raw_private_key(int type, ENGINE *e,
1942 EVP_PKEY *EVP_PKEY_new_raw_public_key(int type, ENGINE *e,
2123 const char *type, ...);
[all …]
/include/crypto/
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 …]
A Decx.h57 #define KEYTYPE2NID(type) \ argument
58 ((type) == ECX_KEY_TYPE_X25519 \
60 : ((type) == ECX_KEY_TYPE_X448 \
62 : ((type) == ECX_KEY_TYPE_ED25519 \
73 ECX_KEY_TYPE type; member
77 size_t ossl_ecx_key_length(ECX_KEY_TYPE type);
78 ECX_KEY *ossl_ecx_key_new(OSSL_LIB_CTX *libctx, ECX_KEY_TYPE type,
A Ddsa.h30 int ossl_dsa_generate_ffc_parameters(DSA *dsa, int type, int pbits, int qbits,
33 int ossl_dsa_sign_int(int type, const unsigned char *dgst, int dlen,
A Ddh.h22 int ossl_dh_generate_ffc_parameters(DH *dh, int type, int pbits, int qbits,
28 int ossl_dh_gen_type_name2id(const char *name, int type);
A Dx509.h306 X509_LOOKUP_TYPE type; member
324 int ossl_asn1_item_digest_ex(const ASN1_ITEM *it, const EVP_MD *type,
380 int type,
384 int nid, int type,
389 int type,

Completed in 740 milliseconds

123