Lines Matching refs:align
88 unsigned long align = crypto_aead_alignmask(crypto_aead_reqtfm(req)); in crypto_gcm_reqctx() local
90 return (void *)PTR_ALIGN((u8 *)aead_request_ctx(req), align + 1); in crypto_gcm_reqctx()
534 unsigned long align; in crypto_gcm_init_tfm() local
549 align = crypto_aead_alignmask(tfm); in crypto_gcm_init_tfm()
550 align &= ~(crypto_tfm_ctx_alignment() - 1); in crypto_gcm_init_tfm()
552 align + offsetof(struct crypto_gcm_req_priv_ctx, u) + in crypto_gcm_init_tfm()
834 unsigned long align; in crypto_rfc4106_init_tfm() local
842 align = crypto_aead_alignmask(aead); in crypto_rfc4106_init_tfm()
843 align &= ~(crypto_tfm_ctx_alignment() - 1); in crypto_rfc4106_init_tfm()
848 align + 24); in crypto_rfc4106_init_tfm()
1055 unsigned long align; in crypto_rfc4543_init_tfm() local
1070 align = crypto_aead_alignmask(aead); in crypto_rfc4543_init_tfm()
1071 align &= ~(crypto_tfm_ctx_alignment() - 1); in crypto_rfc4543_init_tfm()
1076 align + GCM_AES_IV_SIZE); in crypto_rfc4543_init_tfm()