Home
last modified time | relevance | path

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

12

/optee_test/host/openssl/include/openssl/
A Dpem.h222 type *PEM_read_##name(FILE *fp, type **x, pem_password_cb *cb, void *u)\
258 type *PEM_read_bio_##name(BIO *bp, type **x, pem_password_cb *cb, void *u)\
331 type *PEM_read_##name(FILE *fp, type **x, pem_password_cb *cb, void *u);
347 type *PEM_read_bio_##name(BIO *bp, type **x, pem_password_cb *cb, void *u);
375 # define DECLARE_PEM_read(name, type) \ argument
377 DECLARE_PEM_read_fp(name, type)
378 # define DECLARE_PEM_rw(name, type) \ argument
379 DECLARE_PEM_read(name, type) \
380 DECLARE_PEM_write(name, type)
382 DECLARE_PEM_read(name, type) \
[all …]
A Dlhash.h199 # define LHASH_OF(type) struct lhash_st_##type argument
201 # define DECLARE_LHASH_OF(type) LHASH_OF(type) { int dummy; } argument
207 # define LHM_lh_new(type, name) \ argument
209 # define LHM_lh_error(type, lh) \ argument
212 ((type *)lh_insert(CHECKED_LHASH_OF(type, lh), \
215 ((type *)lh_retrieve(CHECKED_LHASH_OF(type, lh), \
218 ((type *)lh_delete(CHECKED_LHASH_OF(type, lh), \
220 # define LHM_lh_doall(type, lh,fn) lh_doall(CHECKED_LHASH_OF(type, lh), fn) argument
223 # define LHM_lh_num_items(type, lh) lh_num_items(CHECKED_LHASH_OF(type, lh)) argument
224 # define LHM_lh_down_load(type, lh) (CHECKED_LHASH_OF(type, lh)->down_load) argument
[all …]
A Dasn1.h241 int type; member
303 # define DECLARE_ASN1_FUNCTIONS(type) DECLARE_ASN1_FUNCTIONS_name(type, type) argument
306 DECLARE_ASN1_ALLOC_FUNCTIONS_name(type, type)
344 # define D2I_OF(type) type *(*)(type **,const unsigned char **,long) argument
345 # define I2D_OF(type) int (*)(type *,unsigned char **) argument
359 # define TYPEDEF_D2I_OF(type) typedef type *d2i_of_##type(type **,const unsigned char **,long) argument
360 # define TYPEDEF_I2D_OF(type) typedef int i2d_of_##type(type *,unsigned char **) argument
361 # define TYPEDEF_D2I2D_OF(type) TYPEDEF_D2I_OF(type); TYPEDEF_I2D_OF(type) argument
967 ((type*)ASN1_dup(CHECKED_I2D_OF(type, i2d), \
980 # define M_ASN1_new_of(type) (type *)ASN1_item_new(ASN1_ITEM_rptr(type)) argument
[all …]
A Dasn1_mac.h75 # define M_ASN1_D2I_vars(a,type,func) \ argument
77 type ret=NULL; \
136 # define M_ASN1_D2I_get_x(type,b,func) \ argument
149 # define M_ASN1_D2I_get_opt(b,func,type) \ argument
151 == (V_ASN1_UNIVERSAL|(type)))) \
156 # define M_ASN1_D2I_get_int_opt(b,func,type) \ argument
163 # define M_ASN1_D2I_get_imp(b,func, type) \ argument
356 # define M_ASN1_New_Malloc(ret,type) \ argument
357 if ((ret=(type *)OPENSSL_malloc(sizeof(type))) == NULL) \
391 # define M_ASN1_I2D_len_SET_type(type,a,f) \ argument
[all …]
A Dasn1t.h292 #name, ASN1_ITEM_ref(type) }
300 #field, ASN1_ITEM_ref(type) }
304 # define ASN1_EX_COMBINE(flags, tag, type) { \ argument
325 # define ASN1_SIMPLE(stname, field, type) ASN1_EX_TYPE(0,0, stname, field, type) argument
328 # define ASN1_OPT(stname, field, type) ASN1_EX_TYPE(ASN1_TFLG_OPTIONAL, 0, stname, field, type) argument
331 # define ASN1_IMP(stname, field, type, tag) ASN1_IMP_EX(stname, field, type, tag, 0) argument
334 # define ASN1_IMP_OPT(stname, field, type, tag) ASN1_IMP_EX(stname, field, type, tag, ASN1_TFLG_OPT… argument
338 # define ASN1_EXP(stname, field, type, tag) ASN1_EXP_EX(stname, field, type, tag, 0) argument
339 # define ASN1_EXP_OPT(stname, field, type, tag) ASN1_EXP_EX(stname, field, type, tag, ASN1_TFLG_OPT… argument
351 # define ASN1_SET_OF(stname, field, type) \ argument
[all …]
A De_os2.h294 # define OPENSSL_IMPLEMENT_GLOBAL(type,name,value) \ argument
295 type *_shadow_##name(void) \
296 { static type _hide_##name=value; return &_hide_##name; }
297 # define OPENSSL_DECLARE_GLOBAL(type,name) type *_shadow_##name(void) argument
300 # define OPENSSL_IMPLEMENT_GLOBAL(type,name,value) OPENSSL_GLOBAL type _shadow_##name=value;
301 # define OPENSSL_DECLARE_GLOBAL(type,name) OPENSSL_EXPORT type _shadow_##name
A Dcrypto.h237 # define CRYPTO_w_lock(type) \ argument
239 # define CRYPTO_w_unlock(type) \ argument
241 # define CRYPTO_r_lock(type) \ argument
243 # define CRYPTO_r_unlock(type) \ argument
245 # define CRYPTO_add(addr,amount,type) \ argument
246 CRYPTO_add_lock(addr,amount,type,__FILE__,__LINE__)
396 const char *SSLeay_version(int type);
436 void CRYPTO_lock(int mode, int type, const char *file, int line);
437 void CRYPTO_set_locking_callback(void (*func) (int mode, int type,
439 void (*CRYPTO_get_locking_callback(void)) (int mode, int type,
[all …]
A Dx509_vfy.h125 int type; member
148 int (*get_by_subject) (X509_LOOKUP *ctx, int type, X509_NAME *name,
152 int (*get_by_fingerprint) (X509_LOOKUP *ctx, int type,
155 int (*get_by_alias) (X509_LOOKUP *ctx, int type, char *str, int len,
309 # define X509_LOOKUP_load_file(x,name,type) \ argument
312 # define X509_LOOKUP_add_dir(x,name,type) \ argument
459 int X509_OBJECT_idx_by_subject(STACK_OF(X509_OBJECT) *h, int type,
512 int X509_load_cert_file(X509_LOOKUP *ctx, const char *file, int type);
513 int X509_load_crl_file(X509_LOOKUP *ctx, const char *file, int type);
520 int X509_LOOKUP_by_subject(X509_LOOKUP *ctx, int type, X509_NAME *name,
[all …]
A Devp.h130 int type; member
161 int type; member
183 typedef int evp_sign_method(int type, const unsigned char *m,
186 typedef int evp_verify_method(int type, const unsigned char *m,
602 int EVP_DigestInit(EVP_MD_CTX *ctx, const EVP_MD *type);
611 int EVP_BytesToKey(const EVP_CIPHER *type, const EVP_MD *md,
949 int EVP_PKEY_type(int type);
954 int EVP_PKEY_set_type(EVP_PKEY *pkey, int type);
956 int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key);
1204 const EVP_PKEY_METHOD *EVP_PKEY_meth_find(int type);
[all …]
A Dpkcs7.h177 ASN1_OBJECT *type; member
212 # define PKCS7_type_is_signed(a) (OBJ_obj2nid((a)->type) == NID_pkcs7_signed)
213 # define PKCS7_type_is_encrypted(a) (OBJ_obj2nid((a)->type) == NID_pkcs7_encrypted)
214 # define PKCS7_type_is_enveloped(a) (OBJ_obj2nid((a)->type) == NID_pkcs7_enveloped)
216 (OBJ_obj2nid((a)->type) == NID_pkcs7_signedAndEnveloped)
217 # define PKCS7_type_is_data(a) (OBJ_obj2nid((a)->type) == NID_pkcs7_data)
218 # define PKCS7_type_is_digest(a) (OBJ_obj2nid((a)->type) == NID_pkcs7_digest)
261 const EVP_MD *type, unsigned char *md,
291 int PKCS7_set_type(PKCS7 *p7, int type);
292 int PKCS7_set0_type_other(PKCS7 *p7, int type, ASN1_TYPE *other);
[all …]
A Dx509.h527 ASN1_OBJECT *type; member
657 int X509_pubkey_digest(const X509 *data, const EVP_MD *type,
659 int X509_digest(const X509 *data, const EVP_MD *type,
661 int X509_CRL_digest(const X509_CRL *data, const EVP_MD *type,
895 EVP_PKEY *pkey, const EVP_MD *type);
937 int nid, int type,
1047 int X509_NAME_ENTRY_set_data(X509_NAME_ENTRY *ne, int type,
1122 int type,
1131 int type,
1135 int lastpos, int type);
[all …]
A Decdsa.h190 int ECDSA_sign(int type, const unsigned char *dgst, int dgstlen,
206 int ECDSA_sign_ex(int type, const unsigned char *dgst, int dgstlen,
221 int ECDSA_verify(int type, const unsigned char *dgst, int dgstlen,
A Dcms.h299 const ASN1_OBJECT *obj, int type,
302 int nid, int type,
305 const char *attrname, int type,
308 int lastpos, int type);
319 const ASN1_OBJECT *obj, int type,
322 int nid, int type,
325 const char *attrname, int type,
328 int lastpos, int type);
A Dsafestack.h88 # define STACK_OF(type) struct stack_st_##type argument
89 # define PREDECLARE_STACK_OF(type) STACK_OF(type); argument
92 STACK_OF(type) \
97 STACK_OF(type) \
153 ((type *)sk_value(CHECKED_STACK_OF(type, st), i))
168 (type *)sk_delete(CHECKED_STACK_OF(type, st), i)
170 (type *)sk_delete_ptr(CHECKED_STACK_OF(type, st), CHECKED_PTR_OF(type, ptr))
177 (STACK_OF(type) *)sk_dup(CHECKED_STACK_OF(type, st))
181 …(STACK_OF(type) *)sk_deep_copy(CHECKED_STACK_OF(type, st), CHECKED_SK_COPY_FUNC(type, copy_func), …
183 (type *)sk_shift(CHECKED_STACK_OF(type, st))
[all …]
A Ddtls1.h148 unsigned char type; member
158 unsigned char type; member
A Dpkcs12.h115 ASN1_OBJECT *type; member
131 ASN1_OBJECT *type; member
160 # define M_PKCS12_bag_type(bg) OBJ_obj2nid((bg)->type)
161 # define M_PKCS12_cert_bag_type(bg) OBJ_obj2nid((bg)->value.bag->type)
A Dobjects.h985 int type; member
997 const char *OBJ_NAME_get(const char *name, int type);
998 int OBJ_NAME_add(const char *name, int type, const char *data);
999 int OBJ_NAME_remove(const char *name, int type);
1000 void OBJ_NAME_cleanup(int type); /* -1 for everything */
1001 void OBJ_NAME_do_all(int type, void (*fn) (const OBJ_NAME *, void *arg),
1003 void OBJ_NAME_do_all_sorted(int type,
A Drsa.h116 int (*rsa_sign) (int type,
410 int RSA_sign(int type, const unsigned char *m, unsigned int m_length,
412 int RSA_verify(int type, const unsigned char *m, unsigned int m_length,
419 int RSA_sign_ASN1_OCTET_STRING(int type,
423 int RSA_verify_ASN1_OCTET_STRING(int type, const unsigned char *m,
A Dossl_typ.h194 # define DECLARE_PKCS12_STACK_OF(type)/* Nothing */ argument
195 # define IMPLEMENT_PKCS12_STACK_OF(type)/* Nothing */ argument
A Dx509v3.h187 int type; member
227 int type; member
552 void GENERAL_NAME_set0_value(GENERAL_NAME *a, int type, void *value);
768 int type; member
782 int type; member
806 int type; member
820 int type; member
A Dcomp.h18 int type; /* NID for compression library */ member
A Drand.h122 void RAND_set_fips_drbg_type(int type, int flags);
/optee_test/scripts/
A Drsp_to_gcm_test.py51 type=argparse.FileType('r'),
55 type=argparse.FileType('w'),
/optee_test/ta/crypt/
A Darith_taf.c31 static void *lookup_handle(uint32_t type, uint32_t handle) in lookup_handle() argument
35 if ((handle & HT_MASK) == type) in lookup_handle()
44 static bool get_handle(uint32_t type, void *ptr, uint32_t *handle) in get_handle() argument
46 switch (type) { in get_handle()
52 EMSG("Invalid type 0x%" PRIx32, type); in get_handle()
63 *handle = (uint32_t)h | type; in get_handle()
/optee_test/host/xtest/include/uapi/linux/
A Dion.h106 __u32 type; member

Completed in 119 milliseconds

12