| /optee_os/core/drivers/ |
| H A D | hisi_trng.c | 42 TEE_Result hw_get_random_bytes(void *buf, size_t len) in hw_get_random_bytes()
|
| H A D | versal_puf.c | 97 TEE_Result versal_puf_register(struct versal_puf_data *buf, in versal_puf_register() 177 TEE_Result versal_puf_regenerate(struct versal_puf_data *buf, in versal_puf_regenerate()
|
| H A D | hi16xx_rng.c | 65 TEE_Result hw_get_random_bytes(void *buf, size_t len) in hw_get_random_bytes()
|
| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A D | x509_crt.c | 745 mbedtls_asn1_buf *buf; in x509_get_certificate_policies() local 1074 const unsigned char *buf, in x509_crt_parse_der_core() 1314 const unsigned char *buf, in mbedtls_x509_crt_parse_der_internal() 1367 const unsigned char *buf, in mbedtls_x509_crt_parse_der_nocopy() 1374 const unsigned char *buf, in mbedtls_x509_crt_parse_der_with_ext_cb() 1384 const unsigned char *buf, in mbedtls_x509_crt_parse_der() 1395 const unsigned char *buf, in mbedtls_x509_crt_parse() 1512 unsigned char *buf; in mbedtls_x509_crt_parse_file() local 1688 static int x509_info_ext_key_usage(char **buf, size_t *size, in x509_info_ext_key_usage() 1717 static int x509_info_cert_policies(char **buf, size_t *size, in x509_info_cert_policies() [all …]
|
| H A D | constant_time.c | 153 volatile unsigned char *buf = start; in mbedtls_ct_memmove_left() local 232 void mbedtls_ct_zeroize_if(mbedtls_ct_condition_t condition, void *buf, size_t len) in mbedtls_ct_zeroize_if()
|
| H A D | pkparse.c | 873 unsigned char *buf; in mbedtls_pk_parse_key_pkcs8_encrypted_der() local 1298 int mbedtls_pk_load_file(const char *path, unsigned char **buf, size_t *n) in mbedtls_pk_load_file() 1353 unsigned char *buf; in mbedtls_pk_parse_keyfile() local 1378 unsigned char *buf; in mbedtls_pk_parse_public_keyfile() local
|
| /optee_os/core/kernel/ |
| H A D | user_access.c | 111 static void *maybe_tag_bb(void *buf, size_t sz) in maybe_tag_bb() 122 static void maybe_untag_bb(void *buf, size_t sz) in maybe_untag_bb() 235 void *buf = NULL; in __bb_memdup_user() local
|
| /optee_os/core/lib/libtomcrypt/src/hashes/sha2/ |
| H A D | sha256.c | 61 static int ss_sha256_compress(hash_state * md, const unsigned char *buf) in ss_sha256_compress() 182 static int s_sha256_compress(hash_state * md, const unsigned char *buf) in s_sha256_compress()
|
| /optee_os/lib/libmbedtls/core/ |
| H A D | sm2-kep.c | 35 uint8_t buf[SM2_INT_SIZE_BYTES] = { }; in sm2_kep_compute_Z() local 141 uint8_t buf[SM2_INT_SIZE_BYTES]; in sm2_kep_compute_S() local
|
| /optee_os/core/lib/libtomcrypt/ |
| H A D | sm2-kep.c | 30 uint8_t buf[SM2_INT_SIZE_BYTES]; in sm2_kep_compute_Z() local 110 uint8_t buf[SM2_INT_SIZE_BYTES]; in sm2_kep_compute_S() local
|
| /optee_os/core/lib/zlib/ |
| H A D | inflate.c | 452 # define UPDATE_CHECK(check, buf, len) \ argument 455 # define UPDATE_CHECK(check, buf, len) adler32(check, buf, len) argument 1402 local unsigned syncsearch(have, buf, len) in syncsearch() argument 1431 unsigned char buf[4]; /* to restore bit buffer to byte string */ local
|
| /optee_os/core/pta/tests/ |
| H A D | misc.c | 685 static void asan_out_of_bounds_write(char *buf, size_t pos, in asan_out_of_bounds_write() 691 static char asan_out_of_bounds_read(char *buf, size_t pos) in asan_out_of_bounds_read() 703 static void *asan_out_of_bounds_memset(void *buf, int val, size_t size) in asan_out_of_bounds_memset() 745 char buf[ASAN_TEST_BUF_SIZE] = {0}; in asan_stack() local
|
| /optee_os/core/drivers/crypto/caam/include/ |
| H A D | caam_types.h | 28 struct caambuf buf; /* Data buffer */ member
|
| /optee_os/lib/libutils/ext/include/ |
| H A D | trace.h | 94 #define DHEXDUMP(buf, len) (void)0 argument 96 #define DHEXDUMP(buf, len) dhex_dump(__func__, __LINE__, TRACE_DEBUG, \ argument
|
| /optee_os/core/lib/libtomcrypt/src/hashes/ |
| H A D | sha1.c | 37 static int ss_sha1_compress(hash_state *md, const unsigned char *buf) in ss_sha1_compress() 143 static int s_sha1_compress(hash_state *md, const unsigned char *buf) in s_sha1_compress()
|
| H A D | md4.c | 68 static int ss_md4_compress(hash_state *md, const unsigned char *buf) in ss_md4_compress() 152 static int s_md4_compress(hash_state *md, const unsigned char *buf) in s_md4_compress()
|
| /optee_os/core/drivers/i2c/ |
| H A D | atmel_i2c.c | 106 const uint8_t *buf, size_t len) in atmel_i2c_write_data_no_stop() 125 const uint8_t *buf, size_t len) in atmel_i2c_write_data() 160 static TEE_Result atmel_i2c_read_data(struct i2c_dev *i2c_dev, uint8_t *buf, in atmel_i2c_read_data()
|
| /optee_os/core/lib/libtomcrypt/src/prngs/ |
| H A D | chacha20.c | 50 unsigned char buf[40]; in chacha20_prng_add_entropy() local
|
| H A D | sober128.c | 52 unsigned char buf[40]; in sober128_add_entropy() local
|
| /optee_os/core/lib/libtomcrypt/src/pk/dsa/ |
| H A D | dsa_sign_hash.c | 28 unsigned char *buf; in dsa_sign_hash_raw() local
|
| /optee_os/core/lib/libtomcrypt/src/pk/asn1/der/set/ |
| H A D | der_encode_setof.c | 60 unsigned char *ptr, *buf; in der_encode_setof() local
|
| /optee_os/core/lib/libtomcrypt/src/pk/ecc/ |
| H A D | ltc_ecc_mulmod.c | 31 ltc_mp_digit buf; in ltc_ecc_mulmod() local
|
| H A D | ecc_sign_hash.c | 36 unsigned char ch, buf[MAXBLOCKSIZE]; in ecc_sign_hash_ex() local
|
| /optee_os/core/arch/arm/kernel/ |
| H A D | thread_spmc.c | 529 TEE_Result spmc_fill_partition_entry(uint32_t ffa_vers, void *buf, size_t blen, in spmc_fill_partition_entry() 567 static TEE_Result lsp_partition_info_get(uint32_t ffa_vers, void *buf, in lsp_partition_info_get() 954 int spmc_read_mem_transaction(uint32_t ffa_vers, void *buf, size_t blen, in spmc_read_mem_transaction() 1042 void *buf, size_t blen, unsigned int *page_count, in mem_op_init() 1082 static int add_mem_op_helper(struct mem_op_state *s, void *buf, size_t flen) in add_mem_op_helper() 1114 static int add_mem_op_frag(struct mem_frag_state *s, void *buf, size_t flen) in add_mem_op_frag() 1146 static bool is_sp_op(struct ffa_mem_transaction_x *mem_trans, void *buf) in is_sp_op() 1169 tee_mm_entry_t *mm, void *buf, size_t blen, size_t flen, in add_mem_op() 1251 void *buf = NULL; in handle_mem_op_tmem() local 1436 void *buf = NULL; in handle_mem_frag_tx() local [all …]
|
| /optee_os/core/drivers/crypto/caam/cipher/ |
| H A D | caam_cipher_xts.c | 20 static void do_galois_mult(struct caambuf *buf) in do_galois_mult()
|