Lines Matching refs:buf
382 u8 *buf = ahash_request_ctx(req); in crypto_ahash_init() local
384 buf += crypto_ahash_reqsize(tfm) - 1; in crypto_ahash_init()
385 *buf = 0; in crypto_ahash_init()
412 u8 *buf; in ahash_update_finish() local
416 buf = blenp - bs; in ahash_update_finish()
428 memcpy(buf, req->svirt + req->nbytes - blen, blen); in ahash_update_finish()
430 memcpy_from_sglist(buf, req->src, req->nbytes - blen, blen); in ahash_update_finish()
450 u8 *buf; in crypto_ahash_update() local
461 buf = blenp - bs; in crypto_ahash_update()
465 memcpy(buf + blen, req->svirt, req->nbytes); in crypto_ahash_update()
467 memcpy_from_sglist(buf + blen, req->src, 0, in crypto_ahash_update()
476 sg_set_buf(req->sg_head, buf, blen); in crypto_ahash_update()
530 u8 *buf; in crypto_ahash_finup() local
543 buf = blenp - bs; in crypto_ahash_finup()
547 sg_set_buf(req->sg_head, buf, blen); in crypto_ahash_finup()
647 u8 *buf = ahash_request_ctx(req); in crypto_ahash_export() local
649 memcpy(out + ss - plen, buf + reqsize - plen, plen); in crypto_ahash_export()
678 u8 *buf = ahash_request_ctx(req); in crypto_ahash_import() local
680 buf[reqsize - 1] = 0; in crypto_ahash_import()