Home
last modified time | relevance | path

Searched defs:len (Results 1 – 25 of 319) sorted by relevance

12345678910>>...13

/optee_os/lib/libutee/
A Dtee_api_panic.c38 static TEE_Result check_access(uint32_t flags, void *buf, size_t len) in check_access()
52 void __utee_check_outbuf_annotation(void *buf, uint32_t *len) in __utee_check_outbuf_annotation()
66 void __utee_check_outstring_annotation(char *buf, uint32_t *len) in __utee_check_outstring_annotation()
74 void __utee_check_out_annotation(void *buf, const size_t len) in __utee_check_out_annotation()
86 void __utee_check_inout_annotation(void *buf, const size_t len) in __utee_check_inout_annotation()
A Dtee_system_pta.c32 void *tee_map_zi(size_t len, uint32_t flags) in tee_map_zi()
62 TEE_Result tee_unmap(void *buf, size_t len) in tee_unmap()
82 uint32_t sub_cmd, void *buf, size_t len, in tee_invoke_supp_plugin()
/optee_os/core/drivers/crypto/caam/include/
A Dcaam_desc_helper.h49 size_t len = 0; in dump_desc() local
71 #define DESC_HEADER(len) (DESC_HDR(0) | HDR_JD_DESCLEN(len)) argument
76 #define DESC_HEADER_IDX(len, idx) (DESC_HDR(idx) | HDR_JD_DESCLEN(len)) argument
134 #define LD_IMM(cla, dst, len) \ argument
141 #define LD_NOCLASS_IMM(dst, len) LD_IMM(CLASS_NO, dst, len) argument
146 #define LD_NOIMM(cla, dst, len) \ argument
153 #define LD_NOIMM_OFF(cla, dst, len, off) \ argument
160 #define FIFO_LD(cla, dst, act, len) \ argument
168 #define FIFO_LD_SGT(cla, dst, act, len) \ argument
543 #define SEQ_IN_PTR(len) (CMD_SEQ_IN_TYPE | SEQ_LENGTH(len)) argument
[all …]
A Dcaam_desc_ccb_defines.h42 #define NFIFO_DATA_LENGTH(len) SHIFT_U32((len) & 0xFFF, 0) argument
43 #define NFIFO_PAD_LENGTH(len) SHIFT_U32((len) & 0x7F, 0) argument
48 #define NFIFO_PAD(cla, options, data, pad, len) \ argument
55 #define NFIFO_NOPAD(cla, options, src, data, len) \ argument
/optee_os/lib/libmbedtls/mbedtls/library/
A Dentropy_poll.c61 int mbedtls_platform_entropy_poll( void *data, unsigned char *output, size_t len, in mbedtls_platform_entropy_poll()
144 size_t len; in sysctl_arnd_wrapper() local
165 unsigned char *output, size_t len, size_t *olen ) in mbedtls_platform_entropy_poll()
219 unsigned char *output, size_t len, size_t *olen ) in mbedtls_null_entropy_poll()
236 unsigned char *output, size_t len, size_t *olen ) in mbedtls_hardclock_poll()
254 unsigned char *output, size_t len, size_t *olen ) in mbedtls_havege_poll()
270 unsigned char *output, size_t len, size_t *olen ) in mbedtls_nv_seed_poll()
A Dasn1parse.c47 size_t *len ) in mbedtls_asn1_get_len()
105 size_t *len, int tag ) in mbedtls_asn1_get_tag()
123 size_t len; in mbedtls_asn1_get_bool() local
142 size_t len; in asn1_get_tagged_int() local
201 size_t len; in mbedtls_asn1_get_mpi() local
248 int mbedtls_asn1_traverse_sequence_of( in mbedtls_asn1_traverse_sequence_of()
258 size_t len; in mbedtls_asn1_traverse_sequence_of() local
300 size_t *len ) in mbedtls_asn1_get_bitstring_null()
338 size_t len ) in asn1_get_sequence_of_cb()
384 size_t len; in mbedtls_asn1_get_alg() local
[all …]
A Dasn1write.c37 int mbedtls_asn1_write_len( unsigned char **p, unsigned char *start, size_t len ) in mbedtls_asn1_write_len()
114 size_t len = 0; in mbedtls_asn1_write_raw_buffer() local
130 size_t len = 0; in mbedtls_asn1_write_mpi() local
167 size_t len = 0; in mbedtls_asn1_write_null() local
181 size_t len = 0; in mbedtls_asn1_write_oid() local
196 size_t len = 0; in mbedtls_asn1_write_algorithm_identifier() local
215 size_t len = 0; in mbedtls_asn1_write_bool() local
232 size_t len = 0; in asn1_write_tagged_int() local
272 size_t len = 0; in mbedtls_asn1_write_tagged_string() local
348 size_t len = 0; in mbedtls_asn1_write_bitstring() local
[all …]
A Dx509_create.c240 size_t len = 0; in x509_write_name() local
273 size_t len = 0; in mbedtls_x509_write_names() local
294 size_t len = 0; in mbedtls_x509_write_sig() local
324 size_t len = 0; in x509_write_extension() local
362 size_t len = 0; in mbedtls_x509_write_extensions() local
A Dpkparse.c245 size_t len; in pk_group_from_specified() local
527 size_t len; in pk_get_rsapubkey() local
614 size_t len; in mbedtls_pk_parse_subpubkey() local
709 size_t len; in pk_parse_key_pkcs1_der() local
867 size_t len; in pk_parse_key_sec1_der() local
1005 size_t len; in pk_parse_key_pkcs8_unencrypted_der() local
1102 size_t len; in pk_parse_key_pkcs8_encrypted_der() local
1223 size_t len; in mbedtls_pk_parse_key() local
1438 size_t len; in mbedtls_pk_parse_public_key() local
/optee_os/core/drivers/crypto/se050/glue/
A Duser.c13 sss_status_t glue_mac_context_init(void **mac, const uint8_t *key, size_t len) in glue_mac_context_init()
29 sss_status_t glue_mac_update(void *mac, const uint8_t *msg, size_t len) in glue_mac_update()
37 sss_status_t glue_mac_final(void *mac, uint8_t *buf, size_t len) in glue_mac_final()
68 const uint8_t *src, uint8_t *dst, size_t len) in glue_cipher_one_go()
86 sss_status_t glue_rng_get_random(uint8_t *data, size_t len) in glue_rng_get_random()
A Di2c.c34 static int i2c_transfer(uint8_t *buffer, int len, enum rpc_i2c_mode mode) in i2c_transfer()
55 int glue_i2c_read(uint8_t *buffer, int len) in glue_i2c_read()
60 int glue_i2c_write(uint8_t *buffer, int len) in glue_i2c_write()
/optee_os/core/kernel/
A Duser_access.c16 static TEE_Result check_access(uint32_t flags, vaddr_t va, size_t len) in check_access()
23 TEE_Result copy_from_user(void *kaddr, const void *uaddr, size_t len) in copy_from_user()
34 TEE_Result copy_to_user(void *uaddr, const void *kaddr, size_t len) in copy_to_user()
45 TEE_Result copy_from_user_private(void *kaddr, const void *uaddr, size_t len) in copy_from_user_private()
56 TEE_Result copy_to_user_private(void *uaddr, const void *kaddr, size_t len) in copy_to_user_private()
A Ddt.c48 int len = 0; in dt_disable_status() local
163 int len; in _fdt_reg_base_address() local
186 int len; in _fdt_reg_size() local
218 static bool is_okay(const char *st, int len) in is_okay()
227 int len; in _fdt_get_status() local
/optee_os/core/include/mm/
A Dcore_memprot.h41 #define tee_pbuf_is_non_sec(buf, len) \ argument
44 #define tee_pbuf_is_sec(buf, len) \ argument
47 #define tee_vbuf_is_non_sec(buf, len) \ argument
50 #define tee_vbuf_is_sec(buf, len) \ argument
/optee_os/core/crypto/
A Daes-gcm.c28 const uint8_t *data, size_t len) in ghash_update_pad_zero()
141 const void *data, size_t len) in __gcm_update_aad()
184 const void *data, size_t len) in internal_aes_gcm_update_aad()
193 size_t len, void *dst) in __gcm_update_payload()
259 const void *src, size_t len, in internal_aes_gcm_update_payload()
269 size_t len, uint8_t *dst) in operation_final()
373 const void *src, size_t len, void *dst, in internal_aes_gcm_enc()
472 const uint8_t *data, size_t len) in aes_gcm_update_aad()
480 const uint8_t *src, size_t len, in aes_gcm_update_payload()
488 const uint8_t *src, size_t len, in aes_gcm_enc_final()
[all …]
A Dsm3-hmac.c36 const uint8_t *key, size_t len) in op_sm3_hmac_init()
44 const uint8_t *data, size_t len) in op_sm3_hmac_update()
52 size_t len) in op_sm3_hmac_final()
/optee_os/core/tee/
A Dtee_ta_enc_manager.c13 size_t len) in tee_ta_decrypt_init()
40 size_t len) in tee_ta_decrypt_update()
54 uint8_t *dst, uint8_t *src, size_t len) in tee_ta_decrypt_final()
/optee_os/core/arch/arm/kernel/
A Dotp_stubs.c26 __weak int tee_otp_get_die_id(uint8_t *buffer, size_t len) in tee_otp_get_die_id()
45 uint8_t *buffer, size_t len) in tee_otp_get_ta_enc_key()
/optee_os/core/lib/libfdt/
A Dfdt_wip.c16 int len) in fdt_setprop_inplace_namelen_partial()
34 const void *val, int len) in fdt_setprop_inplace()
51 static void fdt_nop_region_(void *start, int len) in fdt_nop_region_()
62 int len; in fdt_nop_property() local
/optee_os/core/lib/libtomcrypt/src/prngs/
A Drng_get_bytes.c20 static unsigned long _rng_nix(unsigned char *buf, unsigned long len, in _rng_nix()
63 static unsigned long _rng_ansic(unsigned char *buf, unsigned long len, in _rng_ansic()
104 static unsigned long _rng_win32(unsigned char *buf, unsigned long len, in _rng_win32()
/optee_os/core/lib/libtomcrypt/src/modes/ctr/
A Dctr_encrypt.c48 static int _ctr_encrypt(const unsigned char *pt, unsigned char *ct, unsigned long len, symmetric_CT… in _ctr_encrypt()
93 int ctr_encrypt(const unsigned char *pt, unsigned char *ct, unsigned long len, symmetric_CTR *ctr) in ctr_encrypt()
/optee_os/core/drivers/crypto/caam/utils/
A Dutils_sgt_v2.c26 uint64_t len = 0; in sgt_entry_offset() local
51 void caam_sgt_set_entry(union caamsgt *sgt, paddr_t paddr, size_t len, in caam_sgt_set_entry()
A Dutils_sgt_v1.c12 #define ENTRY_LEN(len) (((uint32_t)len) & GENMASK_32(29, 0)) argument
42 void caam_sgt_set_entry(union caamsgt *sgt, paddr_t paddr, size_t len, in caam_sgt_set_entry()
/optee_os/core/include/tee/
A Dtee_svc.h27 const size_t len; member
32 size_t len; member
/optee_os/core/lib/libtomcrypt/
A Dcmac.c33 size_t len) in ltc_omac_init()
44 const uint8_t *data, size_t len) in ltc_omac_update()
53 size_t len) in ltc_omac_final()

Completed in 24 milliseconds

12345678910>>...13