Home
last modified time | relevance | path

Searched defs:buf (Results 126 – 150 of 253) sorted by relevance

1234567891011

/optee_os/core/drivers/
H A Dhisi_trng.c42 TEE_Result hw_get_random_bytes(void *buf, size_t len) in hw_get_random_bytes()
H A Dversal_puf.c97 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 Dhi16xx_rng.c65 TEE_Result hw_get_random_bytes(void *buf, size_t len) in hw_get_random_bytes()
/optee_os/lib/libmbedtls/mbedtls/library/
H A Dx509_crt.c745 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 Dconstant_time.c153 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 Dpkparse.c873 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 Duser_access.c111 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 Dsha256.c61 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 Dsm2-kep.c35 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 Dsm2-kep.c30 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 Dinflate.c452 # 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 Dmisc.c685 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 Dcaam_types.h28 struct caambuf buf; /* Data buffer */ member
/optee_os/lib/libutils/ext/include/
H A Dtrace.h94 #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 Dsha1.c37 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 Dmd4.c68 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 Datmel_i2c.c106 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 Dchacha20.c50 unsigned char buf[40]; in chacha20_prng_add_entropy() local
H A Dsober128.c52 unsigned char buf[40]; in sober128_add_entropy() local
/optee_os/core/lib/libtomcrypt/src/pk/dsa/
H A Ddsa_sign_hash.c28 unsigned char *buf; in dsa_sign_hash_raw() local
/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/set/
H A Dder_encode_setof.c60 unsigned char *ptr, *buf; in der_encode_setof() local
/optee_os/core/lib/libtomcrypt/src/pk/ecc/
H A Dltc_ecc_mulmod.c31 ltc_mp_digit buf; in ltc_ecc_mulmod() local
H A Decc_sign_hash.c36 unsigned char ch, buf[MAXBLOCKSIZE]; in ecc_sign_hash_ex() local
/optee_os/core/arch/arm/kernel/
H A Dthread_spmc.c529 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 Dcaam_cipher_xts.c20 static void do_galois_mult(struct caambuf *buf) in do_galois_mult()

1234567891011