Searched refs:crypto_tfm_ctx_alignment (Results 1 – 21 of 21) sorted by relevance
/linux-4.4.14/crypto/ |
D | hmac.c | 41 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()
|
D | eseqiv.c | 159 alignmask = crypto_tfm_ctx_alignment() - 1; in eseqiv_init() 172 reqsize = ALIGN(reqsize, crypto_tfm_ctx_alignment()); in eseqiv_init()
|
D | xcbc.c | 240 crypto_tfm_ctx_alignment()) + in xcbc_create() 242 ~(crypto_tfm_ctx_alignment() - 1)) + in xcbc_create()
|
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()
|
D | gcm.c | 587 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()
|
D | ccm.c | 474 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()
|
D | ablkcipher.c | 162 (alignmask & ~(crypto_tfm_ctx_alignment() - 1))); in ablkcipher_next_slow() 200 size += alignmask & ~(crypto_tfm_ctx_alignment() - 1); in ablkcipher_copy_iv()
|
D | blkcipher.c | 163 (alignmask & ~(crypto_tfm_ctx_alignment() - 1)); in blkcipher_next_slow() 285 size += walk->alignmask & ~(crypto_tfm_ctx_alignment() - 1); in blkcipher_copy_iv()
|
D | api.c | 338 len = alg->cra_alignmask & ~(crypto_tfm_ctx_alignment() - 1); in crypto_ctxsize()
|
D | ctr.c | 321 align &= ~(crypto_tfm_ctx_alignment() - 1); in crypto_rfc3686_init_tfm()
|
D | ahash.c | 229 return len + (mask & ~(crypto_tfm_ctx_alignment() - 1)); in ahash_align_buffer_size()
|
D | shash.c | 42 absize = keylen + (alignmask & ~(crypto_tfm_ctx_alignment() - 1)); in shash_setkey_unaligned()
|
D | chacha20poly1305.c | 538 align &= ~(crypto_tfm_ctx_alignment() - 1); in chachapoly_init()
|
D | algapi.c | 987 (alg->cra_alignmask & ~(crypto_tfm_ctx_alignment() - 1)); in crypto_alg_extsize()
|
/linux-4.4.14/net/ipv4/ |
D | ah4.c | 30 ~(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()
|
D | esp4.c | 48 ~(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/ |
D | esp6.c | 75 ~(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()
|
D | ah6.c | 67 ~(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/ |
D | padlock-aes.c | 89 if (align <= crypto_tfm_ctx_alignment()) in aes_ctx_common()
|
/linux-4.4.14/arch/x86/crypto/ |
D | aesni-intel_glue.c | 288 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/ |
D | crypto.h | 681 static inline unsigned int crypto_tfm_ctx_alignment(void) in crypto_tfm_ctx_alignment() function
|