Home
last modified time | relevance | path

Searched defs:key (Results 1 – 25 of 101) sorted by relevance

12345

/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/ext_util/
Dbase_interface.c78 int GetCfgInt(const char* key, int defVal) in GetCfgInt()
88 double GetCfgDouble(const char* key, double defVal) in GetCfgDouble()
98 const char* GetCfgStr(const char* key, const char* defVal) in GetCfgStr()
108 bool GetCfgBool(const char* key, bool defVal) in GetCfgBool()
139 char key[CFG_KEY_MAX]; in SectGetCfgInt() local
154 char key[CFG_KEY_MAX]; in SectGetCfgDouble() local
169 char key[CFG_KEY_MAX]; in SectGetCfgBool() local
184 char key[CFG_KEY_MAX]; in SectGetCfgStr() local
/device/soc/rockchip/common/sdk_linux/kernel/sched/
Dwait.c9 …_init_waitqueue_head(struct wait_queue_head *wq_head, const char *name, struct lock_class_key *key) in __init_waitqueue_head()
67 void *key, wait_queue_entry_t *bookmark) in __wake_up_common()
115 void *key) in __wake_up_common_lock()
142 void __wake_up(struct wait_queue_head *wq_head, unsigned int mode, int nr_exclusive, void *key) in __wake_up()
157 void __wake_up_locked_key(struct wait_queue_head *wq_head, unsigned int mode, void *key) in __wake_up_locked_key()
163 void __wake_up_locked_key_bookmark(struct wait_queue_head *wq_head, unsigned int mode, void *key, in __wake_up_locked_key_bookmark()
186 void __wake_up_sync_key(struct wait_queue_head *wq_head, unsigned int mode, void *key) in __wake_up_sync_key()
212 void __wake_up_locked_sync_key(struct wait_queue_head *wq_head, unsigned int mode, void *key) in __wake_up_locked_sync_key()
404 …autoremove_wake_function(struct wait_queue_entry *wq_entry, unsigned int mode, int sync, void *key) in autoremove_wake_function()
466 … int woken_wake_function(struct wait_queue_entry *wq_entry, unsigned int mode, int sync, void *key) in woken_wake_function()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/
Dkapi_dispatch.c215 hi_u8 *key = HI_NULL; in dispatch_hash_start() local
317 static hi_s32 rsa_pub_alloc(cryp_rsa_key *key, const rsa_info_t *rsa_info, hi_u8 **in, hi_u8 **out) in rsa_pub_alloc()
360 static hi_void rsa_private_set_key_param(cryp_rsa_key *key, kapi_rsa_buf *rsa_buf, hi_u32 klen, hi_… in rsa_private_set_key_param()
396 static hi_s32 rsa_private_get_cfg(cryp_rsa_key *key, in rsa_private_get_cfg()
442 static hi_s32 rsa_private_alloc(cryp_rsa_key *key, const rsa_info_t *rsa_info, hi_u8 **in, hi_u8 **… in rsa_private_alloc()
488 static hi_s32 rsa_alloc_buffer(cryp_rsa_key *key, const rsa_info_t *rsa_info, hi_u8 **in, hi_u8 **o… in rsa_alloc_buffer()
526 static hi_void rsa_free_buffer(cryp_rsa_key *key) in rsa_free_buffer()
544 cryp_rsa_key key; in dispatch_rsa_encrypt() local
585 cryp_rsa_key key; in dispatch_rsa_decrypt() local
626 cryp_rsa_key key; in dispatch_rsa_sign_hash() local
[all …]
Dkapi_rsa.c57 hi_s32 kapi_rsa_encrypt(cryp_rsa_key *key, cryp_rsa_crypt_data *rsa) in kapi_rsa_encrypt()
73 hi_s32 kapi_rsa_decrypt(cryp_rsa_key *key, cryp_rsa_crypt_data *rsa) in kapi_rsa_decrypt()
89 hi_s32 kapi_rsa_sign_hash(cryp_rsa_key *key, cryp_rsa_sign_data *rsa) in kapi_rsa_sign_hash()
105 hi_s32 kapi_rsa_verify_hash(cryp_rsa_key *key, cryp_rsa_sign_data *rsa) in kapi_rsa_verify_hash()
Dkapi_hash.c242 static hi_s32 kapi_hmac_start(kapi_hash_ctx *ctx, const hi_u8 *key, hi_u32 keylen) in kapi_hmac_start()
434 hash_mode mode, hi_u32 hmac, const hi_u8 *key, hi_u32 keylen) in kapi_hash_create_calc()
482 hi_s32 kapi_hash_start(hi_u32 *id, hi_cipher_hash_type type, const hi_u8 *key, hi_u32 keylen) in kapi_hash_start()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/extend/
Dext_sm4.c85 hi_u8 key[SM4_KEY_SIZE]; /* sm4 even round keys, default */ member
131 static hi_s32 sm4_set_encrypt_key(const hi_u8 *user_key, const hi_s32 bits, sm4_key *key) in sm4_set_encrypt_key()
166 static hi_void sm4_encrypt(const hi_u8 *in, hi_u8 *out, const sm4_key *key, hi_u32 len) in sm4_encrypt()
192 static hi_void sm4_decrypt(const hi_u8 *in, hi_u8 *out, const sm4_key *key, hi_u32 len) in sm4_decrypt()
220 static hi_void sm4_ecb_crypt(const hi_u8 *in, hi_u8 *out, hi_u32 len, const sm4_key *key, const hi_… in sm4_ecb_crypt()
232 const sm4_key *key, hi_u8 *ivec, const hi_s32 dec) in sm4_cbc_crypt()
293const sm4_key *key, hi_u8 counter[SM4_BLOCK_SIZE], hi_u8 ecount_buf[SM4_BLOCK_SIZE], hi_s32 *num) in sm4_ctr128_crypt()
314 hi_u8 *data_out, hi_s32 data_len, const hi_u8 *key, hi_s32 bit, hi_u32 decrypt) in sm4_ecb_rm()
332 const hi_u8 *key, hi_s32 bit, hi_u32 decrypt, hi_u8 *iv) in sm4_cbc_rm()
349 const hi_u8 *key, hi_s32 bit, hi_u32 decrypt, const hi_u8 *iv) in sm4_ctr_rm()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/crypto/
Dcryp_rsa.c326 static hi_s32 cryp_rsa_init_key(const cryp_rsa_key *key, hi_u32 *mode, mbedtls_rsa_context *rsa) in cryp_rsa_init_key()
754 hi_s32 cryp_rsa_encrypt(const cryp_rsa_key *key, cryp_rsa_crypt_data *rsa_crypt) in cryp_rsa_encrypt()
860 hi_s32 cryp_rsa_decrypt(const cryp_rsa_key *key, cryp_rsa_crypt_data *rsa_crypt) in cryp_rsa_decrypt()
917 hi_s32 cryp_rsa_sign_hash(const cryp_rsa_key *key, cryp_rsa_sign_data *rsa_sign) in cryp_rsa_sign_hash()
972 hi_s32 cryp_rsa_verify_hash(const cryp_rsa_key *key, const cryp_rsa_sign_data *rsa_verify) in cryp_rsa_verify_hash()
1027 hi_s32 cryp_rsa_encrypt(cryp_rsa_key *key, cryp_rsa_crypt_data *rsa_crypt) in cryp_rsa_encrypt()
1033 hi_s32 cryp_rsa_decrypt(cryp_rsa_key *key, cryp_rsa_crypt_data *rsa_crypt) in cryp_rsa_decrypt()
1039 hi_s32 cryp_rsa_sign_hash(cryp_rsa_key *key, cryp_rsa_sign_data *rsa_sign) in cryp_rsa_sign_hash()
1045 hi_s32 cryp_rsa_verify_hash(cryp_rsa_key *key, cryp_rsa_sign_data *rsa_verify) in cryp_rsa_verify_hash()
/device/qemu/riscv32_virt/liteos_m/board/driver/video/
Dfb_mem.c66 int FbMemLookup(const char *key, struct fb_mem **result, uint32_t flags) in FbMemLookup()
91 int register_driver(const char *key, void *prev) in register_driver()
113 int unregister_driver(const char *key) in unregister_driver()
/device/soc/rockchip/rk3568/hardware/mpp/mpp/legacy/
Drk_list.cpp37 RK_U32 key; member
46 static inline void list_node_init_with_key_and_size(rk_list_node *node, RK_U32 key, RK_S32 size) in list_node_init_with_key_and_size()
53 static rk_list_node* create_list(void *data, RK_S32 size, RK_U32 key) in create_list()
199 RK_S32 rk_list::add_by_key(void *data, RK_S32 size, RK_U32 *key) in add_by_key()
208 RK_S32 rk_list::del_by_key(void *data, RK_S32 size, RK_U32 key) in del_by_key()
218 RK_S32 rk_list::show_by_key(void *data, RK_U32 key) in show_by_key()
/device/soc/rockchip/rk3568/hardware/display/src/display_gralloc/
Ddisplay_buffer_vdi_impl.cpp90 int32_t DisplayBufferVdiImpl::SetMetadata(const BufferHandle& handle, uint32_t key, const std::vect… in SetMetadata()
96 int32_t DisplayBufferVdiImpl::GetMetadata(const BufferHandle& handle, uint32_t key, std::vector<uin… in GetMetadata()
108 int32_t DisplayBufferVdiImpl::EraseMetadataKey(const BufferHandle& handle, uint32_t key) in EraseMetadataKey()
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/common/
Dmac_user.c178 …2 mac_user_add_key_common(mac_user_stru *mac_user, hi_u8 key_index, const mac_key_params_stru *key) in mac_user_add_key_common()
228 …_u32 mac_user_add_wep_key(mac_user_stru *mac_user, hi_u8 key_index, const mac_key_params_stru *key) in mac_user_add_wep_key()
248 …_u32 mac_user_add_rsn_key(mac_user_stru *mac_user, hi_u8 key_index, const mac_key_params_stru *key) in mac_user_add_rsn_key()
260 …_u32 mac_user_add_bip_key(mac_user_stru *mac_user, hi_u8 key_index, const mac_key_params_stru *key) in mac_user_add_bip_key()
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/hmac/
Dhmac_crypto_tkip.c233 hi_u32 hmac_crypto_tkip_enmic_key(wlan_priv_key_param_stru *key, oal_netbuf_stru *netbuf, const hma… in hmac_crypto_tkip_enmic_key()
272 hi_u32 hmac_crypto_tkip_enmic(wlan_priv_key_param_stru *key, oal_netbuf_stru *netbuf) in hmac_crypto_tkip_enmic()
336 hi_u32 hmac_crypto_tkip_demic(wlan_priv_key_param_stru *key, oal_netbuf_stru *netbuf) in hmac_crypto_tkip_demic()
Dhmac_11i.c210 mac_key_params_stru *key = &(payload_addkey_params->key); in hmac_config_11i_add_key() local
286 oal_key_params_stru key; in hmac_config_11i_get_key() local
371 …wlan_priv_key_param_stru *key = hmac_get_key_info(mac_vap, removekey->auc_mac_addr, pairwise, key_… in hmac_config_11i_remove_key() local
1205 wlan_priv_key_param_stru *key = HI_NULL; in hmac_en_mic() local
1252 wlan_priv_key_param_stru *key = HI_NULL; in hmac_de_mic() local
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
Dmali_kbase_kinstr_jm.h76 #define static_branch_unlikely(key) (1) argument
135 #define static_branch_unlikely(key) static_key_false(key) argument
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/system/upg/
Dupg_common.c972 hi_u32 upg_get_aes_info(HI_CONST boot_header *head, hi_u8 *key, hi_u32 key_len, hi_u8 *iv, hi_u32 i… in upg_get_aes_info()
1034 hi_u32 upg_boot_key_decrypt(hi_u8 *key, hi_u32 key_len, const hi_u8 *iv, hi_u32 iv_len) in upg_boot_key_decrypt()
1067 hi_u32 upg_get_unencrpt_rsa_key(hi_u8 *key, hi_u32 key_len) in upg_get_unencrpt_rsa_key()
1087 hi_u32 upg_get_unencrpt_ecc_key(hi_u8 *key, hi_u32 key_len) in upg_get_unencrpt_ecc_key()
1105 hi_u32 upg_get_decrpt_rsa_key(HI_CONST boot_header *head, hi_u8 *key, hi_u32 key_len) in upg_get_decrpt_rsa_key()
1155 hi_u32 upg_get_decrpt_ecc_key(HI_CONST boot_header *head, hi_u8 *key, hi_u32 key_len) in upg_get_decrpt_ecc_key()
1202 hi_u32 upg_get_rsa_key_from_boot(hi_u8 *key, hi_u32 key_len) in upg_get_rsa_key_from_boot()
1248 hi_u32 upg_get_ecc_key_from_boot(hi_u8 *key, hi_u32 key_len) in upg_get_ecc_key_from_boot()
Dupg_check_secure.c184 hi_void upg_get_subkey(hi_u8 *key, hi_u32 key_length, HI_CONST hi_upg_head *upg_head) in upg_get_subkey()
304 hi_u8 *key = HI_NULL; in upg_check_upg_file_head() local
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/secure/
Dburn_file.h145 upg_rsa_key key; /**< Key of rsa.CNcomment:RSA算法密钥。CNend */ member
150 upg_ecc_key key; /**< Key of ecc.CNcomment:ECC算法密钥。CNend */ member
155 upg_sha256_key key; /**< Padding field.CNcomment:填充字段。CNend */ member
164 } key; member
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/include/
Dhi_upg_file.h157 upg_rsa_key key; /**< Key of rsa.CNcomment:RSA算法密钥。CNend */ member
162 upg_ecc_key key; /**< Key of ecc.CNcomment:ECC算法密钥。CNend */ member
167 upg_sha256_key key; /**< Padding field.CNcomment:填充字段。CNend */ member
176 } key; member
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/
Dhi_upg_file.h146 upg_rsa_key key; /**< Key of rsa.CNcomment:RSA算法密钥。CNend */ member
151 upg_ecc_key key; /**< Key of ecc.CNcomment:ECC算法密钥。CNend */ member
156 upg_sha256_key key; /**< Padding field.CNcomment:填充字段。CNend */ member
165 } key; member
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
Dplat_firmware.c610 static hi_s32 number_type_cmd_send(hi_u8 *key, hi_u8 *val, const firmware_mem_stru *firmware_mem) in number_type_cmd_send()
778 static hi_s32 read_mem(hi_u8 *key, const hi_u8 *val, const firmware_mem_stru *firmware_mem) in read_mem()
827 static hi_s32 exec_number_type_cmd(hi_u8 *key, hi_u8 *val, firmware_mem_stru *firmware_mem) in exec_number_type_cmd()
936 static hi_s32 exec_file_type_cmd(hi_u8 *key, hi_u8 *val, firmware_mem_stru *firmware_mem) in exec_file_type_cmd()
1058 static hi_s32 exec_file_type_cmd(hi_u8 *key, hi_u8 *val, firmware_mem_stru *firmware_mem) in exec_file_type_cmd()
1194 hi_s32 firmware_write_cfg(hi_u8 *key, hi_u8 *new_val, hi_u8 len) in firmware_write_cfg()
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/libcoap/include/coap2/
Duthash.h502 #define HASH_BER(key,keylen,hashv) \ argument
515 #define HASH_SAX(key,keylen,hashv) \ argument
525 #define HASH_FNV(key,keylen,hashv) \ argument
536 #define HASH_OAT(key,keylen,hashv) \ argument
564 #define HASH_JEN(key,keylen,hashv) \ argument
616 #define HASH_SFH(key,keylen,hashv) \ argument
701 #define HASH_MUR(key,keylen,hashv) \ argument
1103 const void *key; /* ptr to enclosing struct's key */ member
/device/soc/rockchip/rk3588/hardware/mpp/include/
Ddictionary.h64 char ** key ; /** List of string keys */ member
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/compat/
Dhi_drv_compat.c23 hi_s32 klad_load_hard_key(hi_u32 handle, hi_u32 ca_type, const hi_u8 *key, hi_u32 key_len) in klad_load_hard_key()
/device/soc/rockchip/common/sdk_linux/kernel/bpf/
Dsyscall.c157 static int bpf_map_update_value(struct bpf_map *map, struct fd f, void *key, void *value, __u64 fla… in bpf_map_update_value()
203 static int bpf_map_copy_value(struct bpf_map *map, void *key, void *value, __u64 flags) in bpf_map_copy_value()
992 int __weak bpf_stackmap_copy(struct bpf_map *map, void *key, void *value) in bpf_stackmap_copy()
1019 void *key, *value; in map_lookup_elem() local
1090 void *key, *value; in map_update_elem() local
1157 void *key; in map_delete_elem() local
1211 void *key, *next_key; in map_get_next_key() local
1279 void *key; in generic_map_delete_batch() local
1334 void *key, *value; in generic_map_update_batch() local
1398 void *buf, *buf_prevkey, *prev_key, *key, *value; in generic_map_lookup_batch() local
[all …]
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/scripts/
Dscons_app.py104 def get_app_cfg(self, key): argument

12345