Lines Matching refs:alignmask
29 unsigned int alignmask = walk->alignmask; in hash_walk_next() local
37 if (offset & alignmask) in hash_walk_next()
38 nbytes = alignmask + 1 - (offset & alignmask); in hash_walk_next()
62 unsigned int alignmask = walk->alignmask; in crypto_hash_walk_done() local
67 if (nbytes && walk->offset & alignmask && !err) { in crypto_hash_walk_done()
68 walk->offset += alignmask - 1; in crypto_hash_walk_done()
69 walk->offset = ALIGN(walk->offset, alignmask + 1); in crypto_hash_walk_done()
107 walk->alignmask = crypto_ahash_alignmask(crypto_ahash_reqtfm(req)); in crypto_hash_walk_first()
124 walk->alignmask = crypto_hash_alignmask(hdesc->tfm); in crypto_hash_walk_first_compat()
135 unsigned long alignmask = crypto_ahash_alignmask(tfm); in ahash_setkey_unaligned() local
140 absize = keylen + alignmask; in ahash_setkey_unaligned()
145 alignbuffer = (u8 *)ALIGN((unsigned long)buffer, alignmask + 1); in ahash_setkey_unaligned()
157 unsigned long alignmask = crypto_ahash_alignmask(tfm); in ahash_setkey() local
159 if ((unsigned long)key & alignmask) in ahash_setkey()