Lines Matching refs:pub_key
43 struct ecc_point pub_key;
44 u64 _pubp[2][ECRDSA_MAX_DIGITS]; /* point storage for @pub_key */
95 !ctx->pub_key.x ||
98 ctx->pub_key.ndigits != ctx->curve->g.ndigits ||
138 ecc_point_mult_shamir(&cc, z1, &ctx->curve->g, z2, &ctx->pub_key,
241 ctx->pub_key = ECC_POINT_INIT(ctx->_pubp[0], ctx->_pubp[1], ndigits);
242 vli_from_le64(ctx->pub_key.x, ctx->key, ndigits);
243 vli_from_le64(ctx->pub_key.y, ctx->key + ndigits * sizeof(u64),
246 if (ecc_is_pubkey_valid_partial(ctx->curve, &ctx->pub_key))
260 return ctx->pub_key.ndigits * sizeof(u64);