Searched refs:data_in (Results 1 - 7 of 7) sorted by relevance
| /device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/compat/ |
| H A D | drv_klad.c | 77 hi_void hal_cipher_set_klad_data(const hi_u32 *data_in, hi_u32 data_len_in_word) in hal_cipher_set_klad_data() argument 83 (hi_void)hal_cipher_write_reg(KLAD_REG_DAT_IN + i * WORD_WIDTH, data_in[i]); in hal_cipher_set_klad_data() 196 hi_cipher_ca_type root_key, hi_cipher_klad_target target, const hi_u8 *data_in, hi_u32 key_len) in drv_cipher_klad_load_key() 204 hi_log_chk_param_return(data_in == HI_NULL); in drv_cipher_klad_load_key() 216 if (memcpy_s(key, sizeof(key), data_in + i * AES_BLOCK_SIZE, AES_BLOCK_SIZE) != EOK) { in drv_cipher_klad_load_key() 195 drv_cipher_klad_load_key(hi_u32 chn_id, hi_cipher_ca_type root_key, hi_cipher_klad_target target, const hi_u8 *data_in, hi_u32 key_len) drv_cipher_klad_load_key() argument
|
| H A D | drv_klad.h | 51 hi_void hal_cipher_set_klad_data(const hi_u32 *data_in, hi_u32 data_len_in_word); 59 hi_cipher_ca_type root_key, hi_cipher_klad_target target, const hi_u8 *data_in, hi_u32 key_len);
|
| /device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/extend/ |
| H A D | ext_sm4.c | 95 static hi_u32 mix_r(const hi_u32 data_in, const hi_s32 type) in mix_r() argument 105 sbox_r = ((data_in << (j * BYTE_BITS)) >> 28); /* soft sm4 alg: right shift 28 bits. */ in mix_r() 106 sbox_c = ((data_in << (j * BYTE_BITS + BYTE_4BIT)) >> 28); /* soft sm4 alg: right shift 28 bits. */ in mix_r() 313 static hi_u32 sm4_ecb_rm(const hi_u8 *data_in, in sm4_ecb_rm() argument 321 sm4_ecb_crypt(data_in, data_out, SM4_BLOCK_SIZE, &ctx, decrypt); in sm4_ecb_rm() 323 data_in = data_in + SM4_BLOCK_SIZE; in sm4_ecb_rm() 331 static hi_u32 sm4_cbc_rm(const hi_u8 *data_in, hi_u8 *data_out, hi_s32 data_len, in sm4_cbc_rm() argument 342 sm4_cbc_crypt(data_in, data_out, valid_data_len, &ctx, iv, decrypt); in sm4_cbc_rm() 348 static hi_u32 sm4_ctr_rm(const hi_u8 *data_in, hi_u argument [all...] |
| /device/qemu/SmartL_E802/liteos_m/board/hals/csky_driver/include/ |
| H A D | drv_spi.h | 195 \param[out] data_in Pointer to buffer for data to receive from SPI receiver 200 int32_t csi_spi_transfer(spi_handle_t handle, const void *data_out, void *data_in, uint32_t num_out, uint32_t num_in);
|
| H A D | drv_usart.h | 284 \param[out] data_in Pointer to buffer for data to receive from USART receiver.data_type is : uint8_t for 5..8 data bits, uint16_t for 9 data bits 288 int32_t csi_usart_transfer(usart_handle_t handle, const void *data_out, void *data_in, uint32_t num);
|
| /device/qemu/SmartL_E802/liteos_m/board/hals/csky_driver/src/ |
| H A D | ck_usart.c | 780 \param[out] data_in Pointer to buffer for data to receive from USART receiver 784 int32_t csi_usart_transfer(usart_handle_t handle, const void *data_out, void *data_in, uint32_t num) in csi_usart_transfer() argument
|
| /device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/tde/driver/src/adp/tde_v2_0/ |
| H A D | tde_osictl_k.c | 1785 /* data_in :positive or negetive ; bit:complement width */ 1786 static hi_u32 tde_true_value_to_complement(hi_s32 data_in, hi_u32 bit) in tde_true_value_to_complement() argument 1791 if (data_in >> (bit - 1)) { in tde_true_value_to_complement() 1792 data_in_tmp = 0 - data_in; in tde_true_value_to_complement() 1795 data_out = data_in; in tde_true_value_to_complement() 1801 /* data_in :positive or negetive ; bit:complement width */ 1802 static hi_s32 tde_complement_to_true_value(hi_u32 data_in, hi_u32 bit) in tde_complement_to_true_value() argument 1807 if (data_in >> (bit - 1)) { in tde_complement_to_true_value() 1808 data_in_tmp = data_in & ((1 << (bit - 1)) - 1); in tde_complement_to_true_value() 1811 data_out = data_in; in tde_complement_to_true_value() [all...] |
Completed in 18 milliseconds