commit | 78c2f0b8c285c5305b3e67b0595200541e15eb43 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Mon Oct 22 19:40:16 2007 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Mon Oct 22 19:40:16 2007 +0200 |
tree | 6537a046641e9a3dba3f4735b42d7f04e60e29f8 | |
parent | 9b61764bcb4360e04386f0415a01da8271631004 [diff] [blame] |
[SG] Update crypto/ to sg helpers Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/crypto/hmac.c b/crypto/hmac.c index 8802fb6..e4eb6ac 100644 --- a/crypto/hmac.c +++ b/crypto/hmac.c
@@ -159,7 +159,8 @@ 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);