Home
last modified time | relevance | path

Searched defs:db (Results 1 – 7 of 7) sorted by relevance

/optee_os/ta/pkcs11/src/
H A Dhandle.c22 void handle_db_init(struct handle_db *db) in handle_db_init()
27 void handle_db_destroy(struct handle_db *db) in handle_db_destroy()
36 uint32_t handle_get(struct handle_db *db, void *ptr) in handle_get()
72 static bool handle_is_valid(struct handle_db *db, uint32_t handle) in handle_is_valid()
77 void *handle_put(struct handle_db *db, uint32_t handle) in handle_put()
89 void *handle_lookup(struct handle_db *db, uint32_t handle) in handle_lookup()
98 void handle_invalidate(struct handle_db *db, uint32_t handle) in handle_invalidate()
108 uint32_t handle_lookup_handle(struct handle_db *db, void *ptr) in handle_lookup_handle()
H A Dpkcs11_token.c1135 struct token_persistent_main *db = token->db_main; in check_so_pin() local
1192 struct token_persistent_main *db = token->db_main; in check_user_pin() local
/optee_os/core/kernel/
H A Dhandle.c18 void handle_db_destroy(struct handle_db *db, void (*ptr_destructor)(void *ptr)) in handle_db_destroy()
34 bool handle_db_is_empty(struct handle_db *db) in handle_db_is_empty()
47 int handle_get(struct handle_db *db, void *ptr) in handle_get()
82 void *handle_put(struct handle_db *db, int handle) in handle_put()
94 void *handle_lookup(struct handle_db *db, int handle) in handle_lookup()
/optee_os/core/tee/
H A Dtadb.c59 struct tee_tadb_dir *db; member
67 struct tee_tadb_dir *db; member
143 static TEE_Result maybe_grow_files(struct tee_tadb_dir *db, int idx) in maybe_grow_files()
161 static TEE_Result set_file(struct tee_tadb_dir *db, int idx) in set_file()
171 static void clear_file(struct tee_tadb_dir *db, int idx) in clear_file()
181 static bool test_file(struct tee_tadb_dir *db, int idx) in test_file()
193 static TEE_Result read_ent(struct tee_tadb_dir *db, size_t idx, in read_ent()
205 static TEE_Result write_ent(struct tee_tadb_dir *db, size_t idx, in write_ent()
216 struct tee_tadb_dir *db = calloc(1, sizeof(*db)); in tadb_open() local
240 static TEE_Result tee_tadb_open(struct tee_tadb_dir **db) in tee_tadb_open()
[all …]
/optee_os/core/include/kernel/
H A Dldelf_syscalls.h18 struct handle_db db; member
/optee_os/core/drivers/crypto/hisilicon/
H A Dhpre_rsa.c384 uint8_t *db) in rsa_oaep_fill_db()
409 uint8_t *seed, uint8_t *db, in rsa_oaep_fill_maskdb()
453 uint8_t db[OAEP_MAX_DB_LEN] = { }; in rsa_oaep_encode() local
860 uint8_t *mask_db, uint8_t *seed, uint8_t *db) in rsa_oaep_get_db()
878 uint8_t *db, uint8_t *out, size_t *out_len) in rsa_oaep_get_msg()
928 uint8_t db[OAEP_MAX_DB_LEN] = { }; in rsa_oaep_decode() local
/optee_os/scripts/
H A Dsign_encrypt.py35 def value_to_key(db, val): argument