Lines Matching refs:alignmask
46 unsigned long alignmask = crypto_shash_alignmask(tfm); in shash_setkey_unaligned() local
51 absize = keylen + (alignmask & ~(crypto_tfm_ctx_alignment() - 1)); in shash_setkey_unaligned()
56 alignbuffer = (u8 *)ALIGN((unsigned long)buffer, alignmask + 1); in shash_setkey_unaligned()
73 unsigned long alignmask = crypto_shash_alignmask(tfm); in crypto_shash_setkey() local
76 if ((unsigned long)key & alignmask) in crypto_shash_setkey()
96 unsigned long alignmask = crypto_shash_alignmask(tfm); in shash_update_unaligned() local
97 unsigned int unaligned_len = alignmask + 1 - in shash_update_unaligned()
98 ((unsigned long)data & alignmask); in shash_update_unaligned()
104 u8 *buf = PTR_ALIGN(&ubuf[0], alignmask + 1); in shash_update_unaligned()
126 unsigned long alignmask = crypto_shash_alignmask(tfm); in crypto_shash_update() local
128 if ((unsigned long)data & alignmask) in crypto_shash_update()
138 unsigned long alignmask = crypto_shash_alignmask(tfm); in shash_final_unaligned() local
146 u8 *buf = PTR_ALIGN(&ubuf[0], alignmask + 1); in shash_final_unaligned()
167 unsigned long alignmask = crypto_shash_alignmask(tfm); in crypto_shash_final() local
169 if ((unsigned long)out & alignmask) in crypto_shash_final()
188 unsigned long alignmask = crypto_shash_alignmask(tfm); in crypto_shash_finup() local
190 if (((unsigned long)data | (unsigned long)out) & alignmask) in crypto_shash_finup()
209 unsigned long alignmask = crypto_shash_alignmask(tfm); in crypto_shash_digest() local
214 if (((unsigned long)data | (unsigned long)out) & alignmask) in crypto_shash_digest()