Home
last modified time | relevance | path

Searched refs:crypto_tfm_ctx_alignment (Results 1 – 21 of 21) sorted by relevance

/Linux-v5.10/crypto/
Dcmac.c266 ALIGN(sizeof(struct cmac_desc_ctx), crypto_tfm_ctx_alignment()) in cmac_create()
267 + (alignmask & ~(crypto_tfm_ctx_alignment() - 1)) in cmac_create()
271 ALIGN(sizeof(struct cmac_tfm_ctx), crypto_tfm_ctx_alignment()) in cmac_create()
273 ~(crypto_tfm_ctx_alignment() - 1)) in cmac_create()
Dhmac.c37 crypto_tfm_ctx_alignment()); in hmac_ctx()
49 crypto_tfm_ctx_alignment()); in hmac_setkey()
216 ALIGN(ss * 2, crypto_tfm_ctx_alignment()); in hmac_create()
Dxcbc.c227 crypto_tfm_ctx_alignment()) + in xcbc_create()
229 ~(crypto_tfm_ctx_alignment() - 1)) + in xcbc_create()
Dcts.c303 crypto_tfm_ctx_alignment()) + in crypto_cts_init_tfm()
304 (align & ~(crypto_tfm_ctx_alignment() - 1)) + bsize; in crypto_cts_init_tfm()
Dgcm.c544 align &= ~(crypto_tfm_ctx_alignment() - 1); in crypto_gcm_init_tfm()
804 align &= ~(crypto_tfm_ctx_alignment() - 1); in crypto_rfc4106_init_tfm()
808 ALIGN(crypto_aead_reqsize(aead), crypto_tfm_ctx_alignment()) + in crypto_rfc4106_init_tfm()
1011 align &= ~(crypto_tfm_ctx_alignment() - 1); in crypto_rfc4543_init_tfm()
1015 ALIGN(crypto_aead_reqsize(aead), crypto_tfm_ctx_alignment()) + in crypto_rfc4543_init_tfm()
Dccm.c415 align &= ~(crypto_tfm_ctx_alignment() - 1); in crypto_ccm_init_tfm()
682 align &= ~(crypto_tfm_ctx_alignment() - 1); in crypto_rfc4309_init_tfm()
686 ALIGN(crypto_aead_reqsize(aead), crypto_tfm_ctx_alignment()) + in crypto_rfc4309_init_tfm()
Dctr.c233 align &= ~(crypto_tfm_ctx_alignment() - 1); in crypto_rfc3686_init_tfm()
Dskcipher.c243 a = crypto_tfm_ctx_alignment() - 1; in skcipher_next_slow()
398 unsigned a = crypto_tfm_ctx_alignment() - 1; in skcipher_copy_iv()
Dapi.c316 len = alg->cra_alignmask & ~(crypto_tfm_ctx_alignment() - 1); in crypto_ctxsize()
Dshash.c39 absize = keylen + (alignmask & ~(crypto_tfm_ctx_alignment() - 1)); in shash_setkey_unaligned()
Dahash.c196 return len + (mask & ~(crypto_tfm_ctx_alignment() - 1)); in ahash_align_buffer_size()
Dchacha20poly1305.c524 align &= ~(crypto_tfm_ctx_alignment() - 1); in chachapoly_init()
Dalgapi.c1050 (alg->cra_alignmask & ~(crypto_tfm_ctx_alignment() - 1)); in crypto_alg_extsize()
/Linux-v5.10/net/ipv4/
Dah4.c32 ~(crypto_tfm_ctx_alignment() - 1)); in ah_alloc_tmp()
34 len = ALIGN(len, crypto_tfm_ctx_alignment()); in ah_alloc_tmp()
61 crypto_tfm_ctx_alignment()); in ah_tmp_req()
Desp4.c56 ~(crypto_tfm_ctx_alignment() - 1); in esp_alloc_tmp()
57 len = ALIGN(len, crypto_tfm_ctx_alignment()); in esp_alloc_tmp()
85 crypto_tfm_ctx_alignment()); in esp_tmp_req()
/Linux-v5.10/net/ipv6/
Dah6.c56 ~(crypto_tfm_ctx_alignment() - 1)); in ah_alloc_tmp()
58 len = ALIGN(len, crypto_tfm_ctx_alignment()); in ah_alloc_tmp()
90 crypto_tfm_ctx_alignment()); in ah_tmp_req()
Desp6.c73 ~(crypto_tfm_ctx_alignment() - 1); in esp_alloc_tmp()
74 len = ALIGN(len, crypto_tfm_ctx_alignment()); in esp_alloc_tmp()
102 crypto_tfm_ctx_alignment()); in esp_tmp_req()
/Linux-v5.10/arch/x86/crypto/
Daesni-intel_glue.c283 if (align <= crypto_tfm_ctx_alignment()) in aesni_rfc4106_gcm_ctx_get()
293 if (align <= crypto_tfm_ctx_alignment()) in generic_gcmaes_ctx_get()
304 if (align <= crypto_tfm_ctx_alignment()) in aes_ctx()
/Linux-v5.10/include/linux/
Dcrypto.h740 static inline unsigned int crypto_tfm_ctx_alignment(void) in crypto_tfm_ctx_alignment() function
/Linux-v5.10/drivers/crypto/
Dpadlock-aes.c92 if (align <= crypto_tfm_ctx_alignment()) in aes_ctx_common()
/Linux-v5.10/net/tipc/
Dcrypto.c688 len += crypto_aead_alignmask(tfm) & ~(crypto_tfm_ctx_alignment() - 1); in tipc_aead_mem_alloc()
689 len = ALIGN(len, crypto_tfm_ctx_alignment()); in tipc_aead_mem_alloc()
701 crypto_tfm_ctx_alignment()); in tipc_aead_mem_alloc()