Home
last modified time | relevance | path

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

/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/crypto/
Dcryp_rsa.c54 static hi_u32 g_rsa_key_ca_type = HI_CIPHER_KEY_SRC_USER;
245 if (g_rsa_key_ca_type != HI_CIPHER_KEY_SRC_USER) { in mbedtls_mpi_exp_mod()
253 if (g_rsa_key_ca_type != HI_CIPHER_KEY_SRC_USER) { in mbedtls_mpi_exp_mod()
990 hi_log_chk_param_return(key->ca_type != HI_CIPHER_KEY_SRC_USER); in cryp_rsa_verify_hash()
1081 ret = drv_ifep_rsa_exp_mod(HI_CIPHER_KEY_SRC_USER, in cryp_rsa_bn_exp_mod()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/include/
Dhi_cipher_compat.h98 HI_CIPHER_KEY_SRC_USER = 0x0, /* User Key. */ enumerator
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/
Dkapi_dispatch.c324 hi_log_chk_param_return(key->ca_type != HI_CIPHER_KEY_SRC_USER); in rsa_pub_alloc()
406 …if ((key->ca_type == HI_CIPHER_KEY_SRC_USER) && ((key->n[klen - BOUND_VAL_1] & CRYPTO_NUM_1) == 0)… in rsa_private_get_cfg()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/core/
Ddrv_ifep_rsa_v100.c359 if (ca_type != HI_CIPHER_KEY_SRC_USER) { in drv_rsa_set_key()