Lines Matching refs:alignmask
53 unsigned long alignmask = crypto_shash_alignmask(parent); in crypto_cmac_digest_setkey() local
57 (alignmask | (__alignof__(__be64) - 1)) + 1); in crypto_cmac_digest_setkey()
107 unsigned long alignmask = crypto_shash_alignmask(pdesc->tfm); in crypto_cmac_digest_init() local
110 u8 *prev = PTR_ALIGN((void *)ctx->ctx, alignmask + 1) + bs; in crypto_cmac_digest_init()
122 unsigned long alignmask = crypto_shash_alignmask(parent); in crypto_cmac_digest_update() local
127 u8 *odds = PTR_ALIGN((void *)ctx->ctx, alignmask + 1); in crypto_cmac_digest_update()
168 unsigned long alignmask = crypto_shash_alignmask(parent); in crypto_cmac_digest_final() local
174 (alignmask | (__alignof__(__be64) - 1)) + 1); in crypto_cmac_digest_final()
175 u8 *odds = PTR_ALIGN((void *)ctx->ctx, alignmask + 1); in crypto_cmac_digest_final()
228 unsigned long alignmask; in cmac_create() local
260 alignmask = alg->cra_alignmask; in cmac_create()
261 inst->alg.base.cra_alignmask = alignmask; in cmac_create()
268 + (alignmask & ~(crypto_tfm_ctx_alignment() - 1)) in cmac_create()
273 + ((alignmask | (__alignof__(__be64) - 1)) & in cmac_create()