mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
[SG] Update crypto/ to sg helpers
Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
9b61764bcb
commit
78c2f0b8c2
6 changed files with 10 additions and 9 deletions
|
|
@ -159,7 +159,8 @@ static int hmac_digest(struct hash_desc *pdesc, struct scatterlist *sg,
|
|||
desc.flags = pdesc->flags & CRYPTO_TFM_REQ_MAY_SLEEP;
|
||||
|
||||
sg_set_buf(sg1, ipad, bs);
|
||||
sg1[1].page = (void *)sg;
|
||||
|
||||
sg_set_page(&sg[1], (void *) sg);
|
||||
sg1[1].length = 0;
|
||||
sg_set_buf(sg2, opad, bs + ds);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue