/optee_os/out/arm/export-ta_arm32/include/ |
A D | atomic.h | 15 static inline bool atomic_cas_uint(unsigned int *p, unsigned int *oval, in atomic_cas_uint() 21 static inline bool atomic_cas_u32(uint32_t *p, uint32_t *oval, uint32_t nval) in atomic_cas_u32() 26 static inline int atomic_load_int(int *p) in atomic_load_int() 31 static inline short int atomic_load_short(short int *p) in atomic_load_short() 36 static inline unsigned int atomic_load_uint(unsigned int *p) in atomic_load_uint() 41 static inline uint32_t atomic_load_u32(const uint32_t *p) in atomic_load_u32() 46 static inline void atomic_store_int(int *p, int val) in atomic_store_int() 51 static inline void atomic_store_short(short int *p, short int val) in atomic_store_short() 56 static inline void atomic_store_uint(unsigned int *p, unsigned int val) in atomic_store_uint() 61 static inline void atomic_store_u32(uint32_t *p, uint32_t val) in atomic_store_u32()
|
/optee_os/out/arm/export-ta_arm64/include/ |
A D | atomic.h | 15 static inline bool atomic_cas_uint(unsigned int *p, unsigned int *oval, in atomic_cas_uint() 21 static inline bool atomic_cas_u32(uint32_t *p, uint32_t *oval, uint32_t nval) in atomic_cas_u32() 26 static inline int atomic_load_int(int *p) in atomic_load_int() 31 static inline short int atomic_load_short(short int *p) in atomic_load_short() 36 static inline unsigned int atomic_load_uint(unsigned int *p) in atomic_load_uint() 41 static inline uint32_t atomic_load_u32(const uint32_t *p) in atomic_load_u32() 46 static inline void atomic_store_int(int *p, int val) in atomic_store_int() 51 static inline void atomic_store_short(short int *p, short int val) in atomic_store_short() 56 static inline void atomic_store_uint(unsigned int *p, unsigned int val) in atomic_store_uint() 61 static inline void atomic_store_u32(uint32_t *p, uint32_t val) in atomic_store_u32()
|
/optee_os/lib/libutils/ext/include/ |
A D | atomic.h | 15 static inline bool atomic_cas_uint(unsigned int *p, unsigned int *oval, in atomic_cas_uint() 21 static inline bool atomic_cas_u32(uint32_t *p, uint32_t *oval, uint32_t nval) in atomic_cas_u32() 26 static inline int atomic_load_int(int *p) in atomic_load_int() 31 static inline short int atomic_load_short(short int *p) in atomic_load_short() 36 static inline unsigned int atomic_load_uint(unsigned int *p) in atomic_load_uint() 41 static inline uint32_t atomic_load_u32(const uint32_t *p) in atomic_load_u32() 46 static inline void atomic_store_int(int *p, int val) in atomic_store_int() 51 static inline void atomic_store_short(short int *p, short int val) in atomic_store_short() 56 static inline void atomic_store_uint(unsigned int *p, unsigned int val) in atomic_store_uint() 61 static inline void atomic_store_u32(uint32_t *p, uint32_t val) in atomic_store_u32()
|
/optee_os/lib/libmbedtls/mbedtls/library/ |
A D | asn1write.c | 37 int mbedtls_asn1_write_len( unsigned char **p, unsigned char *start, size_t len ) in mbedtls_asn1_write_len() 111 int mbedtls_asn1_write_raw_buffer( unsigned char **p, unsigned char *start, in mbedtls_asn1_write_raw_buffer() 164 int mbedtls_asn1_write_null( unsigned char **p, unsigned char *start ) in mbedtls_asn1_write_null() 177 int mbedtls_asn1_write_oid( unsigned char **p, unsigned char *start, in mbedtls_asn1_write_oid() 258 int mbedtls_asn1_write_int( unsigned char **p, unsigned char *start, int val ) in mbedtls_asn1_write_int() 283 int mbedtls_asn1_write_utf8_string( unsigned char **p, unsigned char *start, in mbedtls_asn1_write_utf8_string() 295 int mbedtls_asn1_write_ia5_string( unsigned char **p, unsigned char *start, in mbedtls_asn1_write_ia5_string() 301 int mbedtls_asn1_write_named_bitstring( unsigned char **p, in mbedtls_asn1_write_named_bitstring() 344 int mbedtls_asn1_write_bitstring( unsigned char **p, unsigned char *start, in mbedtls_asn1_write_bitstring() 377 int mbedtls_asn1_write_octet_string( unsigned char **p, unsigned char *start, in mbedtls_asn1_write_octet_string() [all …]
|
A D | asn1parse.c | 45 int mbedtls_asn1_get_len( unsigned char **p, in mbedtls_asn1_get_len() 103 int mbedtls_asn1_get_tag( unsigned char **p, in mbedtls_asn1_get_tag() 118 int mbedtls_asn1_get_bool( unsigned char **p, in mbedtls_asn1_get_bool() 137 static int asn1_get_tagged_int( unsigned char **p, in asn1_get_tagged_int() 181 int mbedtls_asn1_get_int( unsigned char **p, in mbedtls_asn1_get_int() 188 int mbedtls_asn1_get_enum( unsigned char **p, in mbedtls_asn1_get_enum() 196 int mbedtls_asn1_get_mpi( unsigned char **p, in mbedtls_asn1_get_mpi() 249 unsigned char **p, in mbedtls_asn1_traverse_sequence_of() 367 int mbedtls_asn1_get_sequence_of( unsigned char **p, in mbedtls_asn1_get_sequence_of() 379 int mbedtls_asn1_get_alg( unsigned char **p, in mbedtls_asn1_get_alg() [all …]
|
A D | x509.c | 78 int mbedtls_x509_get_serial( unsigned char **p, const unsigned char *end, in mbedtls_x509_get_serial() 123 int mbedtls_x509_get_alg( unsigned char **p, const unsigned char *end, in mbedtls_x509_get_alg() 147 unsigned char *p; in x509_get_hash_alg() local 208 unsigned char *p; in mbedtls_x509_get_rsassa_pss_params() local 346 static int x509_get_attr_type_value( unsigned char **p, in x509_get_attr_type_value() 481 static int x509_parse_int( unsigned char **p, size_t n, int *res ) in x509_parse_int() 705 int mbedtls_x509_get_ext( unsigned char **p, const unsigned char *end, in mbedtls_x509_get_ext() 748 char s[MBEDTLS_X509_MAX_DN_NAME_SIZE], *p; in mbedtls_x509_dn_gets() local 807 char *p; in mbedtls_x509_serial_gets() local 842 char *p = buf; in mbedtls_x509_sig_alg_gets() local [all …]
|
A D | ssl_cli.c | 97 unsigned char *p = buf; in ssl_write_hostname_ext() local 166 unsigned char *p = buf; in ssl_write_renegotiation_ext() local 211 unsigned char *p = buf; in ssl_write_signature_algorithms_ext() local 309 unsigned char *p = buf; in ssl_write_supported_elliptic_curves_ext() local 382 unsigned char *p = buf; in ssl_write_supported_point_formats_ext() local 416 unsigned char *p = buf; in ssl_write_ecjpake_kkpp_ext() local 488 unsigned char *p = buf; in ssl_write_cid_ext() local 534 unsigned char *p = buf; in ssl_write_max_fragment_length_ext() local 568 unsigned char *p = buf; in ssl_write_truncated_hmac_ext() local 982 unsigned char *p, *q; in ssl_write_client_hello() local [all …]
|
A D | pkparse.c | 183 static int pk_get_ecparams( unsigned char **p, const unsigned char *end, in pk_get_ecparams() 242 unsigned char *p = params->p; in pk_group_from_specified() local 495 static int pk_get_ecpubkey( unsigned char **p, const unsigned char *end, in pk_get_ecpubkey() 522 static int pk_get_rsapubkey( unsigned char **p, in pk_get_rsapubkey() 577 static int pk_get_pk_alg( unsigned char **p, in pk_get_pk_alg() 685 static int asn1_get_nonzero_mpi( unsigned char **p, in asn1_get_nonzero_mpi() 710 unsigned char *p, *end; in pk_parse_key_pkcs1_der() local 869 unsigned char *p = (unsigned char *) key; in pk_parse_key_sec1_der() local 1007 unsigned char *p = (unsigned char *) key; in pk_parse_key_pkcs8_unencrypted_der() local 1104 unsigned char *p, *end; in pk_parse_key_pkcs8_encrypted_der() local [all …]
|
A D | x509_crl.c | 68 static int x509_crl_get_version( unsigned char **p, in x509_crl_get_version() 95 static int x509_get_crl_ext( unsigned char **p, in x509_get_crl_ext() 175 static int x509_get_crl_entry_ext( unsigned char **p, in x509_get_crl_entry_ext() 229 static int x509_get_entries( unsigned char **p, in x509_get_entries() 300 unsigned char *p = NULL, *end = NULL; in mbedtls_x509_crl_parse_der() local 630 char *p; in mbedtls_x509_crl_info() local
|
A D | ssl_srv.c | 85 const unsigned char *p; in ssl_parse_servername_ext() local 246 const unsigned char *p; in ssl_parse_signature_algorithms_ext() local 323 const unsigned char *p; in ssl_parse_supported_elliptic_curves() local 389 const unsigned char *p; in ssl_parse_supported_point_formats() local 1154 unsigned char *buf, *p; in ssl_parse_client_hello_v2() local 2283 unsigned char *p = buf; in ssl_write_truncated_hmac_ext() local 2308 unsigned char *p = buf; in ssl_write_cid_ext() local 2356 unsigned char *p = buf; in ssl_write_encrypt_then_mac_ext() local 2399 unsigned char *p = buf; in ssl_write_extended_ms_ext() local 2426 unsigned char *p = buf; in ssl_write_session_ticket_ext() local [all …]
|
A D | x509_create.c | 237 static int x509_write_name( unsigned char **p, unsigned char *start, mbedtls_asn1_named_data* cur_n… in x509_write_name() 269 int mbedtls_x509_write_names( unsigned char **p, unsigned char *start, in mbedtls_x509_write_names() 289 int mbedtls_x509_write_sig( unsigned char **p, unsigned char *start, in mbedtls_x509_write_sig() 320 static int x509_write_extension( unsigned char **p, unsigned char *start, in x509_write_extension() 358 int mbedtls_x509_write_extensions( unsigned char **p, unsigned char *start, in mbedtls_x509_write_extensions()
|
A D | x509_csr.c | 62 static int x509_csr_get_version( unsigned char **p, in x509_csr_get_version() 90 unsigned char *p, *end; in mbedtls_x509_csr_parse_der() local 336 char *p; in mbedtls_x509_csr_info() local
|
/optee_os/core/arch/arm/mm/ |
A D | pgt_cache.c | 70 struct pgt *p = pgt_entries + n; in pgt_init() local 90 struct pgt *p = pgt_entries + in pgt_init() local 112 struct pgt *p = pgt_entries + n; in pgt_init() local 184 struct pgt *p; in pop_from_cache_list() local 244 struct pgt *p = SLIST_FIRST(pgt_cache); in pgt_free_unlocked() local 282 struct pgt *p; in pgt_flush_ctx() local 349 struct pgt *p; in flush_ctx_range_from_list() local 409 struct pgt *p = SLIST_FIRST(pgt_cache); in pgt_free_unlocked() local 419 struct pgt *p = pop_from_free_list(); in pop_from_some_list() local 432 struct pgt *p = NULL; in clear_ctx_range_from_list() local [all …]
|
/optee_os/core/include/ |
A D | io.h | 20 #define READ_ONCE(p) __compiler_atomic_load(&(p)) argument 21 #define WRITE_ONCE(p, v) __compiler_atomic_store(&(p), (v)) argument 68 static inline uint64_t get_be64(const void *p) in get_be64() 73 static inline void put_be64(void *p, uint64_t val) in put_be64() 78 static inline uint32_t get_be32(const void *p) in get_be32() 83 static inline void put_be32(void *p, uint32_t val) in put_be32() 88 static inline uint16_t get_be16(const void *p) in get_be16() 93 static inline void put_be16(void *p, uint16_t val) in put_be16() 98 static inline void put_le32(const void *p, uint32_t val) in put_le32() 103 static inline uint32_t get_le32(const void *p) in get_le32() [all …]
|
/optee_os/core/lib/libtomcrypt/src/ciphers/ |
A D | multi2.c | 19 static void pi1(ulong32 *p) in pi1() 24 static void pi2(ulong32 *p, const ulong32 *k) in pi2() 33 static void pi3(ulong32 *p, const ulong32 *k) in pi3() 45 static void pi4(ulong32 *p, const ulong32 *k) in pi4() 56 ulong32 p[2]; in setup() local 81 static void encrypt(ulong32 *p, int N, const ulong32 *uk) in encrypt() 93 static void decrypt(ulong32 *p, int N, const ulong32 *uk) in decrypt() 154 ulong32 p[2]; in multi2_ecb_encrypt() local 175 ulong32 p[2]; in multi2_ecb_decrypt() local
|
/optee_os/core/lib/libtomcrypt/src/pk/ecc/ |
A D | ltc_ecc_points.c | 26 ecc_point *p; in ltc_ecc_new_point() local 42 void ltc_ecc_del_point(ecc_point *p) in ltc_ecc_del_point() 51 int ltc_ecc_set_point_xyz(ltc_mp_digit x, ltc_mp_digit y, ltc_mp_digit z, ecc_point *p) in ltc_ecc_set_point_xyz()
|
/optee_os/core/arch/arm/plat-imx/pm/ |
A D | cpuidle-imx7d.c | 42 struct imx7_pm_info *p = in imx7d_cpuidle_init() local 92 struct imx7_pm_info *p; in imx_pen_lock() local 124 struct imx7_pm_info *p; in imx_pen_unlock() local 153 struct imx7_pm_info *p; in imx7d_lowpower_idle() local
|
/optee_os/core/drivers/crypto/caam/acipher/ |
A D | local.h | 19 struct caambuf *p; /* Prime p */ member 36 struct caambuf *p; /* Prime p */ member
|
/optee_os/core/kernel/ |
A D | scattered_array.c | 8 const void *scattered_array_relax_ptr(const void *p) in scattered_array_relax_ptr()
|
A D | handle.c | 50 void *p; in handle_get() local 84 void *p; in handle_put() local
|
/optee_os/ta/pkcs11/src/ |
A D | handle.c | 37 void *p = NULL; in handle_get() local 72 void *p = NULL; in handle_put() local
|
/optee_os/core/arch/arm/sm/ |
A D | pm.c | 34 struct thread_core_local *p = thread_get_core_local(); in sm_pm_cpu_suspend_save() local
|
/optee_os/lib/libutils/ext/ |
A D | nex_strdup.c | 12 char *p = nex_malloc(l); in nex_strdup() local
|
/optee_os/lib/libutils/isoc/ |
A D | strdup.c | 11 char *p = malloc(l); in strdup() local
|
A D | strndup.c | 11 char *p = malloc(l); in strndup() local
|