Lines Matching refs:buffer
39 u8 buffer[]; member
97 addr = (u8 *)ALIGN((unsigned long)walk->buffer, walk->alignmask + 1); in skcipher_done_slow()
163 if (!((unsigned long)walk->buffer | (unsigned long)walk->page)) in skcipher_walk_done()
171 if (walk->buffer != walk->page) in skcipher_walk_done()
172 kfree(walk->buffer); in skcipher_walk_done()
193 data = PTR_ALIGN(&p->buffer[0], walk->alignmask + 1); in skcipher_walk_complete()
210 if (walk->buffer != walk->page) in skcipher_walk_complete()
211 kfree(walk->buffer); in skcipher_walk_complete()
231 u8 *buffer; in skcipher_next_slow() local
235 if (!walk->buffer) in skcipher_next_slow()
236 walk->buffer = walk->page; in skcipher_next_slow()
237 buffer = walk->buffer; in skcipher_next_slow()
238 if (buffer) in skcipher_next_slow()
266 buffer = p->buffer; in skcipher_next_slow()
268 walk->buffer = v; in skcipher_next_slow()
269 buffer = v; in skcipher_next_slow()
273 walk->dst.virt.addr = PTR_ALIGN(buffer, alignmask + 1); in skcipher_next_slow()
420 walk->buffer = kmalloc(size, skcipher_walk_gfp(walk)); in skcipher_copy_iv()
421 if (!walk->buffer) in skcipher_copy_iv()
424 iv = PTR_ALIGN(walk->buffer, alignmask + 1); in skcipher_copy_iv()
436 walk->buffer = NULL; in skcipher_walk_first()
802 u8 *buffer, *alignbuffer; in skcipher_setkey_unaligned() local
807 buffer = kmalloc(absize, GFP_ATOMIC); in skcipher_setkey_unaligned()
808 if (!buffer) in skcipher_setkey_unaligned()
811 alignbuffer = (u8 *)ALIGN((unsigned long)buffer, alignmask + 1); in skcipher_setkey_unaligned()
814 kzfree(buffer); in skcipher_setkey_unaligned()