Searched refs:AES_IV_SIZE (Results 1 – 8 of 8) sorted by relevance
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/extend/ |
D | ext_sm4.c | 87 hi_u8 iv[AES_IV_SIZE]; 246 if (memcpy_s((hi_void *)ivec, AES_IV_SIZE, out, SM4_BLOCK_SIZE) != EOK) { in sm4_cbc_crypt() 447 if (memcpy_s(symc->iv, AES_IV_SIZE, iv, ivlen) != EOK) { in ext_sm4_setiv() 466 if (memcpy_s(iv, AES_IV_SIZE, symc->iv, sizeof(symc->iv)) != EOK) { in ext_sm4_getiv() 470 *ivlen = AES_IV_SIZE; in ext_sm4_getiv()
|
D | ext_aead.c | 32 hi_u32 iv[AES_IV_SIZE / WORD_WIDTH]; /* symc IV */ 85 hi_log_chk_param_return(ivlen > AES_IV_SIZE); in ext_mbedtls_aead_setiv() 88 if (memcpy_s(aead->iv, AES_IV_SIZE, iv, ivlen) != EOK) { in ext_mbedtls_aead_setiv()
|
D | ext_symc.c | 136 hi_log_chk_param_return(ivlen > AES_IV_SIZE); in ext_mbedtls_symc_setiv() 155 if (memcpy_s(iv, AES_IV_SIZE, symc->cipher.iv, symc->cipher.iv_size) != EOK) { in ext_mbedtls_symc_getiv()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/core/include/ |
D | drv_symc.h | 176 char iv[AES_IV_SIZE * MUL_VAL_2 + BOUND_VAL_1]; 231 hi_u32 iv[AES_IV_SIZE / WORD_WIDTH]; /* symc IV */
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/include/ |
D | drv_cipher_kapi.h | 158 #define AES_IV_SIZE 16 macro 255 hi_u8 iv[AES_IV_SIZE]; /* IV buffer */
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/crypto/ |
D | cryp_symc.c | 207 if (memcpy_s(hisi_ctx->iv, AES_IV_SIZE, iv, ivlen) != EOK) { in cryp_symc_setiv() 228 if (memcpy_s(iv, AES_IV_SIZE, hisi_ctx->iv, hisi_ctx->ivlen) != EOK) { in cryp_symc_getiv() 737 hi_u8 ccm_iv[AES_IV_SIZE] = {0}; in cryp_aead_ccm_setiv() 1496 if (ivlen > AES_IV_SIZE) { in cryp_symc_setiv_default()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/ |
D | kapi_symc.c | 616 if (cfg->ivlen > AES_IV_SIZE) { in kapi_symc_cpy_key_iv() 621 if (memcpy_s(ctx->ctrl.iv, AES_IV_SIZE, cfg->iv, cfg->ivlen) != EOK) { in kapi_symc_cpy_key_iv()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/core/ |
D | drv_symc_v200.c | 51 hi_u32 iv[AES_IV_SIZE / WORD_WIDTH]; /* symc IV */
|