Home
last modified time | relevance | path

Searched refs:SM4_KEY_SIZE (Results 1 – 4 of 4) sorted by relevance

/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/extend/
Dext_sm4.c85 hi_u8 key[SM4_KEY_SIZE]; /* sm4 even round keys, default */
134 hi_u32 k_temp[SM4_KEY_SIZE / WORD_WIDTH] = {0}; in sm4_set_encrypt_key()
147 for (i = 0; i < SM4_KEY_SIZE / WORD_WIDTH; i++) { in sm4_set_encrypt_key()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/core/include/
Ddrv_symc.h83 #define SM4_KEY_SIZE 16 macro
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/crypto/
Dcryp_symc.c1479 cryp_symc_setkey(ctx, fkey, SM4_KEY_SIZE, HI_FALSE); in cryp_sm4_setkey()
1481 *hisi_klen = SM4_KEY_SIZE; in cryp_sm4_setkey()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/core/
Ddrv_symc_v200.c1821 status[chnnel_id].klen = SM4_KEY_SIZE; in drv_symc_proc_status_set_key_len()