Searched refs:align (Results 1 – 7 of 7) sorted by relevance
195 unsigned long align = crypto_skcipher_alignmask(tfm); in crypto_rfc3686_crypt() local197 (void *)PTR_ALIGN((u8 *)skcipher_request_ctx(req), align + 1); in crypto_rfc3686_crypt()224 unsigned long align; in crypto_rfc3686_init_tfm() local233 align = crypto_skcipher_alignmask(tfm); in crypto_rfc3686_init_tfm()234 align &= ~(crypto_tfm_ctx_alignment() - 1); in crypto_rfc3686_init_tfm()235 reqsize = align + sizeof(struct crypto_rfc3686_req_ctx) + in crypto_rfc3686_init_tfm()
87 unsigned long align = crypto_aead_alignmask(crypto_aead_reqtfm(req)); in crypto_gcm_reqctx() local89 return (void *)PTR_ALIGN((u8 *)aead_request_ctx(req), align + 1); in crypto_gcm_reqctx()528 unsigned long align; in crypto_gcm_init_tfm() local543 align = crypto_aead_alignmask(tfm); in crypto_gcm_init_tfm()544 align &= ~(crypto_tfm_ctx_alignment() - 1); in crypto_gcm_init_tfm()546 align + offsetof(struct crypto_gcm_req_priv_ctx, u) + in crypto_gcm_init_tfm()795 unsigned long align; in crypto_rfc4106_init_tfm() local803 align = crypto_aead_alignmask(aead); in crypto_rfc4106_init_tfm()804 align &= ~(crypto_tfm_ctx_alignment() - 1); in crypto_rfc4106_init_tfm()809 align + 24); in crypto_rfc4106_init_tfm()[all …]
64 unsigned long align = crypto_aead_alignmask(crypto_aead_reqtfm(req)); in crypto_ccm_reqctx() local66 return (void *)PTR_ALIGN((u8 *)aead_request_ctx(req), align + 1); in crypto_ccm_reqctx()400 unsigned long align; in crypto_ccm_init_tfm() local415 align = crypto_aead_alignmask(tfm); in crypto_ccm_init_tfm()416 align &= ~(crypto_tfm_ctx_alignment() - 1); in crypto_ccm_init_tfm()419 align + sizeof(struct crypto_ccm_req_priv_ctx) + in crypto_ccm_init_tfm()674 unsigned long align; in crypto_rfc4309_init_tfm() local682 align = crypto_aead_alignmask(aead); in crypto_rfc4309_init_tfm()683 align &= ~(crypto_tfm_ctx_alignment() - 1); in crypto_rfc4309_init_tfm()688 align + 32); in crypto_rfc4309_init_tfm()
23 .align 2
291 unsigned align; in crypto_cts_init_tfm() local299 align = crypto_skcipher_alignmask(tfm); in crypto_cts_init_tfm()304 (align & ~(crypto_tfm_ctx_alignment() - 1)) + bsize; in crypto_cts_init_tfm()
28 static inline void *align_ptr(void *p, unsigned int align) in align_ptr() argument30 return (void *)ALIGN((unsigned long)p, align); in align_ptr()
507 unsigned long align; in chachapoly_init() local523 align = crypto_aead_alignmask(tfm); in chachapoly_init()524 align &= ~(crypto_tfm_ctx_alignment() - 1); in chachapoly_init()527 align + offsetof(struct chachapoly_req_ctx, u) + in chachapoly_init()