Searched refs:HI_CIPHER_KEY_SRC_USER (Results 1 – 4 of 4) sorted by relevance
54 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()
98 HI_CIPHER_KEY_SRC_USER = 0x0, /* User Key. */ enumerator
324 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()
359 if (ca_type != HI_CIPHER_KEY_SRC_USER) { in drv_rsa_set_key()