Searched refs:pub_key (Results 1 - 2 of 2) sorted by relevance

/linux-master/crypto/
H A Decrdsa.c43 struct ecc_point pub_key; member in struct:ecrdsa_ctx
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
[all...]
H A Decdsa.c23 struct ecc_point pub_key; member in struct:ecc_ctx
120 /* res = u1*G + u2 * pub_key */
121 ecc_point_mult_shamir(&res, u1, &curve->g, u2, &ctx->pub_key, curve);
212 ctx->pub_key = ECC_POINT_INIT(ctx->x, ctx->y,
245 ecc_swap_digits(digits, ctx->pub_key.x, ndigits);
246 ecc_swap_digits(&digits[ndigits], ctx->pub_key.y, ndigits);
247 ret = ecc_is_pubkey_valid_full(ctx->curve, &ctx->pub_key);
265 return ctx->pub_key.ndigits << ECC_DIGITS_TO_BYTES_SHIFT;

Completed in 113 milliseconds