/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/ext_util/ |
H A D | base_interface.c | 34 #define CFG_KEY_MAX 256 // Maximum length of config key buf
75 * 获取key对应的int类型配置项
76 * Get the int type configuration item corresponding to the key
78 int GetCfgInt(const char* key, int defVal)
in GetCfgInt() argument 80 HI_ASSERT(key && *key);
in GetCfgInt() 81 return g_appCfg ? iniparser_getint(g_appCfg, key, defVal) : defVal;
in GetCfgInt() 85 * 获取key对应的double类型配置项
86 * Get the double configuration item corresponding to the key
88 double GetCfgDouble(const char* key, doubl argument 98 GetCfgStr(const char* key, const char* defVal) GetCfgStr() argument 108 GetCfgBool(const char* key, bool defVal) GetCfgBool() argument 139 char key[CFG_KEY_MAX]; SectGetCfgInt() local 154 char key[CFG_KEY_MAX]; SectGetCfgDouble() local 169 char key[CFG_KEY_MAX]; SectGetCfgBool() local 184 char key[CFG_KEY_MAX]; SectGetCfgStr() local [all...] |
H A D | base_interface.h | 30 int GetCfgInt(const char* key, int defVal);
31 double GetCfgDouble(const char* key, double defVal);
32 bool GetCfgBool(const char* key, bool defVal);
33 const char* GetCfgStr(const char* key, const char* defVal);
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/ |
H A D | kapi_dispatch.c | 215 hi_u8 *key = HI_NULL; in dispatch_hash_start() local 231 hi_log_chk_param_return(addr_via(start->key) == HI_NULL); in dispatch_hash_start() 233 key = (hi_u8 *)crypto_calloc(1, start->keylen); in dispatch_hash_start() 234 if (key == HI_NULL) { in dispatch_hash_start() 240 crypto_chk_err_goto(crypto_copy_from_user(key, start->keylen, addr_via(start->key), start->keylen)); in dispatch_hash_start() 243 crypto_chk_err_goto(kapi_hash_start(&start->id, start->type, key, start->keylen)); in dispatch_hash_start() 246 if (key != HI_NULL) { in dispatch_hash_start() 247 (hi_void)memset_s(key, start->keylen, 0, start->keylen); in dispatch_hash_start() 248 crypto_free(key); in dispatch_hash_start() 317 rsa_pub_alloc(cryp_rsa_key *key, const rsa_info_t *rsa_info, hi_u8 **in, hi_u8 **out) rsa_pub_alloc() argument 360 rsa_private_set_key_param(cryp_rsa_key *key, kapi_rsa_buf *rsa_buf, hi_u32 klen, hi_u32 e) rsa_private_set_key_param() argument 396 rsa_private_get_cfg(cryp_rsa_key *key, const rsa_info_t *rsa_info, hi_u8 **in, hi_u8 **out, hi_u8 *buf) rsa_private_get_cfg() argument 442 rsa_private_alloc(cryp_rsa_key *key, const rsa_info_t *rsa_info, hi_u8 **in, hi_u8 **out) rsa_private_alloc() argument 488 rsa_alloc_buffer(cryp_rsa_key *key, const rsa_info_t *rsa_info, hi_u8 **in, hi_u8 **out) rsa_alloc_buffer() argument 526 rsa_free_buffer(cryp_rsa_key *key) rsa_free_buffer() argument 544 cryp_rsa_key key; dispatch_rsa_encrypt() local 585 cryp_rsa_key key; dispatch_rsa_decrypt() local 626 cryp_rsa_key key; dispatch_rsa_sign_hash() local 667 cryp_rsa_key key; dispatch_rsa_verify_hash() local [all...] |
H A D | kapi_rsa.c | 57 hi_s32 kapi_rsa_encrypt(cryp_rsa_key *key, cryp_rsa_crypt_data *rsa) in kapi_rsa_encrypt() argument 63 ret = cryp_rsa_encrypt(key, rsa); in kapi_rsa_encrypt() 73 hi_s32 kapi_rsa_decrypt(cryp_rsa_key *key, cryp_rsa_crypt_data *rsa) in kapi_rsa_decrypt() argument 79 ret = cryp_rsa_decrypt(key, 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() argument 95 ret = cryp_rsa_sign_hash(key, 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() argument 111 ret = cryp_rsa_verify_hash(key, rsa); in kapi_rsa_verify_hash()
|
/device/qemu/riscv32_virt/liteos_m/board/driver/video/ |
H A D | fb_mem.c | 66 int FbMemLookup(const char *key, struct fb_mem **result, uint32_t flags)
in FbMemLookup() argument 69 size_t len = strlen(key);
in FbMemLookup() 72 ret = KeyCacheLookup(key, len, &fbmem);
in FbMemLookup() 81 (void)KeyCacheAlloc(fbmem, key, len);
in FbMemLookup() 91 int register_driver(const char *key, void *prev)
in register_driver() argument 95 if (key == NULL || strlen(key) >= PATH_MAX) {
in register_driver() 99 ret = FbMemLookup(key, &fbmem, 0);
in register_driver() 105 ret = FbMemLookup(key, &fbmem, V_CREATE | V_DUMMY);
in register_driver() 113 int unregister_driver(const char *key)
in unregister_driver() argument [all...] |
/device/soc/rockchip/rk3588/hardware/mpp/include/ |
H A D | mpp_meta.h | 61 /* data flow key */ 70 /* flow control key */ 76 /* mpp_frame / mpp_packet meta data info key */ 147 MPP_RET mpp_meta_set_s32(MppMeta meta, MppMetaKey key, RK_S32 val); 148 MPP_RET mpp_meta_set_s64(MppMeta meta, MppMetaKey key, RK_S64 val); 149 MPP_RET mpp_meta_set_ptr(MppMeta meta, MppMetaKey key, void *val); 150 MPP_RET mpp_meta_get_s32(MppMeta meta, MppMetaKey key, RK_S32 *val); 151 MPP_RET mpp_meta_get_s64(MppMeta meta, MppMetaKey key, RK_S64 *val); 152 MPP_RET mpp_meta_get_ptr(MppMeta meta, MppMetaKey key, void **val); 154 MPP_RET mpp_meta_set_frame (MppMeta meta, MppMetaKey key, MppFram [all...] |
H A D | mpp_task.h | 219 MPP_RET mpp_task_meta_set_s32(MppTask task, MppMetaKey key, RK_S32 val); 220 MPP_RET mpp_task_meta_set_s64(MppTask task, MppMetaKey key, RK_S64 val); 221 MPP_RET mpp_task_meta_set_ptr(MppTask task, MppMetaKey key, void *val); 222 MPP_RET mpp_task_meta_set_frame (MppTask task, MppMetaKey key, MppFrame frame); 223 MPP_RET mpp_task_meta_set_packet(MppTask task, MppMetaKey key, MppPacket packet); 224 MPP_RET mpp_task_meta_set_buffer(MppTask task, MppMetaKey key, MppBuffer buffer); 226 MPP_RET mpp_task_meta_get_s32(MppTask task, MppMetaKey key, RK_S32 *val, RK_S32 default_val); 227 MPP_RET mpp_task_meta_get_s64(MppTask task, MppMetaKey key, RK_S64 *val, RK_S64 default_val); 228 MPP_RET mpp_task_meta_get_ptr(MppTask task, MppMetaKey key, void **val, void *default_val); 229 MPP_RET mpp_task_meta_get_frame (MppTask task, MppMetaKey key, MppFram [all...] |
H A D | dictionary.h | 55 association is identified by a unique string key. Looking up values 64 char ** key ; /** List of string keys */ member 75 @brief Compute the hash key for a string. 76 @param key Character string to use for key. 81 The key is stored anyway in the struct so that collision can be avoided 82 by comparing the key itself in last resort. 85 unsigned dictionary_hash(const char * key); 115 @param key Key to look for in the dictionary. 116 @param def Default value to return if key no [all...] |
H A D | iniparser.h | 69 dictionary: a section name is given as "section" whereas a key is 70 stored as "section:key", thus the test looks for entries that do not 176 @brief Get the string associated to a key 178 @param key Key string to look for 179 @param def Default value to return if key not found. 182 This function queries a dictionary for a key. A key as read from an 183 ini file is given as "section:key". If the key cannot be found, 189 const char * iniparser_getstring(const dictionary * d, const char * key, cons [all...] |
/device/soc/rockchip/rk3399/hardware/mpp/include/ |
H A D | mpp_task.h | 218 MPP_RET mpp_task_meta_set_s32(MppTask task, MppMetaKey key, RK_S32 val); 219 MPP_RET mpp_task_meta_set_s64(MppTask task, MppMetaKey key, RK_S64 val); 220 MPP_RET mpp_task_meta_set_ptr(MppTask task, MppMetaKey key, void *val); 221 MPP_RET mpp_task_meta_set_frame (MppTask task, MppMetaKey key, MppFrame frame); 222 MPP_RET mpp_task_meta_set_packet(MppTask task, MppMetaKey key, MppPacket packet); 223 MPP_RET mpp_task_meta_set_buffer(MppTask task, MppMetaKey key, MppBuffer buffer); 225 MPP_RET mpp_task_meta_get_s32(MppTask task, MppMetaKey key, RK_S32 *val, RK_S32 default_val); 226 MPP_RET mpp_task_meta_get_s64(MppTask task, MppMetaKey key, RK_S64 *val, RK_S64 default_val); 227 MPP_RET mpp_task_meta_get_ptr(MppTask task, MppMetaKey key, void **val, void *default_val); 228 MPP_RET mpp_task_meta_get_frame (MppTask task, MppMetaKey key, MppFram [all...] |
H A D | mpp_meta.h | 60 /* data flow key */ 69 /* flow control key */ 75 /* mpp_frame / mpp_packet meta data info key */ 109 MPP_RET mpp_meta_set_s32(MppMeta meta, MppMetaKey key, RK_S32 val); 110 MPP_RET mpp_meta_set_s64(MppMeta meta, MppMetaKey key, RK_S64 val); 111 MPP_RET mpp_meta_set_ptr(MppMeta meta, MppMetaKey key, void *val); 112 MPP_RET mpp_meta_get_s32(MppMeta meta, MppMetaKey key, RK_S32 *val); 113 MPP_RET mpp_meta_get_s64(MppMeta meta, MppMetaKey key, RK_S64 *val); 114 MPP_RET mpp_meta_get_ptr(MppMeta meta, MppMetaKey key, void **val); 116 MPP_RET mpp_meta_set_frame (MppMeta meta, MppMetaKey key, MppFram [all...] |
/device/soc/rockchip/rk3568/hardware/mpp/include/ |
H A D | mpp_task.h | 218 MPP_RET mpp_task_meta_set_s32(MppTask task, MppMetaKey key, RK_S32 val); 219 MPP_RET mpp_task_meta_set_s64(MppTask task, MppMetaKey key, RK_S64 val); 220 MPP_RET mpp_task_meta_set_ptr(MppTask task, MppMetaKey key, void *val); 221 MPP_RET mpp_task_meta_set_frame (MppTask task, MppMetaKey key, MppFrame frame); 222 MPP_RET mpp_task_meta_set_packet(MppTask task, MppMetaKey key, MppPacket packet); 223 MPP_RET mpp_task_meta_set_buffer(MppTask task, MppMetaKey key, MppBuffer buffer); 225 MPP_RET mpp_task_meta_get_s32(MppTask task, MppMetaKey key, RK_S32 *val, RK_S32 default_val); 226 MPP_RET mpp_task_meta_get_s64(MppTask task, MppMetaKey key, RK_S64 *val, RK_S64 default_val); 227 MPP_RET mpp_task_meta_get_ptr(MppTask task, MppMetaKey key, void **val, void *default_val); 228 MPP_RET mpp_task_meta_get_frame (MppTask task, MppMetaKey key, MppFram [all...] |
H A D | mpp_meta.h | 60 /* data flow key */ 69 /* flow control key */ 75 /* mpp_frame / mpp_packet meta data info key */ 109 MPP_RET mpp_meta_set_s32(MppMeta meta, MppMetaKey key, RK_S32 val); 110 MPP_RET mpp_meta_set_s64(MppMeta meta, MppMetaKey key, RK_S64 val); 111 MPP_RET mpp_meta_set_ptr(MppMeta meta, MppMetaKey key, void *val); 112 MPP_RET mpp_meta_get_s32(MppMeta meta, MppMetaKey key, RK_S32 *val); 113 MPP_RET mpp_meta_get_s64(MppMeta meta, MppMetaKey key, RK_S64 *val); 114 MPP_RET mpp_meta_get_ptr(MppMeta meta, MppMetaKey key, void **val); 116 MPP_RET mpp_meta_set_frame (MppMeta meta, MppMetaKey key, MppFram [all...] |
/device/soc/rockchip/common/hardware/mpp/include/ |
H A D | mpp_task.h | 218 MPP_RET mpp_task_meta_set_s32(MppTask task, MppMetaKey key, signed int val); 219 MPP_RET mpp_task_meta_set_s64(MppTask task, MppMetaKey key, RK_S64 val); 220 MPP_RET mpp_task_meta_set_ptr(MppTask task, MppMetaKey key, void *val); 221 MPP_RET mpp_task_meta_set_frame(MppTask task, MppMetaKey key, MppFrame frame); 222 MPP_RET mpp_task_meta_set_packet(MppTask task, MppMetaKey key, MppPacket packet); 223 MPP_RET mpp_task_meta_set_buffer(MppTask task, MppMetaKey key, MppBuffer buffer); 225 MPP_RET mpp_task_meta_get_s32(MppTask task, MppMetaKey key, signed int *val, signed int default_val); 226 MPP_RET mpp_task_meta_get_s64(MppTask task, MppMetaKey key, RK_S64 *val, RK_S64 default_val); 227 MPP_RET mpp_task_meta_get_ptr(MppTask task, MppMetaKey key, void **val, void *default_val); 228 MPP_RET mpp_task_meta_get_frame(MppTask task, MppMetaKey key, MppFram [all...] |
H A D | mpp_meta.h | 58 /* data flow key */ 67 /* flow control key */ 73 /* mpp_frame / mpp_packet meta data info key */ 107 MPP_RET mpp_meta_set_s32(MppMeta meta, MppMetaKey key, signed int val); 108 MPP_RET mpp_meta_set_s64(MppMeta meta, MppMetaKey key, RK_S64 val); 109 MPP_RET mpp_meta_set_ptr(MppMeta meta, MppMetaKey key, void *val); 110 MPP_RET mpp_meta_get_s32(MppMeta meta, MppMetaKey key, signed int *val); 111 MPP_RET mpp_meta_get_s64(MppMeta meta, MppMetaKey key, RK_S64 *val); 112 MPP_RET mpp_meta_get_ptr(MppMeta meta, MppMetaKey key, void **val); 114 MPP_RET mpp_meta_set_frame(MppMeta meta, MppMetaKey key, MppFram [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/mbedtls/include/mbedtls/ |
H A D | des.h | 122 * \brief Set key parity on the given key to odd. 127 * \param key 8-byte secret key 133 void mbedtls_des_key_set_parity( unsigned char key[MBEDTLS_DES_KEY_SIZE] ); 136 * \brief Check that key parity on the given key is odd. 141 * \param key 8-byte secret key 149 int mbedtls_des_key_check_key_parity( const unsigned char key[MBEDTLS_DES_KEY_SIZ [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/crypto/ |
H A D | cryp_rsa.c | 33 /* rsa key len in bits */ 85 hi_log_error("error, invalid key len %lu\n", module_len); in rsa_get_klen() 197 /* key and data valid ? */ in cryp_ifep_rsa_exp_mod() 240 /* The private key may be not from user when generate rsa key pare in mbedtls_mpi_exp_mod() 241 * in this case use klad key will failed. in mbedtls_mpi_exp_mod() 246 hi_log_error("software rsa nonsupport klad key\n"); in mbedtls_mpi_exp_mod() 254 hi_log_error("sofrware rsa nonsupport klad key\n"); in mbedtls_mpi_exp_mod() 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() argument 341 crypto_chk_err_goto(mbedtls_mpi_read_binary(&rsa->N, key in cryp_rsa_init_key() 754 cryp_rsa_encrypt(const cryp_rsa_key *key, cryp_rsa_crypt_data *rsa_crypt) cryp_rsa_encrypt() argument 860 cryp_rsa_decrypt(const cryp_rsa_key *key, cryp_rsa_crypt_data *rsa_crypt) cryp_rsa_decrypt() argument 917 cryp_rsa_sign_hash(const cryp_rsa_key *key, cryp_rsa_sign_data *rsa_sign) cryp_rsa_sign_hash() argument 972 cryp_rsa_verify_hash(const cryp_rsa_key *key, const cryp_rsa_sign_data *rsa_verify) cryp_rsa_verify_hash() argument 1027 cryp_rsa_encrypt(cryp_rsa_key *key, cryp_rsa_crypt_data *rsa_crypt) cryp_rsa_encrypt() argument 1033 cryp_rsa_decrypt(cryp_rsa_key *key, cryp_rsa_crypt_data *rsa_crypt) cryp_rsa_decrypt() argument 1039 cryp_rsa_sign_hash(cryp_rsa_key *key, cryp_rsa_sign_data *rsa_sign) cryp_rsa_sign_hash() argument 1045 cryp_rsa_verify_hash(cryp_rsa_key *key, cryp_rsa_sign_data *rsa_verify) cryp_rsa_verify_hash() argument [all...] |
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/common/ |
H A D | mac_user.c | 178 WIFI_ROM_TEXT hi_u32 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() argument 186 if (((hi_u8)key->cipher == WLAN_80211_CIPHER_SUITE_WEP_40) || in mac_user_add_key_common() 187 ((hi_u8)key->cipher == WLAN_80211_CIPHER_SUITE_WEP_104)) { in mac_user_add_key_common() 189 } else if (((hi_u8)key->cipher == WLAN_80211_CIPHER_SUITE_TKIP) || in mac_user_add_key_common() 190 ((hi_u8)key->cipher == WLAN_80211_CIPHER_SUITE_CCMP)) { in mac_user_add_key_common() 196 if (key->key_len > key_max_len) { in mac_user_add_key_common() 200 if ((hi_u32)key->seq_len > WLAN_WPA_SEQ_LEN) { in mac_user_add_key_common() 204 mac_user->key_info.ast_key[key_index].cipher = key->cipher; in mac_user_add_key_common() 205 mac_user->key_info.ast_key[key_index].key_len = (hi_u32)key->key_len; in mac_user_add_key_common() 206 mac_user->key_info.ast_key[key_index].seq_len = (hi_u32)key in mac_user_add_key_common() 228 mac_user_add_wep_key(mac_user_stru *mac_user, hi_u8 key_index, const mac_key_params_stru *key) mac_user_add_wep_key() argument 248 mac_user_add_rsn_key(mac_user_stru *mac_user, hi_u8 key_index, const mac_key_params_stru *key) mac_user_add_rsn_key() argument 260 mac_user_add_bip_key(mac_user_stru *mac_user, hi_u8 key_index, const mac_key_params_stru *key) mac_user_add_bip_key() argument [all...] |
/device/soc/rockchip/common/sdk_linux/kernel/sched/ |
H A D | wait.c | 9 void __init_waitqueue_head(struct wait_queue_head *wq_head, const char *name, struct lock_class_key *key) in __init_waitqueue_head() argument 12 lockdep_set_class_and_name(&wq_head->lock, key, name); in __init_waitqueue_head() 67 void *key, wait_queue_entry_t *bookmark) in __wake_up_common() 96 ret = curr->func(curr, mode, wake_flags, key); in __wake_up_common() 115 void *key) in __wake_up_common_lock() 127 nr_exclusive = __wake_up_common(wq_head, mode, nr_exclusive, wake_flags, key, &bookmark); in __wake_up_common_lock() 137 * @key: is directly passed to the wakeup function 142 void __wake_up(struct wait_queue_head *wq_head, unsigned int mode, int nr_exclusive, void *key) in __wake_up() argument 144 __wake_up_common_lock(wq_head, mode, nr_exclusive, 0, 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() argument 66 __wake_up_common(struct wait_queue_head *wq_head, unsigned int mode, int nr_exclusive, int wake_flags, void *key, wait_queue_entry_t *bookmark) __wake_up_common() argument 114 __wake_up_common_lock(struct wait_queue_head *wq_head, unsigned int mode, int nr_exclusive, int wake_flags, void *key) __wake_up_common_lock() argument 163 __wake_up_locked_key_bookmark(struct wait_queue_head *wq_head, unsigned int mode, void *key, wait_queue_entry_t *bookmark) __wake_up_locked_key_bookmark() argument 186 __wake_up_sync_key(struct wait_queue_head *wq_head, unsigned int mode, void *key) __wake_up_sync_key() argument 212 __wake_up_locked_sync_key(struct wait_queue_head *wq_head, unsigned int mode, void *key) __wake_up_locked_sync_key() argument 404 autoremove_wake_function(struct wait_queue_entry *wq_entry, unsigned int mode, int sync, void *key) autoremove_wake_function() argument 466 woken_wake_function(struct wait_queue_entry *wq_entry, unsigned int mode, int sync, void *key) woken_wake_function() argument [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/ |
H A D | hks_client.h | 19 * Description: Contains key generation, signature verify, 20 * encryption and decryption, key derivation, key agreement, etc. \n 92 * @brief Refresh key info and root key info.CNcomment:刷新密钥信息和根密钥信息。CNend 95 * Refresh key info and root key info.CNcomment:刷新密钥信息和根密钥信息。CNend 110 * @brief Generate key Only ED25519 algorithm key pair generation is supported The number of local storage keys. 114 * Generate key Onl [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/compat/ |
H A D | drv_klad.c | 41 /* Load efuse or OTP key to KLAD */ in hal_cipher_klad_config() 65 /* High 128bits is just meaningful for loading cipher 256 bits key, and meaningless to rsa. */ in hal_cipher_start_klad() 81 /* The length of klad input key is 16 bytes. */ in hal_cipher_set_klad_data() 91 /* The length of klad output key is 16 bytes. */ in hal_cipher_get_klad_data() 194 /* load aes or rsa clean key to klad. */ 200 hi_u32 key[AES_BLOCK_SIZE / WORD_WIDTH] = {0}; in drv_cipher_klad_load_key() local 216 if (memcpy_s(key, sizeof(key), data_in + i * AES_BLOCK_SIZE, AES_BLOCK_SIZE) != EOK) { in drv_cipher_klad_load_key() 220 hal_cipher_set_klad_data(key, sizeof(key) / WORD_WIDT in drv_cipher_klad_load_key() [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/paho.mqtt.c/include/mqtt/ |
H A D | MQTTPersistenceDefault.h | 28 int pstput(void* handle, char* key, int bufcount, char* buffers[], int buflens[]); 29 int pstget(void* handle, char* key, char** buffer, int* buflen); 30 int pstremove(void* handle, char* key); 33 int pstcontainskey(void* handle, char* key);
|
H A D | MQTTClientPersistence.h | 130 * @param key A string used as the key for the data to be put in the store. The 131 * key is later used to retrieve data from the store with Persistence_get(). 134 * this <i>key</i>. 140 typedef int (*Persistence_put)(void* handle, char* key, int bufcount, char* buffers[], int buflens[]); 147 * @param key A string that is the key for the data to be retrieved. This is 148 * the same key used to save the data to the store with Persistence_put(). 156 typedef int (*Persistence_get)(void* handle, char* key, char** buffer, int* buflen); 159 * @brief Remove the data for the specified key fro [all...] |
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
H A D | wl_iw.c | 257 wl_wsec_key_t *key in swap_key_from_BE() 260 key->index = htod32(key->index); in swap_key_from_BE() 261 key->len = htod32(key->len); in swap_key_from_BE() 262 key->algo = htod32(key->algo); in swap_key_from_BE() 263 key->flags = htod32(key->flags); in swap_key_from_BE() 264 key in swap_key_from_BE() 2426 wl_wsec_key_t key; wl_iw_set_encode() local 2515 wl_wsec_key_t key; wl_iw_get_encode() local 2664 wl_wsec_key_t key; wl_iw_set_encodeext() local [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/crypto/include/ |
H A D | cryp_rsa.h | 55 * brief RSA encryption a plaintext with a RSA key. 56 * param[in] key: rsa key. 63 hi_s32 cryp_rsa_encrypt(const cryp_rsa_key *key, cryp_rsa_crypt_data *rsa_crypt); 66 * brief RSA decryption a plaintext with a RSA key. 67 * param[in] key: rsa key. 74 hi_s32 cryp_rsa_decrypt(const cryp_rsa_key *key, cryp_rsa_crypt_data *rsa_crypt); 77 * brief RSA sign a hash value with a RSA private key. 78 * param[in] key [all...] |