Lines Matching refs:alignmask
43 unsigned int alignmask = walk->alignmask; in hash_walk_next() local
51 if (offset & alignmask) { in hash_walk_next()
52 unsigned int unaligned = alignmask + 1 - (offset & alignmask); in hash_walk_next()
81 unsigned int alignmask = walk->alignmask; in crypto_hash_walk_done() local
85 if (walk->entrylen && (walk->offset & alignmask) && !err) { in crypto_hash_walk_done()
88 walk->offset = ALIGN(walk->offset, alignmask + 1); in crypto_hash_walk_done()
129 walk->alignmask = crypto_ahash_alignmask(crypto_ahash_reqtfm(req)); in crypto_hash_walk_first()
140 unsigned long alignmask = crypto_ahash_alignmask(tfm); in ahash_setkey_unaligned() local
145 absize = keylen + alignmask; in ahash_setkey_unaligned()
150 alignbuffer = (u8 *)ALIGN((unsigned long)buffer, alignmask + 1); in ahash_setkey_unaligned()
175 unsigned long alignmask = crypto_ahash_alignmask(tfm); in crypto_ahash_setkey() local
178 if ((unsigned long)key & alignmask) in crypto_ahash_setkey()
202 unsigned long alignmask = crypto_ahash_alignmask(tfm); in ahash_save_req() local
206 priv = kmalloc(sizeof(*priv) + ahash_align_buffer_size(ds, alignmask), in ahash_save_req()
248 req->result = PTR_ALIGN((u8 *)priv->ubuf, alignmask + 1); in ahash_save_req()
332 unsigned long alignmask = crypto_ahash_alignmask(tfm); in crypto_ahash_op() local
334 if ((unsigned long)req->result & alignmask) in crypto_ahash_op()