Lines Matching refs:buffer
40 u8 buffer[]; member
98 addr = (u8 *)ALIGN((unsigned long)walk->buffer, walk->alignmask + 1); in skcipher_done_slow()
164 if (!((unsigned long)walk->buffer | (unsigned long)walk->page)) in skcipher_walk_done()
172 if (walk->buffer != walk->page) in skcipher_walk_done()
173 kfree(walk->buffer); in skcipher_walk_done()
194 data = PTR_ALIGN(&p->buffer[0], walk->alignmask + 1); in skcipher_walk_complete()
211 if (walk->buffer != walk->page) in skcipher_walk_complete()
212 kfree(walk->buffer); in skcipher_walk_complete()
232 u8 *buffer; in skcipher_next_slow() local
236 if (!walk->buffer) in skcipher_next_slow()
237 walk->buffer = walk->page; in skcipher_next_slow()
238 buffer = walk->buffer; in skcipher_next_slow()
239 if (buffer) in skcipher_next_slow()
267 buffer = p->buffer; in skcipher_next_slow()
269 walk->buffer = v; in skcipher_next_slow()
270 buffer = v; in skcipher_next_slow()
274 walk->dst.virt.addr = PTR_ALIGN(buffer, alignmask + 1); in skcipher_next_slow()
421 walk->buffer = kmalloc(size, skcipher_walk_gfp(walk)); in skcipher_copy_iv()
422 if (!walk->buffer) in skcipher_copy_iv()
425 iv = PTR_ALIGN(walk->buffer, alignmask + 1); in skcipher_copy_iv()
437 walk->buffer = NULL; in skcipher_walk_first()
584 u8 *buffer, *alignbuffer; in skcipher_setkey_unaligned() local
589 buffer = kmalloc(absize, GFP_ATOMIC); in skcipher_setkey_unaligned()
590 if (!buffer) in skcipher_setkey_unaligned()
593 alignbuffer = (u8 *)ALIGN((unsigned long)buffer, alignmask + 1); in skcipher_setkey_unaligned()
596 kfree_sensitive(buffer); in skcipher_setkey_unaligned()