Searched refs:res (Results 1 – 4 of 4) sorted by relevance
/crypto/ |
D | ecdsa.c | 103 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()
|
D | crypto_user_base.c | 230 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()
|
D | lrw.c | 116 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()
|
D | ecc.c | 1417 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()
|