Home
last modified time | relevance | path

Searched refs:ciphertext_len (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/fs/ext4/
Dcrypto_fname.c62 u32 ciphertext_len; in ext4_fname_encrypt() local
75 ciphertext_len = (iname->len < EXT4_CRYPTO_BLOCK_SIZE) ? in ext4_fname_encrypt()
77 ciphertext_len = ext4_fname_crypto_round_up(ciphertext_len, padding); in ext4_fname_encrypt()
78 ciphertext_len = (ciphertext_len > ctx->lim) in ext4_fname_encrypt()
79 ? ctx->lim : ciphertext_len; in ext4_fname_encrypt()
97 if (iname->len < ciphertext_len) in ext4_fname_encrypt()
98 memset(workbuf + iname->len, 0, ciphertext_len - iname->len); in ext4_fname_encrypt()
106 ablkcipher_request_set_crypt(req, sg, sg, ciphertext_len, iv); in ext4_fname_encrypt()
115 memcpy(oname->name, workbuf, ciphertext_len); in ext4_fname_encrypt()
116 res = ciphertext_len; in ext4_fname_encrypt()
[all …]
/linux-4.1.27/arch/x86/crypto/
Daesni-intel_glue.c152 const u8 *in, unsigned long ciphertext_len, u8 *iv,
177 const u8 *in, unsigned long ciphertext_len, u8 *iv,
198 const u8 *in, unsigned long ciphertext_len, u8 *iv, in aesni_gcm_dec_avx() argument
203 if ((ciphertext_len < AVX_GEN2_OPTSIZE) || (aes_ctx-> key_length != AES_KEYSIZE_128)) { in aesni_gcm_dec_avx()
204 aesni_gcm_dec(ctx, out, in, ciphertext_len, iv, hash_subkey, aad, in aesni_gcm_dec_avx()
208 aesni_gcm_dec_avx_gen2(ctx, out, in, ciphertext_len, iv, aad, in aesni_gcm_dec_avx()
228 const u8 *in, unsigned long ciphertext_len, u8 *iv,
253 const u8 *in, unsigned long ciphertext_len, u8 *iv, in aesni_gcm_dec_avx2() argument
258 if ((ciphertext_len < AVX_GEN2_OPTSIZE) || (aes_ctx-> key_length != AES_KEYSIZE_128)) { in aesni_gcm_dec_avx2()
259 aesni_gcm_dec(ctx, out, in, ciphertext_len, iv, hash_subkey, in aesni_gcm_dec_avx2()
[all …]