Lines Matching refs:bignum_default
15 static struct rt_hwcrypto_ctx *bignum_default; variable
21 if (bignum_default) in hwcrypto_bignum_dev_is_init()
40 if (bignum_default) in rt_hwcrypto_bignum_default()
42 rt_hwcrypto_ctx_destroy(bignum_default); in rt_hwcrypto_bignum_default()
43 bignum_default = RT_NULL; in rt_hwcrypto_bignum_default()
49 …bignum_default = rt_hwcrypto_ctx_create(device, HWCRYPTO_TYPE_BIGNUM, sizeof(struct hwcrypto_bignu… in rt_hwcrypto_bignum_default()
50 if (bignum_default == RT_NULL) in rt_hwcrypto_bignum_default()
202 bignum_ctx = (struct hwcrypto_bignum *)bignum_default; in rt_hwcrypto_bignum_add()
229 bignum_ctx = (struct hwcrypto_bignum *)bignum_default; in rt_hwcrypto_bignum_sub()
256 bignum_ctx = (struct hwcrypto_bignum *)bignum_default; in rt_hwcrypto_bignum_mul()
284 bignum_ctx = (struct hwcrypto_bignum *)bignum_default; in rt_hwcrypto_bignum_mulmod()
312 bignum_ctx = (struct hwcrypto_bignum *)bignum_default; in rt_hwcrypto_bignum_exptmod()