Home
last modified time | relevance | path

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

12

/Linux-v6.6/include/crypto/internal/
Dakcipher.h40 if (align <= crypto_tfm_ctx_alignment()) in akcipher_request_ctx_dma()
55 reqsize += crypto_dma_align() & ~(crypto_tfm_ctx_alignment() - 1); in akcipher_set_reqsize_dma()
Dkpp.h57 if (align <= crypto_tfm_ctx_alignment()) in kpp_request_ctx_dma()
72 reqsize += crypto_dma_align() & ~(crypto_tfm_ctx_alignment() - 1); in kpp_set_reqsize_dma()
Daead.h77 if (align <= crypto_tfm_ctx_alignment()) in aead_request_ctx_dma()
129 reqsize += crypto_dma_align() & ~(crypto_tfm_ctx_alignment() - 1); in crypto_aead_set_reqsize_dma()
Dskcipher.h136 reqsize += crypto_dma_align() & ~(crypto_tfm_ctx_alignment() - 1); in crypto_skcipher_set_reqsize_dma()
183 if (align <= crypto_tfm_ctx_alignment()) in skcipher_request_ctx_dma()
Dhash.h173 reqsize += crypto_dma_align() & ~(crypto_tfm_ctx_alignment() - 1); in crypto_ahash_set_reqsize_dma()
204 if (align <= crypto_tfm_ctx_alignment()) in ahash_request_ctx_dma()
/Linux-v6.6/crypto/
Dcmac.c283 ALIGN(sizeof(struct cmac_desc_ctx), crypto_tfm_ctx_alignment()) in cmac_create()
284 + (alignmask & ~(crypto_tfm_ctx_alignment() - 1)) in cmac_create()
288 ALIGN(sizeof(struct cmac_tfm_ctx), crypto_tfm_ctx_alignment()) in cmac_create()
290 ~(crypto_tfm_ctx_alignment() - 1)) in cmac_create()
Dhmac.c38 crypto_tfm_ctx_alignment()); in hmac_ctx()
50 crypto_tfm_ctx_alignment()); in hmac_setkey()
235 ALIGN(ss * 2, crypto_tfm_ctx_alignment()); in hmac_create()
Dxcbc.c228 crypto_tfm_ctx_alignment()) + in xcbc_create()
230 ~(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.c542 align &= ~(crypto_tfm_ctx_alignment() - 1); in crypto_gcm_init_tfm()
802 align &= ~(crypto_tfm_ctx_alignment() - 1); in crypto_rfc4106_init_tfm()
806 ALIGN(crypto_aead_reqsize(aead), crypto_tfm_ctx_alignment()) + in crypto_rfc4106_init_tfm()
1009 align &= ~(crypto_tfm_ctx_alignment() - 1); in crypto_rfc4543_init_tfm()
1013 ALIGN(crypto_aead_reqsize(aead), crypto_tfm_ctx_alignment()) + in crypto_rfc4543_init_tfm()
Dahash.c201 reqsize = ALIGN(reqsize, crypto_tfm_ctx_alignment()); in ahash_save_req()
204 subreq_size += alignmask & ~(crypto_tfm_ctx_alignment() - 1); in ahash_save_req()
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.c234 align &= ~(crypto_tfm_ctx_alignment() - 1); in crypto_rfc3686_init_tfm()
Dskcipher.c262 a = crypto_tfm_ctx_alignment() - 1; in skcipher_next_slow()
417 unsigned a = crypto_tfm_ctx_alignment() - 1; in skcipher_copy_iv()
Dapi.c361 len = alg->cra_alignmask & ~(crypto_tfm_ctx_alignment() - 1); in crypto_ctxsize()
Dshash.c50 absize = keylen + (alignmask & ~(crypto_tfm_ctx_alignment() - 1)); in shash_setkey_unaligned()
/Linux-v6.6/include/crypto/
Dalgapi.h192 if (align <= crypto_tfm_ctx_alignment()) in crypto_tfm_ctx_align()
210 return (crypto_dma_align() - 1) & ~(crypto_tfm_ctx_alignment() - 1); in crypto_dma_padding()
/Linux-v6.6/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-v6.6/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-v6.6/include/linux/
Dcrypto.h490 static inline unsigned int crypto_tfm_ctx_alignment(void) in crypto_tfm_ctx_alignment() function
/Linux-v6.6/arch/x86/crypto/
Daesni-intel_glue.c206 if (align <= crypto_tfm_ctx_alignment()) in aesni_rfc4106_gcm_ctx_get()
216 if (align <= crypto_tfm_ctx_alignment()) in generic_gcmaes_ctx_get()
227 if (align <= crypto_tfm_ctx_alignment()) in aes_ctx()
/Linux-v6.6/drivers/crypto/
Dpadlock-aes.c92 if (align <= crypto_tfm_ctx_alignment()) in aes_ctx_common()
/Linux-v6.6/net/tipc/
Dcrypto.c699 len += crypto_aead_alignmask(tfm) & ~(crypto_tfm_ctx_alignment() - 1); in tipc_aead_mem_alloc()
700 len = ALIGN(len, crypto_tfm_ctx_alignment()); in tipc_aead_mem_alloc()
712 crypto_tfm_ctx_alignment()); in tipc_aead_mem_alloc()

12