Home
last modified time | relevance | path

Searched refs:res (Results 1 – 4 of 4) sorted by relevance

/crypto/
Decdsa.c103 struct ecc_point res = ECC_POINT_INIT(x1, y1, ndigits); in _ecdsa_verify() local
121 ecc_point_mult_shamir(&res, u1, &curve->g, u2, &ctx->pub_key, curve); in _ecdsa_verify()
124 if (unlikely(vli_cmp(res.x, curve->n, ndigits) == 1)) in _ecdsa_verify()
126 vli_sub(res.x, res.x, curve->n, ndigits); in _ecdsa_verify()
128 if (!vli_cmp(res.x, r, ndigits)) in _ecdsa_verify()
Dcrypto_user_base.c230 int res; in crypto_dump_report() local
240 res = crypto_report_alg(alg, &info); in crypto_dump_report()
241 if (res == -EMSGSIZE) in crypto_dump_report()
243 if (res) in crypto_dump_report()
249 res = skb->len; in crypto_dump_report()
252 return res; in crypto_dump_report()
Dlrw.c116 int i, res = 0; in lrw_next_index() local
120 return res + ffz(counter[i]++); in lrw_next_index()
123 res += 32; in lrw_next_index()
Decc.c1417 u64 res[ECC_MAX_DIGITS]; in __ecc_is_key_valid() local
1428 vli_sub(res, curve->n, one, ndigits); in __ecc_is_key_valid()
1429 vli_sub(res, res, one, ndigits); in __ecc_is_key_valid()
1430 if (vli_cmp(res, private_key, ndigits) != 1) in __ecc_is_key_valid()