Lines Matching refs:buf
72 u8 *buf = shash_desc_ctx(desc); in __crypto_shash_init() local
74 buf += crypto_shash_descsize(tfm) - 1; in __crypto_shash_init()
75 *buf = 0; in __crypto_shash_init()
118 u8 *buf; in crypto_shash_finup() local
137 buf = blenp - bs; in crypto_shash_finup()
147 memcpy(buf + *blenp, data, bs - *blenp); in crypto_shash_finup()
149 src = buf; in crypto_shash_finup()
162 memcpy(buf + *blenp, data, len); in crypto_shash_finup()
166 data = buf; in crypto_shash_finup()
211 u8 *buf = shash_desc_ctx(desc); in __crypto_shash_export() local
219 memcpy(out, buf, ss); in __crypto_shash_export()
241 u8 *buf = shash_desc_ctx(desc); in crypto_shash_export() local
243 memcpy(out + ss - plen, buf + descsize - plen, plen); in crypto_shash_export()
255 u8 *buf = shash_desc_ctx(desc); in __crypto_shash_import() local
265 buf[descsize - 1] = 0; in __crypto_shash_import()
268 memcpy(buf, in, ss); in __crypto_shash_import()
292 u8 *buf = shash_desc_ctx(desc); in crypto_shash_import() local
294 memcpy(buf + descsize - plen, in + ss - plen, plen); in crypto_shash_import()
295 if (buf[descsize - 1] >= plen) in crypto_shash_import()