Home
last modified time | relevance | path

Searched refs:cert_buffer (Results 1 - 1 of 1) sorted by relevance

/kernel/linux/common_modules/tzdriver/core/
H A Dtc_client_driver.c252 const uint8_t *cert_buffer) in get_pack_name_len()
257 if (memcpy_s(&tmp_len, sizeof(tmp_len), cert_buffer, sizeof(tmp_len)) != 0) in get_pack_name_len()
271 const uint8_t *cert_buffer) in get_public_key_len()
276 if (memcpy_s(&tmp_len, sizeof(tmp_len), cert_buffer, sizeof(tmp_len)) != 0) in get_public_key_len()
290 const uint8_t *cert_buffer) in get_public_key()
296 if (memcpy_s(dev_file->pub_key, MAX_PUBKEY_LEN, cert_buffer, in get_public_key()
327 uint8_t **cert_buffer, unsigned int *cert_buffer_size) in alloc_login_buf()
333 *cert_buffer = kmalloc(*cert_buffer_size, GFP_KERNEL); in alloc_login_buf()
334 if (ZERO_OR_NULL_PTR((unsigned long)(uintptr_t)(*cert_buffer))) { in alloc_login_buf()
342 static int client_login_prepare(uint8_t *cert_buffer, in client_login_prepare() argument
251 get_pack_name_len(struct tc_ns_dev_file *dev_file, const uint8_t *cert_buffer) get_pack_name_len() argument
270 get_public_key_len(struct tc_ns_dev_file *dev_file, const uint8_t *cert_buffer) get_public_key_len() argument
289 get_public_key(struct tc_ns_dev_file *dev_file, const uint8_t *cert_buffer) get_public_key() argument
326 alloc_login_buf(struct tc_ns_dev_file *dev_file, uint8_t **cert_buffer, unsigned int *cert_buffer_size) alloc_login_buf() argument
378 uint8_t *cert_buffer = NULL; tc_ns_client_login_func() local
[all...]

Completed in 1 milliseconds