| /device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/umac/ |
| D | key.c | 125 static int ieee80211_key_enable_hw_accel(struct ieee80211_key *key) in ieee80211_key_enable_hw_accel() 230 static void ieee80211_key_disable_hw_accel(struct ieee80211_key *key) in ieee80211_key_disable_hw_accel() 265 static int _ieee80211_set_tx_key(struct ieee80211_key *key, bool force) in _ieee80211_set_tx_key() 283 int ieee80211_set_tx_key(struct ieee80211_key *key) in ieee80211_set_tx_key() 350 struct ieee80211_key *key = NULL; in __ieee80211_set_default_key() local 381 struct ieee80211_key *key = NULL; in __ieee80211_set_default_mgmt_key() local 504 struct ieee80211_key *key; in ieee80211_key_alloc() local 665 static void ieee80211_key_free_common(struct ieee80211_key *key) in ieee80211_key_free_common() 688 static void __ieee80211_key_destroy(struct ieee80211_key *key, in __ieee80211_key_destroy() 709 static void ieee80211_key_destroy(struct ieee80211_key *key, in ieee80211_key_destroy() [all …]
|
| D | debugfs_key.c | 74 struct ieee80211_key *key = file->private_data; in key_algorithm_read() local 86 struct ieee80211_key *key = file->private_data; in key_tx_spec_write() local 124 struct ieee80211_key *key = file->private_data; in key_tx_spec_read() local 160 struct ieee80211_key *key = file->private_data; in key_rx_spec_read() local 228 struct ieee80211_key *key = file->private_data; in key_replays_read() local 261 struct ieee80211_key *key = file->private_data; in key_icverrors_read() local 286 struct ieee80211_key *key = file->private_data; in key_mic_failures_read() local 302 struct ieee80211_key *key = file->private_data; in key_key_read() local 327 void ieee80211_debugfs_key_add(struct ieee80211_key *key) in ieee80211_debugfs_key_add() 364 void ieee80211_debugfs_key_remove(struct ieee80211_key *key) in ieee80211_debugfs_key_remove() [all …]
|
| D | wpa.c | 31 u8 *data, *key, *mic; in ieee80211_tx_h_michael_mic_add() local 96 u8 *data, *key = NULL; in ieee80211_rx_h_michael_mic_verify() local 196 struct ieee80211_key *key = tx->key; in tkip_encrypt_skb() local 268 struct ieee80211_key *key = rx->key; in ieee80211_crypto_tkip_decrypt() local 409 struct ieee80211_key *key = tx->key; in ccmp_encrypt_skb() local 499 struct ieee80211_key *key = rx->key; in ieee80211_crypto_ccmp_decrypt() local 640 struct ieee80211_key *key = tx->key; in gcmp_encrypt_skb() local 727 struct ieee80211_key *key = rx->key; in ieee80211_crypto_gcmp_decrypt() local 800 struct ieee80211_key *key = tx->key; in ieee80211_crypto_cs_encrypt() local 841 struct ieee80211_key *key = rx->key; in ieee80211_crypto_cs_decrypt() local [all …]
|
| D | debugfs_key.h | 16 static inline void ieee80211_debugfs_key_add(struct ieee80211_key *key) in ieee80211_debugfs_key_add() 18 static inline void ieee80211_debugfs_key_remove(struct ieee80211_key *key) in ieee80211_debugfs_key_remove() 29 static inline void ieee80211_debugfs_key_sta_del(struct ieee80211_key *key, in ieee80211_debugfs_key_sta_del()
|
| /device/soc/esp/esp32/components/pthread/ |
| D | pthread_local_storage.c | 37 pthread_key_t key; member 49 pthread_key_t key; member 58 int pthread_key_create(pthread_key_t *key, pthread_destructor_t destructor) in pthread_key_create() 78 static key_entry_t *find_key(pthread_key_t key) in find_key() 91 int pthread_key_delete(pthread_key_t key) in pthread_key_delete() 134 key_entry_t *key = find_key(entry->key); in pthread_local_storage_thread_deleted_callback() local 189 static value_entry_t *find_value(const values_list_t *list, pthread_key_t key) in find_value() 200 void *pthread_getspecific(pthread_key_t key) in pthread_getspecific() 214 int pthread_setspecific(pthread_key_t key, const void *value) in pthread_setspecific()
|
| /device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/ext_util/ |
| D | base_interface.c | 78 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/esp/esp32/components/nvs_flash/src/ |
| D | nvs_handle_simple.cpp | 24 esp_err_t NVSHandleSimple::set_typed_item(ItemType datatype, const char *key, const void* data, siz… in set_typed_item() 32 esp_err_t NVSHandleSimple::get_typed_item(ItemType datatype, const char *key, void* data, size_t da… in get_typed_item() 39 esp_err_t NVSHandleSimple::set_string(const char *key, const char* str) in set_string() 47 esp_err_t NVSHandleSimple::set_blob(const char *key, const void* blob, size_t len) in set_blob() 55 esp_err_t NVSHandleSimple::get_string(const char *key, char* out_str, size_t len) in get_string() 62 esp_err_t NVSHandleSimple::get_blob(const char *key, void* out_blob, size_t len) in get_blob() 69 esp_err_t NVSHandleSimple::get_item_size(ItemType datatype, const char *key, size_t &size) in get_item_size() 76 esp_err_t NVSHandleSimple::erase_item(const char* key) in erase_item()
|
| D | nvs_handle_locked.cpp | 27 esp_err_t NVSHandleLocked::set_string(const char *key, const char* str) { in set_string() 32 esp_err_t NVSHandleLocked::set_blob(const char *key, const void* blob, size_t len) { in set_blob() 37 esp_err_t NVSHandleLocked::get_string(const char *key, char* out_str, size_t len) { in get_string() 42 esp_err_t NVSHandleLocked::get_blob(const char *key, void* out_blob, size_t len) { in get_blob() 47 esp_err_t NVSHandleLocked::get_item_size(ItemType datatype, const char *key, size_t &size) { in get_item_size() 52 esp_err_t NVSHandleLocked::erase_item(const char* key) { in erase_item() 72 esp_err_t NVSHandleLocked::set_typed_item(ItemType datatype, const char *key, const void* data, siz… in set_typed_item() 77 esp_err_t NVSHandleLocked::get_typed_item(ItemType datatype, const char *key, void* data, size_t da… in get_typed_item()
|
| D | nvs_api.cpp | 307 extern "C" esp_err_t nvs_erase_key(nvs_handle_t c_handle, const char* key) in nvs_erase_key() 334 static esp_err_t nvs_set(nvs_handle_t c_handle, const char* key, T value) in nvs_set() 347 extern "C" esp_err_t nvs_set_i8 (nvs_handle_t handle, const char* key, int8_t value) in nvs_set_i8() 352 extern "C" esp_err_t nvs_set_u8 (nvs_handle_t handle, const char* key, uint8_t value) in nvs_set_u8() 357 extern "C" esp_err_t nvs_set_i16 (nvs_handle_t handle, const char* key, int16_t value) in nvs_set_i16() 362 extern "C" esp_err_t nvs_set_u16 (nvs_handle_t handle, const char* key, uint16_t value) in nvs_set_u16() 367 extern "C" esp_err_t nvs_set_i32 (nvs_handle_t handle, const char* key, int32_t value) in nvs_set_i32() 372 extern "C" esp_err_t nvs_set_u32 (nvs_handle_t handle, const char* key, uint32_t value) in nvs_set_u32() 377 extern "C" esp_err_t nvs_set_i64 (nvs_handle_t handle, const char* key, int64_t value) in nvs_set_i64() 382 extern "C" esp_err_t nvs_set_u64 (nvs_handle_t handle, const char* key, uint64_t value) in nvs_set_u64() [all …]
|
| D | nvs_storage.cpp | 156 esp_err_t Storage::findItem(uint8_t nsIndex, ItemType datatype, const char* key, Page* &page, Item&… in findItem() 169 esp_err_t Storage::writeMultiPageBlob(uint8_t nsIndex, const char* key, const void* data, size_t da… in writeMultiPageBlob() 272 esp_err_t Storage::writeItem(uint8_t nsIndex, ItemType datatype, const char* key, const void* data,… in writeItem() 445 esp_err_t Storage::readMultiPageBlob(uint8_t nsIndex, const char* key, void* data, size_t dataSize) in readMultiPageBlob() 488 esp_err_t Storage::cmpMultiPageBlob(uint8_t nsIndex, const char* key, const void* data, size_t data… in cmpMultiPageBlob() 530 esp_err_t Storage::readItem(uint8_t nsIndex, ItemType datatype, const char* key, void* data, size_t… in readItem() 553 esp_err_t Storage::eraseMultiPageBlob(uint8_t nsIndex, const char* key, VerOffset chunkStart) in eraseMultiPageBlob() 598 esp_err_t Storage::eraseItem(uint8_t nsIndex, ItemType datatype, const char* key) in eraseItem() 643 esp_err_t Storage::getItemDataSize(uint8_t nsIndex, ItemType datatype, const char* key, size_t& dat… in getItemDataSize()
|
| /device/soc/esp/esp32/components/bt/host/bluedroid/btc/core/ |
| D | btc_config.c | 121 bool btc_config_exist(const char *section, const char *key) in btc_config_exist() 130 bool btc_config_get_int(const char *section, const char *key, int *value) in btc_config_get_int() 145 bool btc_config_set_int(const char *section, const char *key, int value) in btc_config_set_int() 156 bool btc_config_get_str(const char *section, const char *key, char *value, int *size_bytes) in btc_config_get_str() 176 bool btc_config_set_str(const char *section, const char *key, const char *value) in btc_config_set_str() 188 bool btc_config_get_bin(const char *section, const char *key, uint8_t *value, size_t *length) in btc_config_get_bin() 221 size_t btc_config_get_bin_length(const char *section, const char *key) in btc_config_get_bin_length() 237 bool btc_config_set_bin(const char *section, const char *key, const uint8_t *value, size_t length) in btc_config_set_bin() 293 bool btc_config_remove(const char *section, const char *key) in btc_config_remove()
|
| /device/soc/rockchip/common/sdk_linux/kernel/sched/ |
| D | wait.c | 9 …_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/winnermicro/wm800/board/src/bt/blehost/nimble/host/store/config/src/ |
| D | wm_bt_storage.c | 110 int btif_wm_config_set_local(const nv_tag_t section, const nv_tag_t key, const nv_tag_t name, in btif_wm_config_set_local() 310 int btif_wm_config_get_local(const nv_tag_t section, const nv_tag_t key, const nv_tag_t name, in btif_wm_config_get_local() 510 int btif_wm_config_get_local_int(const nv_tag_t section, const nv_tag_t key, const nv_tag_t name, in btif_wm_config_get_local_int() 517 int btif_wm_config_set_local_int(const nv_tag_t section, const nv_tag_t key, const nv_tag_t name, in btif_wm_config_set_local_int() 523 int btif_wm_config_get_local_str(const nv_tag_t section, const nv_tag_t key, const nv_tag_t name, in btif_wm_config_get_local_str() 534 int btif_wm_config_set_local_str(const nv_tag_t section, const nv_tag_t key, const nv_tag_t name, in btif_wm_config_set_local_str() 542 int btif_wm_config_remove_local(const nv_tag_t section, const nv_tag_t key, const nv_tag_t name) in btif_wm_config_remove_local() 546 int btif_wm_config_exist_local(const nv_tag_t section, const nv_tag_t key, const nv_tag_t name) in btif_wm_config_exist_local() 610 int btif_wm_config_update_remote_device(const char *key) in btif_wm_config_update_remote_device() 682 int btif_wm_config_set_remote(const nv_tag_t section, const char *key, const nv_tag_t name, in btif_wm_config_set_remote() [all …]
|
| /device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/ |
| D | rtw_swcrypto.c | 30 int _rtw_ccmp_encrypt(_adapter *padapter, u8 *key, u32 key_len, uint hdrlen, u8 *frame, uint plen) in _rtw_ccmp_encrypt() 71 int _rtw_ccmp_decrypt(_adapter * padapter, u8 *key, u32 key_len, uint hdrlen, u8 *frame, in _rtw_ccmp_decrypt() 112 int _aes_siv_encrypt(const u8 *key, size_t key_len, in _aes_siv_encrypt() 118 int _aes_siv_decrypt(const u8 *key, size_t key_len, in _aes_siv_decrypt() 134 int _rtw_gcmp_encrypt(_adapter * padapter, u8 *key, u32 key_len, uint hdrlen, u8 *frame, uint plen) in _rtw_gcmp_encrypt() 165 int _rtw_gcmp_decrypt(_adapter *padapter, u8 *key, u32 key_len, uint hdrlen, u8 *frame, uint plen) in _rtw_gcmp_decrypt() 196 u8 _bip_ccmp_protect(const u8 *key, size_t key_len, in _bip_ccmp_protect() 221 const u8 *key, size_t key_len, in _bip_gcmp_protect()
|
| /device/soc/esp/esp32/components/bt/common/osi/ |
| D | hash_functions.c | 23 hash_index_t hash_function_naive(const void *key) in hash_function_naive() 28 hash_index_t hash_function_integer(const void *key) in hash_function_integer() 33 hash_index_t hash_function_pointer(const void *key) in hash_function_pointer() 38 hash_index_t hash_function_string(const void *key) in hash_function_string()
|
| D | config.c | 35 char *key; member 128 bool config_has_key(const config_t *config, const char *section, const char *key) in config_has_key() 137 bool config_has_key_in_section(config_t *config, const char *key, char *key_value) in config_has_key_in_section() 156 int config_get_int(const config_t *config, const char *section, const char *key, int def_value) in config_get_int() 172 bool config_get_bool(const config_t *config, const char *section, const char *key, bool def_value) in config_get_bool() 193 const char *config_get_string(const config_t *config, const char *section, const char *key, const c… in config_get_string() 207 void config_set_int(config_t *config, const char *section, const char *key, int value) in config_set_int() 218 void config_set_bool(config_t *config, const char *section, const char *key, bool value) in config_set_bool() 227 void config_set_string(config_t *config, const char *section, const char *key, const char *value, b… in config_set_string() 265 bool config_remove_key(config_t *config, const char *section, const char *key) in config_remove_key() [all …]
|
| /device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/ |
| D | kapi_dispatch.c | 215 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 …]
|
| D | kapi_rsa.c | 57 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()
|
| /device/soc/beken/bk7235/liteos_m/bk_sdk_armino/components/easy_flash/ |
| D | bk_ef.c | 23 char *bk_get_env(const char *key) in bk_get_env() 28 EfErrCode bk_set_env(const char *key, const char *value) in bk_set_env() 38 EfErrCode bk_set_buf_env(const char *key, const char *buf, int len) in bk_set_buf_env() 69 EfErrCode bk_get_buf_env(const char *key, const char *buf, int len) in bk_get_buf_env()
|
| /device/soc/hpmicro/sdk/hpm_sdk/drivers/inc/ |
| D | hpm_bkey_drv.h | 46 static inline void bkey_set_key_data(BKEY_Type *ptr, uint8_t key, uint8_t start, uint32_t *data, ui… in bkey_set_key_data() 64 static inline void bkey_get_key_data(BKEY_Type *ptr, uint8_t key, uint8_t start, uint32_t *data, ui… in bkey_get_key_data() 81 static inline void bkey_lock(BKEY_Type *ptr, uint8_t key, bkey_lock_type_t lock, uint16_t ecc) in bkey_lock() 96 static inline void bkey_select_key(BKEY_Type *ptr, uint8_t key) in bkey_select_key()
|
| /device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/crypto/ |
| D | aes-omac1.c | 42 int omac1_aes_vector(const u8 *key, size_t key_len, size_t num_elem, in omac1_aes_vector() 132 int omac1_aes_128_vector(const u8 *key, size_t num_elem, in omac1_aes_128_vector() 151 int omac1_aes_128(const u8 *key, const u8 *data, size_t data_len, u8 *mac) in omac1_aes_128() 169 int omac1_aes_256(const u8 *key, const u8 *data, size_t data_len, u8 *mac) in omac1_aes_256()
|
| /device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/extend/ |
| D | ext_sm4.c | 85 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() 293 … const 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/beken/bk7235/liteos_m/bk_sdk_armino/components/easy_flash/src/ |
| D | ef_env.c | 292 static EfErrCode write_env(const char *key, const char *value) in write_env() 337 static char *find_env(const char *key) in find_env() 383 static EfErrCode create_env(const char *key, const char *value) in create_env() 418 static EfErrCode del_env(const char *key) in del_env() 471 EfErrCode ef_set_env(const char *key, const char *value) in ef_set_env() 516 char *ef_get_env(const char *key) in ef_get_env() 798 EfErrCode ef_set_and_save_env(const char *key, const char *value) in ef_set_and_save_env()
|
| /device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/stream_input/parser/demux/sw_demux/dvbcsa2/ |
| D | dvbcsa_algo.c | 30 void dvbcsa_decrypt (const struct dvbcsa_key_s *key, uint8_t *data, unsigned int len) in dvbcsa_decrypt() 53 void dvbcsa_encrypt (const struct dvbcsa_key_s *key, uint8_t *data, unsigned int len) in dvbcsa_encrypt() 85 void dvbcsa_key_free(struct dvbcsa_key_s *key) in dvbcsa_key_free()
|
| /device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/crypto/ |
| D | cryp_rsa.c | 326 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()
|