Commit 5dc14e0
crypto: arm/ghash - use the new scatterwalk functions
Use scatterwalk_next() which consolidates scatterwalk_clamp() and
scatterwalk_map(), and use scatterwalk_done_src() which consolidates
scatterwalk_unmap(), scatterwalk_advance(), and scatterwalk_done().
Remove unnecessary code that seemed to be intended to advance to the
next sg entry, which is already handled by the scatterwalk functions.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>1 parent c89edd9 commit 5dc14e0
1 file changed
+4
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
459 | 459 | | |
460 | 460 | | |
461 | 461 | | |
462 | | - | |
463 | | - | |
| 462 | + | |
| 463 | + | |
464 | 464 | | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | | - | |
| 465 | + | |
471 | 466 | | |
472 | | - | |
| 467 | + | |
473 | 468 | | |
474 | 469 | | |
475 | 470 | | |
476 | 471 | | |
477 | 472 | | |
478 | 473 | | |
479 | 474 | | |
480 | | - | |
481 | | - | |
482 | 475 | | |
483 | 476 | | |
484 | 477 | | |
| |||
0 commit comments