Home
last modified time | relevance | path

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

/linux-4.4.14/crypto/
Dhmac.c41 crypto_tfm_ctx_alignment()); in hmac_ctx()
53 crypto_tfm_ctx_alignment()); in hmac_setkey()
225 ALIGN(ss * 2, crypto_tfm_ctx_alignment()); in hmac_create()
Deseqiv.c159 alignmask = crypto_tfm_ctx_alignment() - 1; in eseqiv_init()
172 reqsize = ALIGN(reqsize, crypto_tfm_ctx_alignment()); in eseqiv_init()
Dxcbc.c240 crypto_tfm_ctx_alignment()) + in xcbc_create()
242 ~(crypto_tfm_ctx_alignment() - 1)) + in xcbc_create()
Dcmac.c267 ALIGN(sizeof(struct cmac_desc_ctx), crypto_tfm_ctx_alignment()) in cmac_create()
268 + (alignmask & ~(crypto_tfm_ctx_alignment() - 1)) in cmac_create()
Dgcm.c587 align &= ~(crypto_tfm_ctx_alignment() - 1); in crypto_gcm_init_tfm()
899 align &= ~(crypto_tfm_ctx_alignment() - 1); in crypto_rfc4106_init_tfm()
903 ALIGN(crypto_aead_reqsize(aead), crypto_tfm_ctx_alignment()) + in crypto_rfc4106_init_tfm()
1128 align &= ~(crypto_tfm_ctx_alignment() - 1); in crypto_rfc4543_init_tfm()
1132 ALIGN(crypto_aead_reqsize(aead), crypto_tfm_ctx_alignment()) + in crypto_rfc4543_init_tfm()
Dccm.c474 align &= ~(crypto_tfm_ctx_alignment() - 1); in crypto_ccm_init_tfm()
784 align &= ~(crypto_tfm_ctx_alignment() - 1); in crypto_rfc4309_init_tfm()
788 ALIGN(crypto_aead_reqsize(aead), crypto_tfm_ctx_alignment()) + in crypto_rfc4309_init_tfm()
Dablkcipher.c162 (alignmask & ~(crypto_tfm_ctx_alignment() - 1))); in ablkcipher_next_slow()
200 size += alignmask & ~(crypto_tfm_ctx_alignment() - 1); in ablkcipher_copy_iv()
Dblkcipher.c163 (alignmask & ~(crypto_tfm_ctx_alignment() - 1)); in blkcipher_next_slow()
285 size += walk->alignmask & ~(crypto_tfm_ctx_alignment() - 1); in blkcipher_copy_iv()
Dapi.c338 len = alg->cra_alignmask & ~(crypto_tfm_ctx_alignment() - 1); in crypto_ctxsize()
Dctr.c321 align &= ~(crypto_tfm_ctx_alignment() - 1); in crypto_rfc3686_init_tfm()
Dahash.c229 return len + (mask & ~(crypto_tfm_ctx_alignment() - 1)); in ahash_align_buffer_size()
Dshash.c42 absize = keylen + (alignmask & ~(crypto_tfm_ctx_alignment() - 1)); in shash_setkey_unaligned()
Dchacha20poly1305.c538 align &= ~(crypto_tfm_ctx_alignment() - 1); in chachapoly_init()
Dalgapi.c987 (alg->cra_alignmask & ~(crypto_tfm_ctx_alignment() - 1)); in crypto_alg_extsize()
/linux-4.4.14/net/ipv4/
Dah4.c30 ~(crypto_tfm_ctx_alignment() - 1)); in ah_alloc_tmp()
32 len = ALIGN(len, crypto_tfm_ctx_alignment()); in ah_alloc_tmp()
59 crypto_tfm_ctx_alignment()); in ah_tmp_req()
Desp4.c48 ~(crypto_tfm_ctx_alignment() - 1); in esp_alloc_tmp()
49 len = ALIGN(len, crypto_tfm_ctx_alignment()); in esp_alloc_tmp()
76 crypto_tfm_ctx_alignment()); in esp_tmp_req()
/linux-4.4.14/net/ipv6/
Desp6.c75 ~(crypto_tfm_ctx_alignment() - 1); in esp_alloc_tmp()
76 len = ALIGN(len, crypto_tfm_ctx_alignment()); in esp_alloc_tmp()
104 crypto_tfm_ctx_alignment()); in esp_tmp_req()
Dah6.c67 ~(crypto_tfm_ctx_alignment() - 1)); in ah_alloc_tmp()
69 len = ALIGN(len, crypto_tfm_ctx_alignment()); in ah_alloc_tmp()
101 crypto_tfm_ctx_alignment()); in ah_tmp_req()
/linux-4.4.14/drivers/crypto/
Dpadlock-aes.c89 if (align <= crypto_tfm_ctx_alignment()) in aes_ctx_common()
/linux-4.4.14/arch/x86/crypto/
Daesni-intel_glue.c288 if (align <= crypto_tfm_ctx_alignment()) in aesni_rfc4106_gcm_ctx_get()
299 if (align <= crypto_tfm_ctx_alignment()) in aes_ctx()
/linux-4.4.14/include/linux/
Dcrypto.h681 static inline unsigned int crypto_tfm_ctx_alignment(void) in crypto_tfm_ctx_alignment() function