Home
last modified time | relevance | path

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

/linux/include/crypto/internal/
H A 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()
H A 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()
/linux/include/crypto/
H A Dalgapi.h189 if (align <= crypto_tfm_ctx_alignment()) in crypto_tfm_ctx_align()
202 return (crypto_dma_align() - 1) & ~(crypto_tfm_ctx_alignment() - 1); in crypto_dma_padding()
/linux/crypto/
H A Dcts.c303 crypto_tfm_ctx_alignment()) + in crypto_cts_init_tfm()
304 (align & ~(crypto_tfm_ctx_alignment() - 1)) + bsize; in crypto_cts_init_tfm()
H A Dgcm.c542 align &= ~(crypto_tfm_ctx_alignment() - 1); in crypto_gcm_init_tfm()
800 align &= ~(crypto_tfm_ctx_alignment() - 1); in crypto_rfc4106_init_tfm()
804 ALIGN(crypto_aead_reqsize(aead), crypto_tfm_ctx_alignment()) + in crypto_rfc4106_init_tfm()
1007 align &= ~(crypto_tfm_ctx_alignment() - 1); in crypto_rfc4543_init_tfm()
1011 ALIGN(crypto_aead_reqsize(aead), crypto_tfm_ctx_alignment()) + in crypto_rfc4543_init_tfm()
H A Dskcipher.c184 n = bsize + (alignmask & ~(crypto_tfm_ctx_alignment() - 1)); in skcipher_next_slow()
279 (alignmask & ~(crypto_tfm_ctx_alignment() - 1)); in skcipher_copy_iv()
574 reqsize = am & ~(crypto_tfm_ctx_alignment() - 1); in crypto_skcipher_init_tfm()
H A Dccm.c416 align &= ~(crypto_tfm_ctx_alignment() - 1); in crypto_ccm_init_tfm()
681 align &= ~(crypto_tfm_ctx_alignment() - 1); in crypto_rfc4309_init_tfm()
685 ALIGN(crypto_aead_reqsize(aead), crypto_tfm_ctx_alignment()) + in crypto_rfc4309_init_tfm()
H A Dctr.c234 align &= ~(crypto_tfm_ctx_alignment() - 1); in crypto_rfc3686_init_tfm()
H A Dapi.c378 len = alg->cra_alignmask & ~(crypto_tfm_ctx_alignment() - 1); in crypto_ctxsize()
H A Dchacha20poly1305.c524 align &= ~(crypto_tfm_ctx_alignment() - 1); in chachapoly_init()
/linux/include/linux/
H A Dcrypto.h490 static inline unsigned int crypto_tfm_ctx_alignment(void) in crypto_tfm_ctx_alignment() function
/linux/net/ipv4/
H A Dah4.c32 len = ALIGN(len, crypto_tfm_ctx_alignment()); in ah_alloc_tmp()
58 crypto_tfm_ctx_alignment()); in ah_tmp_req()
H A Desp4.c57 ~(crypto_tfm_ctx_alignment() - 1); in esp_alloc_tmp()
58 len = ALIGN(len, crypto_tfm_ctx_alignment()); in esp_alloc_tmp()
86 crypto_tfm_ctx_alignment()); in esp_tmp_req()
/linux/net/ipv6/
H A Dah6.c56 len = ALIGN(len, crypto_tfm_ctx_alignment()); in ah_alloc_tmp()
87 crypto_tfm_ctx_alignment()); in ah_tmp_req()
H A Desp6.c74 ~(crypto_tfm_ctx_alignment() - 1); in esp_alloc_tmp()
75 len = ALIGN(len, crypto_tfm_ctx_alignment()); in esp_alloc_tmp()
103 crypto_tfm_ctx_alignment()); in esp_tmp_req()
/linux/drivers/crypto/
H A Dpadlock-aes.c92 if (align <= crypto_tfm_ctx_alignment()) in aes_ctx_common()
/linux/fs/smb/client/
H A Dsmb2ops.c4188 len += crypto_aead_alignmask(tfm) & ~(crypto_tfm_ctx_alignment() - 1); in smb2_aead_req_alloc()
4189 len = ALIGN(len, crypto_tfm_ctx_alignment()); in smb2_aead_req_alloc()
4201 crypto_tfm_ctx_alignment()); in smb2_aead_req_alloc()
/linux/drivers/crypto/hisilicon/hpre/
H A Dhpre_crypto.c160 return (hpre_align_sz() - 1) & ~(crypto_tfm_ctx_alignment() - 1); in hpre_align_pd()