Searched refs:crypto_tfm_ctx_alignment (Results 1 – 22 of 22) sorted by relevance
/linux-6.1.9/crypto/ |
D | cmac.c | 267 ALIGN(sizeof(struct cmac_desc_ctx), crypto_tfm_ctx_alignment()) in cmac_create() 268 + (alignmask & ~(crypto_tfm_ctx_alignment() - 1)) in cmac_create() 272 ALIGN(sizeof(struct cmac_tfm_ctx), crypto_tfm_ctx_alignment()) in cmac_create() 274 ~(crypto_tfm_ctx_alignment() - 1)) in cmac_create()
|
D | hmac.c | 38 crypto_tfm_ctx_alignment()); in hmac_ctx() 50 crypto_tfm_ctx_alignment()); in hmac_setkey() 220 ALIGN(ss * 2, crypto_tfm_ctx_alignment()); in hmac_create()
|
D | xcbc.c | 228 crypto_tfm_ctx_alignment()) + in xcbc_create() 230 ~(crypto_tfm_ctx_alignment() - 1)) + in xcbc_create()
|
D | cts.c | 303 crypto_tfm_ctx_alignment()) + in crypto_cts_init_tfm() 304 (align & ~(crypto_tfm_ctx_alignment() - 1)) + bsize; in crypto_cts_init_tfm()
|
D | gcm.c | 544 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()
|
D | ccm.c | 416 align &= ~(crypto_tfm_ctx_alignment() - 1); in crypto_ccm_init_tfm() 683 align &= ~(crypto_tfm_ctx_alignment() - 1); in crypto_rfc4309_init_tfm() 687 ALIGN(crypto_aead_reqsize(aead), crypto_tfm_ctx_alignment()) + in crypto_rfc4309_init_tfm()
|
D | ctr.c | 234 align &= ~(crypto_tfm_ctx_alignment() - 1); in crypto_rfc3686_init_tfm()
|
D | skcipher.c | 244 a = crypto_tfm_ctx_alignment() - 1; in skcipher_next_slow() 399 unsigned a = crypto_tfm_ctx_alignment() - 1; in skcipher_copy_iv()
|
D | api.c | 371 len = alg->cra_alignmask & ~(crypto_tfm_ctx_alignment() - 1); in crypto_ctxsize()
|
D | shash.c | 51 absize = keylen + (alignmask & ~(crypto_tfm_ctx_alignment() - 1)); in shash_setkey_unaligned()
|
D | ahash.c | 196 return len + (mask & ~(crypto_tfm_ctx_alignment() - 1)); in ahash_align_buffer_size()
|
D | chacha20poly1305.c | 524 align &= ~(crypto_tfm_ctx_alignment() - 1); in chachapoly_init()
|
D | algapi.c | 1003 (alg->cra_alignmask & ~(crypto_tfm_ctx_alignment() - 1)); in crypto_alg_extsize()
|
/linux-6.1.9/net/ipv4/ |
D | ah4.c | 32 ~(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()
|
D | esp4.c | 56 ~(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-6.1.9/net/ipv6/ |
D | ah6.c | 56 ~(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()
|
D | esp6.c | 73 ~(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-6.1.9/include/linux/ |
D | crypto.h | 722 static inline unsigned int crypto_tfm_ctx_alignment(void) in crypto_tfm_ctx_alignment() function
|
/linux-6.1.9/arch/x86/crypto/ |
D | aesni-intel_glue.c | 206 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-6.1.9/drivers/crypto/ |
D | padlock-aes.c | 92 if (align <= crypto_tfm_ctx_alignment()) in aes_ctx_common()
|
/linux-6.1.9/net/tipc/ |
D | crypto.c | 699 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()
|
/linux-6.1.9/fs/cifs/ |
D | smb2ops.c | 4241 len += crypto_aead_alignmask(tfm) & ~(crypto_tfm_ctx_alignment() - 1); in smb2_aead_req_alloc() 4242 len = ALIGN(len, crypto_tfm_ctx_alignment()); in smb2_aead_req_alloc() 4253 crypto_tfm_ctx_alignment()); in smb2_aead_req_alloc()
|