diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2007-10-22 19:40:16 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2007-10-22 19:40:16 +0200 |
commit | 6297497ab9f28fffe561d3c2b4acd9d3c520926d (patch) | |
tree | 4a337f214b49b701c9925ab1dd9dc253f22daa6f /crypto/hmac.c | |
parent | 22e580c71505243109c0ce0bea8e709b2f96d704 (diff) | |
download | linux-crypto-6297497ab9f28fffe561d3c2b4acd9d3c520926d.tar.gz linux-crypto-6297497ab9f28fffe561d3c2b4acd9d3c520926d.zip |
[SG] Update crypto/ to sg helpers
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'crypto/hmac.c')
-rw-r--r-- | crypto/hmac.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/hmac.c b/crypto/hmac.c index 8802fb6d..e4eb6ac5 100644 --- a/crypto/hmac.c +++ b/crypto/hmac.c @@ -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); |