/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/stream_input/parser/demux/sw_demux/ |
D | swdmx_aes_cbc.c | 31 SWDMX_DescAlgo algo; member 48 SWDMX_AesCbcAlgo *algo = (SWDMX_AesCbcAlgo*)p; in aes_cbc_set() local 57 memcpy(algo->odd_key,key,16); in aes_cbc_set() 59 AES_set_decrypt_key(key, 128, &algo->odd); in aes_cbc_set() 66 memcpy(algo->even_key,key,16); in aes_cbc_set() 68 AES_set_decrypt_key(key, 128, &algo->even); in aes_cbc_set() 72 algo->align = SWDMX_PTR2SIZE(param); in aes_cbc_set() 78 memcpy(algo->odd_iv, key, 16); in aes_cbc_set() 83 memcpy(algo->even_iv, key, 16); in aes_cbc_set() 95 aes_cbc_desc_pkt (SWDMX_AesCbcAlgo *algo, SWDMX_Int key_type, SWDMX_UInt8 *iv, SWDMX_TsPacket *pkt,… in aes_cbc_desc_pkt() argument [all …]
|
D | swdmx_aes_ecb.c | 29 SWDMX_DescAlgo algo; member 44 SWDMX_AesEcbAlgo *algo = (SWDMX_AesEcbAlgo*)p; in aes_ecb_set() local 53 memcpy(&algo->odd_key,key,16); in aes_ecb_set() 55 AES_set_decrypt_key(key, 128, &algo->odd); in aes_ecb_set() 62 memcpy(&algo->even_key,key,16); in aes_ecb_set() 64 AES_set_decrypt_key(key, 128, &algo->even); in aes_ecb_set() 68 algo->align = SWDMX_PTR2SIZE(param); in aes_ecb_set() 84 aes_ecb_desc_pkt (SWDMX_AesEcbAlgo *algo, SWDMX_Int key_type, SWDMX_TsPacket *pkt, SWDMX_Int align) in aes_ecb_desc_pkt() argument 109 key = (u8*)&algo->even_key; in aes_ecb_desc_pkt() 111 key = (u8*)&algo->odd_key; in aes_ecb_desc_pkt() [all …]
|
D | swdmx_dvbcsa2.c | 26 SWDMX_DescAlgo algo; member 34 SWDMX_DvbCsa2Algo *algo = (SWDMX_DvbCsa2Algo*)p; in dvbcsa2_set() local 42 dvbcsa_key_set(key, algo->odd_key); in dvbcsa2_set() 47 dvbcsa_key_set(key, algo->even_key); in dvbcsa2_set() 61 SWDMX_DvbCsa2Algo *algo = (SWDMX_DvbCsa2Algo*)p; in dvbcsa2_desc() local 64 dvbcsa_decrypt(algo->even_key, pkt->payload, pkt->payload_len); in dvbcsa2_desc() 66 dvbcsa_decrypt(algo->odd_key, pkt->payload, pkt->payload_len); in dvbcsa2_desc() 78 SWDMX_DvbCsa2Algo *algo = (SWDMX_DvbCsa2Algo*)p; in dvbcsa2_free() local 80 dvbcsa_key_free(algo->odd_key); in dvbcsa2_free() 81 dvbcsa_key_free(algo->even_key); in dvbcsa2_free() [all …]
|
D | swdmx_descrambler.c | 47 chan->algo = NULL; in swdmx_descrambler_alloc_channel() 72 r = ch->algo->desc_fn(ch->algo, pkt); in swdmx_descrambler_ts_packet_cb() 137 SWDMX_DescAlgo *algo) in swdmx_desc_channel_set_algo() argument 139 SWDMX_ASSERT(chan && algo); in swdmx_desc_channel_set_algo() 141 if (chan->algo && chan->algo->free_fn) { in swdmx_desc_channel_set_algo() 142 chan->algo->free_fn(chan->algo); in swdmx_desc_channel_set_algo() 145 chan->algo = algo; in swdmx_desc_channel_set_algo() 173 SWDMX_ASSERT(chan && chan->algo && chan->algo->set_fn); in swdmx_desc_channel_set_param() 175 return chan->algo->set_fn(chan->algo, type, param); in swdmx_desc_channel_set_param() 189 if (!chan->algo) { in swdmx_desc_channel_enable() [all …]
|
D | swdemux.h | 82 SWDMX_DescAlgo *algo, 88 SWDMX_DescAlgo *algo, 93 SWDMX_DescAlgo *algo 303 SWDMX_DescAlgo *algo);
|
D | swdemux_test.c | 122 SWDMX_DescAlgo *algo; in thread_func() local 153 algo = swdmx_aes_cbc_algo_new(); in thread_func() 155 swdmx_desc_channel_set_algo(dch, algo); in thread_func()
|
D | swdemux_internal.h | 75 SWDMX_DescAlgo *algo; /**< Descrambler algorithm functions.*/ member
|
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/stream_input/parser/demux/ |
D | aml_dsc.c | 141 static void _ci_plus_config(int key_endian, int mode, int algo) in _ci_plus_config() argument 150 pr_error("%s mode:%d,alog:%d\n",__FUNCTION__,mode,algo); in _ci_plus_config() 168 if (algo == ALGO_SM4) { in _ci_plus_config() 170 } else if (algo == ALGO_AES){ in _ci_plus_config() 350 int algo = 0; in _hwdsc_set_aes_des_sm4_key() local 376 algo = ALGO_AES; in _hwdsc_set_aes_des_sm4_key() 378 algo = ALGO_SM4; in _hwdsc_set_aes_des_sm4_key() 387 algo = ALGO_AES; in _hwdsc_set_aes_des_sm4_key() 389 algo = ALGO_SM4; in _hwdsc_set_aes_des_sm4_key() 398 algo = ALGO_AES; in _hwdsc_set_aes_des_sm4_key() [all …]
|
D | aml_dsc.h | 50 SWDMX_DescAlgo *algo; member
|
/device/board/isoftstone/yangfan/common/seetafaceengine/opencv2/modules/calib3d/perf/ |
D | perf_pnp.cpp | 22 pnpAlgo algo = get<1>(GetParam()); variable 52 cv::solvePnP(points3d, points2d, intrinsics, distortion, rvec, tvec, false, algo); 67 pnpAlgo algo = get<1>(GetParam()); variable 68 if( algo == SOLVEPNP_P3P ) 104 cv::solvePnP(points3d, points2d, intrinsics, distortion, rvec, tvec, false, algo);
|
/device/soc/st/stm32f4xx/sdk/Drivers/STM32F4xx_HAL_Driver/Src/ |
D | stm32f4xx_hal_cryp.c | 949 uint32_t algo; in HAL_CRYP_Encrypt() local 981 algo = hcryp->Instance->CR & CRYP_CR_ALGOMODE; in HAL_CRYP_Encrypt() 983 switch (algo) in HAL_CRYP_Encrypt() 1054 algo = hcryp->Instance->CR & AES_CR_CHMOD; in HAL_CRYP_Encrypt() 1056 switch (algo) in HAL_CRYP_Encrypt() 1123 uint32_t algo; in HAL_CRYP_Decrypt() local 1155 algo = hcryp->Instance->CR & CRYP_CR_ALGOMODE; in HAL_CRYP_Decrypt() 1157 switch (algo) in HAL_CRYP_Decrypt() 1228 algo = hcryp->Instance->CR & AES_CR_CHMOD; in HAL_CRYP_Decrypt() 1230 switch (algo) in HAL_CRYP_Decrypt() [all …]
|
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/ |
D | wl_iw.c | 256 key->algo = htod32(key->algo); in swap_key_from_BE() 269 key->algo = dtoh32(key->algo); in swap_key_to_BE() 2458 key.algo = CRYPTO_ALGO_WEP1; in wl_iw_set_encode() 2461 key.algo = CRYPTO_ALGO_WEP128; in wl_iw_set_encode() 2465 key.algo = CRYPTO_ALGO_TKIP; in wl_iw_set_encode() 2469 key.algo = CRYPTO_ALGO_AES_CCM; in wl_iw_set_encode() 2751 key.algo = CRYPTO_ALGO_OFF; in wl_iw_set_encodeext() 2755 key.algo = CRYPTO_ALGO_WEP1; in wl_iw_set_encodeext() 2757 key.algo = CRYPTO_ALGO_WEP128; in wl_iw_set_encodeext() 2760 key.algo = CRYPTO_ALGO_TKIP; in wl_iw_set_encodeext() [all …]
|
D | wl_cfgp2p.c | 2178 int algo; in wl_cfgp2p_increase_p2p_bw() local 2184 algo = 0; in wl_cfgp2p_increase_p2p_bw() 2185 ret = wldev_iovar_setbuf(ndev, "mchan_algo", &algo, sizeof(algo), cfg->ioctl_buf, in wl_cfgp2p_increase_p2p_bw() 2192 algo = 1; in wl_cfgp2p_increase_p2p_bw() 2193 ret = wldev_iovar_setbuf(ndev, "mchan_algo", &algo, sizeof(algo), cfg->ioctl_buf, in wl_cfgp2p_increase_p2p_bw() 2199 ret = wldev_iovar_setbuf(ndev, "mchan_bw", &bw, sizeof(algo), cfg->ioctl_buf, in wl_cfgp2p_increase_p2p_bw()
|
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/ |
D | wl_iw.c | 268 key->algo = htod32(key->algo); in swap_key_from_BE() 279 key->algo = dtoh32(key->algo); in swap_key_to_BE() 2387 key.algo = CRYPTO_ALGO_WEP1; in wl_iw_set_encode() 2390 key.algo = CRYPTO_ALGO_WEP128; in wl_iw_set_encode() 2394 key.algo = CRYPTO_ALGO_TKIP; in wl_iw_set_encode() 2398 key.algo = CRYPTO_ALGO_AES_CCM; in wl_iw_set_encode() 2662 key.algo = CRYPTO_ALGO_OFF; in wl_iw_set_encodeext() 2666 key.algo = CRYPTO_ALGO_WEP1; in wl_iw_set_encodeext() 2668 key.algo = CRYPTO_ALGO_WEP128; in wl_iw_set_encodeext() 2672 key.algo = CRYPTO_ALGO_TKIP; in wl_iw_set_encodeext() [all …]
|
D | wl_cfgp2p.c | 2264 int algo; in wl_cfgp2p_increase_p2p_bw() local 2270 algo = 0; in wl_cfgp2p_increase_p2p_bw() 2271 ret = wldev_iovar_setbuf(ndev, "mchan_algo", &algo, sizeof(algo), in wl_cfgp2p_increase_p2p_bw() 2279 algo = 1; in wl_cfgp2p_increase_p2p_bw() 2280 ret = wldev_iovar_setbuf(ndev, "mchan_algo", &algo, sizeof(algo), in wl_cfgp2p_increase_p2p_bw() 2287 ret = wldev_iovar_setbuf(ndev, "mchan_bw", &bw, sizeof(algo), in wl_cfgp2p_increase_p2p_bw()
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/ |
D | wl_cfgp2p.c | 2039 int algo; in wl_cfgp2p_increase_p2p_bw() local 2046 algo = 0; in wl_cfgp2p_increase_p2p_bw() 2047 ret = wldev_iovar_setbuf(ndev, "mchan_algo", &algo, sizeof(algo), cfg->ioctl_buf, in wl_cfgp2p_increase_p2p_bw() 2054 algo = 1; in wl_cfgp2p_increase_p2p_bw() 2055 ret = wldev_iovar_setbuf(ndev, "mchan_algo", &algo, sizeof(algo), cfg->ioctl_buf, in wl_cfgp2p_increase_p2p_bw() 2061 ret = wldev_iovar_setbuf(ndev, "mchan_bw", &bw, sizeof(algo), cfg->ioctl_buf, in wl_cfgp2p_increase_p2p_bw()
|
D | wl_iw.c | 241 key->algo = htod32(key->algo); in swap_key_from_BE() 254 key->algo = dtoh32(key->algo); in swap_key_to_BE() 2502 key.algo = CRYPTO_ALGO_WEP1; in wl_iw_set_encode() 2505 key.algo = CRYPTO_ALGO_WEP128; in wl_iw_set_encode() 2509 key.algo = CRYPTO_ALGO_TKIP; in wl_iw_set_encode() 2513 key.algo = CRYPTO_ALGO_AES_CCM; in wl_iw_set_encode() 2792 key.algo = CRYPTO_ALGO_OFF; in wl_iw_set_encodeext() 2796 key.algo = CRYPTO_ALGO_WEP1; in wl_iw_set_encodeext() 2798 key.algo = CRYPTO_ALGO_WEP128; in wl_iw_set_encodeext() 2801 key.algo = CRYPTO_ALGO_TKIP; in wl_iw_set_encodeext() [all …]
|
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
D | wl_iw.c | 262 key->algo = htod32(key->algo); in swap_key_from_BE() 275 key->algo = dtoh32(key->algo); in swap_key_to_BE() 2475 key.algo = CRYPTO_ALGO_WEP1; in wl_iw_set_encode() 2478 key.algo = CRYPTO_ALGO_WEP128; in wl_iw_set_encode() 2482 key.algo = CRYPTO_ALGO_TKIP; in wl_iw_set_encode() 2486 key.algo = CRYPTO_ALGO_AES_CCM; in wl_iw_set_encode() 2768 key.algo = CRYPTO_ALGO_OFF; in wl_iw_set_encodeext() 2772 key.algo = CRYPTO_ALGO_WEP1; in wl_iw_set_encodeext() 2774 key.algo = CRYPTO_ALGO_WEP128; in wl_iw_set_encodeext() 2777 key.algo = CRYPTO_ALGO_TKIP; in wl_iw_set_encodeext() [all …]
|
D | wl_cfgp2p.c | 2193 int algo; in wl_cfgp2p_increase_p2p_bw() local 2199 algo = 0; in wl_cfgp2p_increase_p2p_bw() 2200 ret = wldev_iovar_setbuf(ndev, "mchan_algo", &algo, sizeof(algo), cfg->ioctl_buf, in wl_cfgp2p_increase_p2p_bw() 2207 algo = 1; in wl_cfgp2p_increase_p2p_bw() 2208 ret = wldev_iovar_setbuf(ndev, "mchan_algo", &algo, sizeof(algo), cfg->ioctl_buf, in wl_cfgp2p_increase_p2p_bw() 2214 ret = wldev_iovar_setbuf(ndev, "mchan_bw", &bw, sizeof(algo), cfg->ioctl_buf, in wl_cfgp2p_increase_p2p_bw()
|
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/stream_input/parser/hw_demux/ |
D | aml_dmx.c | 2092 static void aml_ci_plus_config(int key_endian, int mode, int algo) in aml_ci_plus_config() argument 2101 pr_dbg("%s mode:%d,alog:%d\n",__FUNCTION__,mode,algo); in aml_ci_plus_config() 2119 if (algo == ALGO_SM4) { in aml_ci_plus_config() 2121 } else if (algo == ALGO_AES){ in aml_ci_plus_config() 2267 int algo = 0; in dsc_set_aes_des_sm4_key() local 2293 algo = ALGO_AES; in dsc_set_aes_des_sm4_key() 2295 algo = ALGO_SM4; in dsc_set_aes_des_sm4_key() 2304 algo = ALGO_AES; in dsc_set_aes_des_sm4_key() 2306 algo = ALGO_SM4; in dsc_set_aes_des_sm4_key() 2315 algo = ALGO_AES; in dsc_set_aes_des_sm4_key() [all …]
|
/device/soc/rockchip/common/sdk_linux/include/linux/ |
D | i2c.h | 660 const struct i2c_algorithm *algo; /* the algorithm to access the bus */ member 830 return adap->algo->functionality(adap); in i2c_get_functionality()
|
/device/soc/rockchip/common/sdk_linux/drivers/i2c/ |
D | i2c-core-base.c | 1409 if (!adap->algo) { in i2c_register_adapter() 2104 if (i2c_in_atomic_xfer_mode() && adap->algo->master_xfer_atomic) { in __i2c_transfer() 2105 ret = adap->algo->master_xfer_atomic(adap, msgs, num); in __i2c_transfer() 2107 ret = adap->algo->master_xfer(adap, msgs, num); in __i2c_transfer() 2148 if (!adap->algo->master_xfer) { in i2c_transfer()
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/vin/vin-cci/ |
D | sunxi_cci.c | 263 cci->adap.algo = &sunxi_i2c_algorithm; in cci_probe()
|
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/ |
D | rk3066_hdmi.c | 694 adap->algo = &rk3066_hdmi_algorithm; in rk3066_hdmi_i2c_adapter()
|
D | inno_hdmi.c | 744 adap->algo = &inno_hdmi_algorithm; in inno_hdmi_i2c_adapter()
|