Searched refs:res (Results 1 – 5 of 5) sorted by relevance
| /crypto/ |
| A D | scatterwalk.c | 311 int skcipher_walk_done(struct skcipher_walk *walk, int res) in skcipher_walk_done() argument 319 if (likely(res >= 0)) { in skcipher_walk_done() 320 n -= res; /* subtract num bytes *not* processed */ in skcipher_walk_done() 335 if (res > 0) { in skcipher_walk_done() 342 res = -EINVAL; in skcipher_walk_done() 352 if (res > 0) in skcipher_walk_done() 353 res = 0; in skcipher_walk_done() 379 return res; in skcipher_walk_done()
|
| A D | ecdsa.c | 32 struct ecc_point res = ECC_POINT_INIT(x1, y1, ndigits); in _ecdsa_verify() local 50 ecc_point_mult_shamir(&res, u1, &curve->g, u2, &ctx->pub_key, curve); in _ecdsa_verify() 53 if (unlikely(vli_cmp(res.x, curve->n, ndigits) == 1)) in _ecdsa_verify() 55 vli_sub(res.x, res.x, curve->n, ndigits); in _ecdsa_verify() 57 if (!vli_cmp(res.x, r, ndigits)) in _ecdsa_verify()
|
| A D | crypto_user.c | 213 int res; in crypto_dump_report() local 223 res = crypto_report_alg(alg, &info); in crypto_dump_report() 224 if (res == -EMSGSIZE) in crypto_dump_report() 226 if (res) in crypto_dump_report() 232 res = skb->len; in crypto_dump_report() 235 return res; in crypto_dump_report()
|
| A 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()
|
| A D | ecc.c | 1481 u64 res[ECC_MAX_DIGITS]; in __ecc_is_key_valid() local 1492 vli_sub(res, curve->n, one, ndigits); in __ecc_is_key_valid() 1493 vli_sub(res, res, one, ndigits); in __ecc_is_key_valid() 1494 if (vli_cmp(res, private_key, ndigits) != 1) in __ecc_is_key_valid()
|
Completed in 13 milliseconds