Home
last modified time | relevance | path

Searched refs:iv_len (Results 1 - 11 of 11) sorted by relevance

/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/hmac/
H A Dhmac_wapi_wpi.c66 hi_u8 iv_len = wpi_key.iv_len; in hmac_wpi_encrypt() local
83 hmac_sms4_crypt(puc_iv, iv_len, (hi_u8 *)aul_iv_out, aul_pr_keyin, WPI_PR_KEYIN_LEN); in hmac_wpi_encrypt()
149 hi_u8 iv_len = wpi_key.iv_len; in hmac_wpi_pmac() local
162 hmac_sms4_crypt(puc_iv, iv_len, (hi_u8 *)aul_mic_tmp, aul_pr_mac_keyin, WPI_PR_KEYIN_LEN); in hmac_wpi_pmac()
H A Dhmac_wapi_wpi.h37 hi_u8 iv_len; member
H A Dhmac_wapi.c563 wpi_key_ek.iv_len = SMS4_PN_LEN; /* iv key len 16 */ in hmac_wapi_decrypt()
597 wpi_key_ck.iv_len = 16; /* iv key len 16 */ in hmac_wapi_decrypt()
673 hmac_wapi->wpi_key_ck.iv_len = SMS4_PN_LEN; /* iv key len 16 */ in hmac_wapi_encrypt_mic()
696 hmac_wapi->wpi_key_ek.iv_len = SMS4_PN_LEN; in hmac_wapi_encrypt_action()
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/mbedtls/include/mbedtls/
H A Dccm.h137 * buffer of at least \p iv_len Bytes.
138 * \param iv_len The length of the nonce in Bytes: 7, 8, 9, 10, 11, 12,
140 * 15 - \p iv_len.
161 const unsigned char *iv, size_t iv_len,
183 * buffer of at least \p iv_len Bytes.
184 * \param iv_len The length of the nonce in Bytes: 7, 8, 9, 10, 11, 12,
186 * 15 - \p iv_len.
209 const unsigned char *iv, size_t iv_len,
222 * buffer of at least \p iv_len Bytes.
223 * \param iv_len Th
[all...]
H A Dgcm.h148 * at least \p iv_len Bytes.
149 * \param iv_len The length of the IV.
174 size_t iv_len,
194 * of at least \p iv_len Bytes.
195 * \param iv_len The length of the IV.
218 size_t iv_len,
234 * at least \p iv_len Bytes.
235 * \param iv_len The length of the IV.
246 size_t iv_len,
H A Dcipher.h608 * must be a readable buffer of at least \p iv_len Bytes.
609 * \param iv_len The IV length for ciphers with variable-size IV.
618 size_t iv_len );
755 * This must be a readable buffer of at least \p iv_len
757 * \param iv_len The IV length for ciphers with variable-size IV.
771 * ciphers, use \p iv = NULL and \p iv_len = 0.
783 const unsigned char *iv, size_t iv_len,
794 * This must be a readable buffer of at least \p iv_len
796 * \param iv_len The IV length for ciphers with variable-size IV.
819 const unsigned char *iv, size_t iv_len,
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/include/
H A Dhi_cipher_compat.h223 hi_u32 iv_len; /* IV length for CCM/GCM, which is an element of {7, 8, 9, 10, 11, 12, 13} member
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/system/upg/
H A Dupg_common.c972 hi_u32 upg_get_aes_info(HI_CONST boot_header *head, hi_u8 *key, hi_u32 key_len, hi_u8 *iv, hi_u32 iv_len) in upg_get_aes_info() argument
979 if ((head == HI_NULL) || (key_len != IV_BYTE_LEN) || (iv_len != IV_BYTE_LEN)) { in upg_get_aes_info()
994 (memcpy_s(iv, iv_len, comk->aes_iv, iv_len) != EOK)) { in upg_get_aes_info()
1034 hi_u32 upg_boot_key_decrypt(hi_u8 *key, hi_u32 key_len, const hi_u8 *iv, hi_u32 iv_len) in upg_boot_key_decrypt() argument
1039 if (iv_len != IV_BYTE_LEN) { in upg_boot_key_decrypt()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/
H A Dkapi_symc.c749 hi_u32 iv_len = 0; in kapi_symc_get_cfg() local
769 ctx->func->getiv(ctx->cryp_ctx, (hi_u8 *)ctrl->iv, &iv_len); in kapi_symc_get_cfg()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/core/
H A Ddrv_symc_v200.c80 hi_u32 iv_len; /* iv length */ member
1044 ctx->iv_len = ivlen; in drv_symc_set_iv()
1123 ctx->entry_in[id].gcm_iv_len = ctx->iv_len - 1; in drv_symc_add_inbuf()
H A Ddrv_symc_v100.c1082 static hi_void drv_symc_add_iv_to_node(symc_hard_context *ctx, hi_u8 *iv, hi_u32 iv_len, hi_u32 *flgs) in drv_symc_add_iv_to_node() argument
1086 crypto_unused(iv_len); in drv_symc_add_iv_to_node()

Completed in 15 milliseconds