Lines Matching refs:ndigits
17 unsigned int ndigits;
40 unsigned int ndigits;
46 ndigits = ecdh_supported_curve(params.curve_id);
47 if (!ndigits)
51 ctx->ndigits = ndigits;
54 return ecc_gen_privkey(ctx->curve_id, ctx->ndigits,
59 if (ecc_is_key_valid(ctx->curve_id, ctx->ndigits,
77 nbytes = ctx->ndigits << ECC_DIGITS_TO_BYTES_SHIFT;
104 ret = crypto_ecdh_shared_secret(ctx->curve_id, ctx->ndigits,
110 ret = ecc_make_pub_key(ctx->curve_id, ctx->ndigits,
140 return ctx->ndigits << (ECC_DIGITS_TO_BYTES_SHIFT + 1);