/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/ |
D | kapi_symc.c | 243 static hi_s32 kapi_symc_chk_des_3des_param(hi_cipher_alg alg, hi_cipher_work_mode mode, hi_u32 widt… in kapi_symc_chk_des_3des_param() argument 246 if (alg == HI_CIPHER_ALG_DES) { in kapi_symc_chk_des_3des_param() 253 if (alg == HI_CIPHER_ALG_3DES) { in kapi_symc_chk_des_3des_param() 260 hi_log_error("Invalid alg %d and mode %d\n", alg, mode); in kapi_symc_chk_des_3des_param() 276 static hi_s32 kapi_symc_chk_aes_param(hi_cipher_alg alg, hi_cipher_work_mode mode, hi_u32 width) in kapi_symc_chk_aes_param() argument 279 hi_log_error("Invalid alg %d and mode %d\n", alg, mode); in kapi_symc_chk_aes_param() 286 hi_log_error("Invalid alg %d mode %d and width %u\n", alg, mode, width); in kapi_symc_chk_aes_param() 292 hi_log_error("Invalid alg %d mode %d and width %u\n", alg, mode, width); in kapi_symc_chk_aes_param() 300 static hi_s32 kapi_symc_chk_sm1_param(hi_cipher_alg alg, hi_cipher_work_mode mode, hi_u32 width, hi… in kapi_symc_chk_sm1_param() argument 303 hi_log_error("Invalid alg %d and mode %d\n", alg, mode); in kapi_symc_chk_sm1_param() [all …]
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/crypto/ |
D | cryp_symc.c | 238 static hi_void cryp_symc_setmode(hi_void *ctx, symc_alg alg, symc_mode mode, symc_width width) in cryp_symc_setmode() argument 249 hisi_ctx->alg = alg; in cryp_symc_setmode() 256 static hi_void cryp_3des2dma_setmode(hi_void *ctx, symc_alg alg, symc_mode mode, symc_width width) in cryp_3des2dma_setmode() argument 267 crypto_unused(alg); in cryp_3des2dma_setmode() 272 hisi_ctx->alg = SYMC_ALG_TDES; in cryp_3des2dma_setmode() 477 static symc_klen cryp_symc_key_type(symc_alg alg, hi_u32 klen) in cryp_symc_key_type() argument 481 if ((alg == SYMC_ALG_AES) && (klen == AES_KEY_192BIT)) { in cryp_symc_key_type() 483 } else if ((alg == SYMC_ALG_AES) && (klen == AES_KEY_256BIT)) { in cryp_symc_key_type() 485 } else if ((alg == SYMC_ALG_TDES) && (klen == TDES_KEY_128BIT)) { in cryp_symc_key_type() 503 hisi_ctx->hard_chn, hisi_ctx->alg, hisi_ctx->mode, in cryp_symc_config() [all …]
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/umac/ |
D | rate.c | 118 struct rate_control_alg *alg; in mac80211_rate_control_register() local 124 list_for_each_entry(alg, &rate_ctrl_algs, list) { in mac80211_rate_control_register() 125 if (!strcmp(alg->ops->name, ops->name)) { in mac80211_rate_control_register() 133 alg = kzalloc(sizeof(*alg), GFP_KERNEL); in mac80211_rate_control_register() 134 if (alg == NULL) { in mac80211_rate_control_register() 138 alg->ops = ops; in mac80211_rate_control_register() 140 list_add_tail(&alg->list, &rate_ctrl_algs); in mac80211_rate_control_register() 148 struct rate_control_alg *alg; in mac80211_rate_control_unregister() local 151 list_for_each_entry(alg, &rate_ctrl_algs, list) { in mac80211_rate_control_unregister() 152 if (alg->ops == ops) { in mac80211_rate_control_unregister() [all …]
|
D | aead_api.c | 85 aead_key_setup_encrypt(const char *alg, const u8 key[], in aead_key_setup_encrypt() argument 91 tfm = crypto_alloc_aead(alg, 0, CRYPTO_ALG_ASYNC); in aead_key_setup_encrypt()
|
D | aead_api.h | 12 aead_key_setup_encrypt(const char *alg, const u8 key[],
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/crypto/include/ |
D | cryp_symc.h | 96 typedef hi_void (*func_symc_setmode)(hi_void *ctx, symc_alg alg, symc_mode mode, symc_width width); 156 symc_alg alg; /* Alg of Symmetric cipher */ member 191 symc_func *cryp_get_symc_op(hi_cipher_alg alg, hi_cipher_work_mode mode);
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/core/ |
D | drv_symc_v200.c | 81 symc_alg alg; /* The alg of Symmetric cipher */ member 323 if (ctx->alg == SYMC_ALG_SM4) { in drv_symc_wait_irq() 1466 hi_s32 drv_symc_node_check(symc_alg alg, symc_mode mode, hi_u32 klen, hi_u32 block_size, symc_multi… in drv_symc_node_check() argument 1482 if ((alg != SYMC_ALG_AES) || in drv_symc_node_check() 1502 if ((alg != SYMC_ALG_NULL_CIPHER) && in drv_symc_node_check() 1528 hi_log_chk_param_return(ctx_cfg->alg >= SYMC_ALG_COUNT); in drv_symc_cfg() 1535 ctx->alg = ctx_cfg->alg; in drv_symc_cfg() 1539 ctx_cfg->hard_chn, ctx_cfg->alg, ctx_cfg->mode, decrypt, ctx_cfg->hard_key); in drv_symc_cfg() 1547 cipher_ctrl.bits.sym_chn_alg_sel = ctx_cfg->alg; in drv_symc_cfg() 1618 if (ctx->alg == SYMC_ALG_SM4) { in drv_symc_start() [all …]
|
D | drv_symc_v100.c | 698 ctx.alg = SYMC_ALG_AES; in drv_cipher_aes_test() 1291 hi_s32 drv_symc_node_check(symc_alg alg, symc_mode mode, hi_u32 klen, hi_u32 block_size, symc_multi… in drv_symc_node_check() argument 1301 crypto_unused(alg); in drv_symc_node_check() 1355 hi_log_chk_param_return(ctx->alg > SYMC_ALG_AES); in drv_symc_cfg() 1365 ctrl.bits.alg_sel = ctx->alg; in drv_symc_cfg() 1524 status->alg = "DES "; in drv_symc_proc_alg() 1528 status->alg = "3DES"; in drv_symc_proc_alg() 1532 status->alg = "AES "; in drv_symc_proc_alg() 1536 status->alg = "BUTT"; in drv_symc_proc_alg()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/mbedtls/include/mbedtls/ |
D | asn1.h | 308 mbedtls_asn1_buf *alg, mbedtls_asn1_buf *params ); 324 mbedtls_asn1_buf *alg );
|
D | x509.h | 290 mbedtls_x509_buf *alg ); 292 mbedtls_x509_buf *alg, mbedtls_x509_buf *params );
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/core/include/ |
D | drv_symc.h | 161 char *alg; member 239 symc_alg alg; /* Symmetric cipher algorithm */ member 328 hi_s32 drv_symc_node_check(symc_alg alg, symc_mode mode, symc_klen klen, hi_u32 block_size, symc_mu…
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/extend/include/ |
D | ext_alg.h | 139 hi_void ext_mbedtls_symc_setmode(hi_void *ctx, symc_alg alg, symc_mode mode, symc_width width); 212 hi_void ext_sm4_setmode(hi_void *ctx, symc_alg alg, symc_mode mode, symc_width width);
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/ |
D | hks_client.h | 530 const uint32_t alg, const struct hks_blob *src_data, 559 HKS_DLL_API_PUBLIC int32_t hks_hash(const uint32_t alg,
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/extend/ |
D | ext_symc.c | 74 hi_s32 ext_mbedtls_symc_setmode(hi_void *ctx, symc_alg alg, symc_mode mode, symc_width width) in ext_mbedtls_symc_setmode() argument 83 switch (alg) { in ext_mbedtls_symc_setmode() 94 hi_log_error("unsupported alg %d\n", alg); in ext_mbedtls_symc_setmode()
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/ |
D | current_module.rules | 4 PRIM_XML_SRC_SUB_DIR:=alg frw hal/hi1131hv100 hcc mac/common mac/hmac mac/dmac oal oam wal
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/include/ |
D | rtw_security.h | 55 #define is_wep_enc(alg) (((alg) == _WEP40_) || ((alg) == _WEP104_)) argument
|
D | rtw_ap.h | 63 u8 rtw_ap_set_sta_key(_adapter *adapter, const u8 *addr, u8 alg, const u8 *key, u8 keyid, u8 gk); 65 int rtw_ap_set_group_key(_adapter *padapter, u8 *key, u8 alg, int keyid);
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/system/upg/ |
D | upg_check_boot_bin.c | 72 hi_u32 upg_check_boot_subk_attr(HI_CONST hi_void *key, hi_u32 alg) in upg_check_boot_subk_attr() argument 93 if (alg == SIGN_ALG_ECC) { in upg_check_boot_subk_attr() 129 hi_u32 upg_check_boot_sub_key(HI_CONST hi_u8 *pubk, HI_CONST hi_u8 *subk, hi_u32 alg) in upg_check_boot_sub_key() argument 132 hi_u32 ret = upg_check_boot_subk_attr(subk, alg); in upg_check_boot_sub_key() 138 if (alg == SIGN_ALG_ECC) { in upg_check_boot_sub_key()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/include/ |
D | hi_cipher_compat.h | 199 hi_cipher_alg alg; /* Cipher algorithm */ member 271 hi_cipher_alg alg; /* Cipher algorithm. */ member
|
/device/soc/hpmicro/sdk/hpm_sdk/drivers/src/ |
D | hpm_sdp_drv.c | 51 sdp_hash_alg_t alg; member 596 hpm_stat_t sdp_hash_init(SDP_Type *base, sdp_hash_ctx_t *hash_ctx, sdp_hash_alg_t alg) in sdp_hash_init() argument 608 ctx_internal->alg = alg; in sdp_hash_init() 664 base->MODCTRL = SDP_MODCTRL_HASALG_SET(ctx_internal->alg); in sdp_hash_internal_update() 772 switch (ctx_internal->alg) { in sdp_hash_finish()
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/os_dep/linux/ |
D | ioctl_cfg80211.c | 1393 param->u.crypt.alg[IEEE_CRYPT_ALG_NAME_LEN - 1] = '\0'; in rtw_cfg80211_ap_set_encryption() 1414 if (strcmp(param->u.crypt.alg, "none") == 0 && (psta == NULL)) { in rtw_cfg80211_ap_set_encryption() 1423 if (strcmp(param->u.crypt.alg, "WEP") == 0 && (psta == NULL)) { in rtw_cfg80211_ap_set_encryption() 1467 if (strcmp(param->u.crypt.alg, "WEP") == 0) { in rtw_cfg80211_ap_set_encryption() 1475 } else if (strcmp(param->u.crypt.alg, "TKIP") == 0) { in rtw_cfg80211_ap_set_encryption() 1485 } else if (strcmp(param->u.crypt.alg, "CCMP") == 0) { in rtw_cfg80211_ap_set_encryption() 1491 } else if (strcmp(param->u.crypt.alg, "GCMP") == 0) { in rtw_cfg80211_ap_set_encryption() 1499 } else if (strcmp(param->u.crypt.alg, "GCMP_256") == 0) { in rtw_cfg80211_ap_set_encryption() 1507 } else if (strcmp(param->u.crypt.alg, "CCMP_256") == 0) { in rtw_cfg80211_ap_set_encryption() 1516 } else if (strcmp(param->u.crypt.alg, "BIP") == 0) { in rtw_cfg80211_ap_set_encryption() [all …]
|
/device/soc/hpmicro/sdk/hpm_sdk/soc/HPM6360/ |
D | hpm_romapi.h | 286 hpm_stat_t (*hash_init)(sdp_hash_ctx_t *hash_ctx, sdp_hash_alg_t alg); 742 static inline hpm_stat_t rom_sdp_hash_init(sdp_hash_ctx_t *hash_ctx, sdp_hash_alg_t alg) in rom_sdp_hash_init() argument 744 return ROM_API_TABLE_ROOT->sdp_driver_if->hash_init(hash_ctx, alg); in rom_sdp_hash_init()
|
/device/soc/hpmicro/sdk/hpm_sdk/soc/HPM6750/ |
D | hpm_romapi.h | 237 hpm_stat_t (*hash_init)(sdp_hash_ctx_t *hash_ctx, sdp_hash_alg_t alg); 677 static inline hpm_stat_t rom_sdp_hash_init(sdp_hash_ctx_t *hash_ctx, sdp_hash_alg_t alg) in rom_sdp_hash_init() argument 679 return ROM_API_TABLE_ROOT->sdp_driver_if->hash_init(hash_ctx, alg); in rom_sdp_hash_init()
|
/device/soc/hpmicro/sdk/hpm_sdk/drivers/inc/ |
D | hpm_sdp_drv.h | 282 hpm_stat_t sdp_hash_init(SDP_Type *base, sdp_hash_ctx_t *hash_ctx, sdp_hash_alg_t alg);
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/osal/ |
D | drv_osal_init_linux.c | 95 status[i].open, status[i].decrypt, status[i].alg, in symc_proc_read()
|