Lines Matching refs:private_key
97 * @private_key: The private key.
102 u64 private_key[KMB_ECC_VLI_MAX_DIGITS];
455 const u64 *private_key, size_t private_key_len)
464 if (!private_key)
468 if (vli_cmp(one, private_key, ndigits) != -1)
473 if (vli_cmp(res, private_key, ndigits) != 1)
554 rc = kmb_ecc_gen_privkey(tctx->curve, tctx->private_key);
563 ecc_swap_digits((const u64 *)params.key, tctx->private_key,
624 rc = kmb_ecc_point_mult(ecc_dev, result, pk, tctx->private_key, curve);
676 rc = kmb_ecc_point_mult(tctx->ecc_dev, pk, &curve->g, tctx->private_key,
813 memzero_explicit(tctx->private_key, sizeof(*tctx->private_key));