HPRE_V2_ALG_TYPE
ret = hpre_ctx_init(ctx, HPRE_V2_ALG_TYPE);
if (type != HPRE_V2_ALG_TYPE && type != HPRE_V3_ECC_ALG_TYPE)