Searched refs:bignum_ctx (Results 1 – 2 of 2) sorted by relevance
| /components/drivers/hwcrypto/ |
| A D | hw_bignum.c | 196 struct hwcrypto_bignum *bignum_ctx; in rt_hwcrypto_bignum_add() local 203 if (bignum_ctx->ops->add) in rt_hwcrypto_bignum_add() 205 return bignum_ctx->ops->add(bignum_ctx, x, a, b); in rt_hwcrypto_bignum_add() 230 if (bignum_ctx->ops->sub) in rt_hwcrypto_bignum_sub() 232 return bignum_ctx->ops->sub(bignum_ctx, x, a, b); in rt_hwcrypto_bignum_sub() 257 if (bignum_ctx->ops->mul) in rt_hwcrypto_bignum_mul() 259 return bignum_ctx->ops->mul(bignum_ctx, x, a, b); in rt_hwcrypto_bignum_mul() 285 if (bignum_ctx->ops->mulmod) in rt_hwcrypto_bignum_mulmod() 287 return bignum_ctx->ops->mulmod(bignum_ctx, x, a, b, c); in rt_hwcrypto_bignum_mulmod() 313 if (bignum_ctx->ops->exptmod) in rt_hwcrypto_bignum_exptmod() [all …]
|
| A D | hw_bignum.h | 32 rt_err_t (*add)(struct hwcrypto_bignum *bignum_ctx, 36 rt_err_t (*sub)(struct hwcrypto_bignum *bignum_ctx, 40 rt_err_t (*mul)(struct hwcrypto_bignum *bignum_ctx, 44 rt_err_t (*mulmod)(struct hwcrypto_bignum *bignum_ctx, 49 rt_err_t (*exptmod)(struct hwcrypto_bignum *bignum_ctx,
|
Completed in 4 milliseconds