/optee_os/lib/libutee/ |
A D | tee_api_panic.c | 38 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() 60 void __utee_check_instring_annotation(const char *buf) in __utee_check_instring_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 D | tee_tcpudp_socket.c | 112 static TEE_Result sock_send(TEE_iSocketHandle ctx, const void *buf, in sock_send() 127 static TEE_Result sock_recv(TEE_iSocketHandle ctx, void *buf, uint32_t *length, in sock_recv() 153 void *buf, uint32_t *length) in tcp_ioctl() 180 void *buf, uint32_t *length) in udp_ioctl()
|
/optee_os/core/lib/zlib/ |
A D | adler32.c | 17 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;} argument 18 #define DO2(buf,i) DO1(buf,i); DO1(buf,i+1); argument 19 #define DO4(buf,i) DO2(buf,i); DO2(buf,i+2); argument 20 #define DO8(buf,i) DO4(buf,i); DO4(buf,i+4); argument 21 #define DO16(buf) DO8(buf,0); DO8(buf,8); argument 64 uLong ZEXPORT adler32_z(adler, buf, len) in adler32_z() argument 135 uLong ZEXPORT adler32(adler, buf, len) in adler32() argument
|
/optee_os/core/drivers/crypto/caam/utils/ |
A D | utils_mem.c | 93 static enum caam_status mem_alloc_buf(struct caambuf *buf, size_t size, in mem_alloc_buf() 144 enum caam_status caam_alloc_buf(struct caambuf *buf, size_t size) in caam_alloc_buf() 149 enum caam_status caam_calloc_buf(struct caambuf *buf, size_t size) in caam_calloc_buf() 154 enum caam_status caam_calloc_align_buf(struct caambuf *buf, size_t size) in caam_calloc_align_buf() 159 enum caam_status caam_alloc_align_buf(struct caambuf *buf, size_t size) in caam_alloc_align_buf() 164 void caam_free_buf(struct caambuf *buf) in caam_free_buf() 178 bool caam_mem_is_cached_buf(void *buf, size_t size) in caam_mem_is_cached_buf() 233 int caam_mem_get_pa_area(struct caambuf *buf, struct caambuf **out_pabufs) in caam_mem_get_pa_area()
|
/optee_os/core/include/mm/ |
A D | core_memprot.h | 41 #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/lib/libmbedtls/mbedtls/library/ |
A D | ssl_cli.c | 93 unsigned char *buf, in ssl_write_hostname_ext() 162 unsigned char *buf, in ssl_write_renegotiation_ext() 411 unsigned char *buf, in ssl_write_ecjpake_kkpp_ext() 484 unsigned char *buf, in ssl_write_cid_ext() 625 unsigned char *buf, in ssl_write_extended_ms_ext() 700 unsigned char *buf, in ssl_write_alpn_ext() 761 unsigned char *buf, in ssl_write_use_srtp_ext() 981 unsigned char *buf; in ssl_write_client_hello() local 1563 const unsigned char *buf, in ssl_parse_cid_ext() 2053 unsigned char *buf, *ext; in ssl_parse_server_hello() local [all …]
|
A D | ssl_srv.c | 80 const unsigned char *buf, in ssl_parse_servername_ext() 427 const unsigned char *buf, in ssl_parse_ecjpake_kkpp() 475 const unsigned char *buf, in ssl_parse_cid_ext() 619 unsigned char *buf, in ssl_parse_session_ticket_ext() 1154 unsigned char *buf, *p; in ssl_parse_client_hello_v2() local 1422 unsigned char *buf, *p, *ext; in ssl_parse_client_hello() local 2305 unsigned char *buf, in ssl_write_cid_ext() 2396 unsigned char *buf, in ssl_write_extended_ms_ext() 2626 unsigned char *buf, in ssl_write_use_srtp_ext() 2824 unsigned char *buf, *p; in ssl_write_server_hello() local [all …]
|
A D | entropy.c | 264 unsigned char buf[MBEDTLS_ENTROPY_MAX_GATHER]; in entropy_gather_internal() local 333 unsigned char buf[MBEDTLS_ENTROPY_BLOCK_SIZE]; in mbedtls_entropy_func() local 454 unsigned char buf[MBEDTLS_ENTROPY_BLOCK_SIZE]; in mbedtls_entropy_update_nv_seed() local 476 unsigned char buf[MBEDTLS_ENTROPY_BLOCK_SIZE]; in mbedtls_entropy_write_seed_file() local 512 unsigned char buf[ MBEDTLS_ENTROPY_MAX_SEED_SIZE ]; in mbedtls_entropy_update_seed_file() local 559 static int mbedtls_entropy_source_self_test_gather( unsigned char *buf, size_t buf_len ) in mbedtls_entropy_source_self_test_gather() 585 static int mbedtls_entropy_source_self_test_check_bits( const unsigned char *buf, in mbedtls_entropy_source_self_test_check_bits() 665 unsigned char buf[MBEDTLS_ENTROPY_BLOCK_SIZE] = { 0 }; in mbedtls_entropy_self_test() local
|
A D | x509_csr.c | 86 const unsigned char *buf, size_t buflen ) in mbedtls_x509_csr_parse_der() 257 int mbedtls_x509_csr_parse( mbedtls_x509_csr *csr, const unsigned char *buf, size_t buflen ) in mbedtls_x509_csr_parse() 312 unsigned char *buf; in mbedtls_x509_csr_parse_file() local 331 int mbedtls_x509_csr_info( char *buf, size_t size, const char *prefix, in mbedtls_x509_csr_info()
|
A D | ecdh.c | 298 unsigned char *buf, size_t blen, in ecdh_make_params_internal() 355 unsigned char *buf, size_t blen, in mbedtls_ecdh_make_params() 394 const unsigned char **buf, in ecdh_read_params_internal() 409 const unsigned char **buf, in mbedtls_ecdh_read_params() 521 unsigned char *buf, size_t blen, in ecdh_make_public_internal() 561 unsigned char *buf, size_t blen, in mbedtls_ecdh_make_public() 598 const unsigned char *buf, size_t blen ) in ecdh_read_public_internal() 617 const unsigned char *buf, size_t blen ) in mbedtls_ecdh_read_public() 642 size_t *olen, unsigned char *buf, in ecdh_calc_secret_internal() 695 unsigned char *buf, size_t blen, in mbedtls_ecdh_calc_secret()
|
A D | x509write_crt.c | 139 unsigned char buf[9]; in mbedtls_x509write_crt_set_basic_constraints() local 173 unsigned char buf[MBEDTLS_MPI_MAX_SIZE * 2 + 20]; /* tag, length + 2xMPI */ in mbedtls_x509write_crt_set_subject_key_identifier() local 201 unsigned char buf[MBEDTLS_MPI_MAX_SIZE * 2 + 20]; /* tag, length + 2xMPI */ in mbedtls_x509write_crt_set_authority_key_identifier() local 236 unsigned char buf[5] = {0}, ku[2] = {0}; in mbedtls_x509write_crt_set_key_usage() local 275 unsigned char buf[4] = {0}; in mbedtls_x509write_crt_set_ns_cert_type() local 326 unsigned char *buf, size_t size, in mbedtls_x509write_crt_der() 520 unsigned char *buf, size_t size, in mbedtls_x509write_crt_pem()
|
A D | error.c | 896 void mbedtls_strerror( int ret, char *buf, size_t buflen ) in mbedtls_strerror() 966 void mbedtls_strerror( int ret, char *buf, size_t buflen ) in mbedtls_strerror()
|
A D | entropy_poll.c | 99 static int getrandom_wrapper( void *buf, size_t buflen, unsigned int flags ) in getrandom_wrapper() 119 static int getrandom_wrapper( void *buf, size_t buflen, unsigned int flags ) in getrandom_wrapper() 141 static int sysctl_arnd_wrapper( unsigned char *buf, size_t buflen ) in sysctl_arnd_wrapper() 272 unsigned char buf[MBEDTLS_ENTROPY_BLOCK_SIZE]; in mbedtls_nv_seed_poll() local
|
A D | x509write_csr.c | 94 unsigned char buf[4] = {0}; in mbedtls_x509write_csr_set_key_usage() local 116 unsigned char buf[4] = {0}; in mbedtls_x509write_csr_set_ns_cert_type() local 136 unsigned char *buf, in x509write_csr_der_internal() 293 int mbedtls_x509write_csr_der( mbedtls_x509write_csr *ctx, unsigned char *buf, in mbedtls_x509write_csr_der() 317 int mbedtls_x509write_csr_pem( mbedtls_x509write_csr *ctx, unsigned char *buf, size_t size, in mbedtls_x509write_csr_pem()
|
A D | pem.c | 139 unsigned char *buf, size_t buflen, in pem_des_decrypt() 167 unsigned char *buf, size_t buflen, in pem_des3_decrypt() 197 unsigned char *buf, size_t buflen, in pem_aes_decrypt() 231 unsigned char *buf; in mbedtls_pem_read_buffer() local 435 unsigned char *buf, size_t buf_len, size_t *olen ) in mbedtls_pem_write_buffer()
|
/optee_os/ldelf/ |
A D | main.c | 54 char *buf; member 63 char *buf = NULL; in print_to_pbuf() local 81 char *buf = NULL; in copy_to_pbuf() local 94 static void __noreturn ftrace_dump(void *buf, size_t *blen) in ftrace_dump()
|
/optee_os/core/drivers/crypto/se050/core/ |
A D | rng.c | 12 static TEE_Result do_rng_read(void *buf, size_t blen) in do_rng_read() 31 TEE_Result crypto_rng_read(void *buf, size_t blen) in crypto_rng_read()
|
/optee_os/core/lib/libtomcrypt/src/prngs/ |
A D | rng_get_bytes.c | 20 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/headers/ |
A D | tomcrypt_hash.h | 28 unsigned char buf[128]; member 36 unsigned char buf[64]; member 44 unsigned char buf[64]; member 52 unsigned char buf[64]; member 60 unsigned char buf[64]; member 68 unsigned char buf[64]; member 82 unsigned char buf[64]; member 90 unsigned char buf[64]; member 98 unsigned char buf[64]; member 106 unsigned char buf[64]; member [all …]
|
/optee_os/core/lib/libtomcrypt/ |
A D | sha1_accel.c | 66 static int sha1_compress_nblocks(hash_state *md, const unsigned char *buf, in sha1_compress_nblocks() 77 static int sha1_compress(hash_state *md, const unsigned char *buf) in sha1_compress()
|
A D | sha256_accel.c | 68 static int sha256_compress_nblocks(hash_state *md, const unsigned char *buf, in sha256_compress_nblocks() 79 static int sha256_compress(hash_state *md, const unsigned char *buf) in sha256_compress()
|
/optee_os/core/lib/libtomcrypt/src/misc/ |
A D | burn_stack.c | 23 unsigned char buf[len]; in burn_stack() local
|
/optee_os/core/pta/ |
A D | device.c | 23 static void add_ta(uint32_t flags, const TEE_UUID *uuid, uint8_t *buf, in add_ta() 46 void *buf = NULL; in get_devices() local
|
/optee_os/lib/libmbedtls/core/ |
A D | dh.c | 52 unsigned char *buf = NULL; in crypto_acipher_gen_dh_key() local 103 unsigned char *buf = NULL; in crypto_acipher_dh_shared_secret() local
|
/optee_os/lib/libutils/ext/ |
A D | trace.c | 57 static int print_thread_id(char *buf, size_t bs) in print_thread_id() 75 static int print_core_id(char *buf, size_t bs) in print_core_id() 114 char buf[MAX_PRINT_SIZE]; in trace_vprintf() local 206 char buf[MAX_PRINT_SIZE]; member 235 const void *buf, int len) in dhex_dump()
|