Searched refs:ciphertext_len (Results 1 – 3 of 3) sorted by relevance
/linux-4.4.14/fs/f2fs/ |
D | crypto_fname.c | 72 u32 ciphertext_len; in f2fs_fname_encrypt() local 87 ciphertext_len = (iname->len < F2FS_CRYPTO_BLOCK_SIZE) ? in f2fs_fname_encrypt() 89 ciphertext_len = f2fs_fname_crypto_round_up(ciphertext_len, padding); in f2fs_fname_encrypt() 90 ciphertext_len = (ciphertext_len > lim) ? lim : ciphertext_len; in f2fs_fname_encrypt() 92 if (ciphertext_len <= sizeof(buf)) { in f2fs_fname_encrypt() 95 alloc_buf = kmalloc(ciphertext_len, GFP_NOFS); in f2fs_fname_encrypt() 115 if (iname->len < ciphertext_len) in f2fs_fname_encrypt() 116 memset(workbuf + iname->len, 0, ciphertext_len - iname->len); in f2fs_fname_encrypt() 122 sg_init_one(&src_sg, workbuf, ciphertext_len); in f2fs_fname_encrypt() 123 sg_init_one(&dst_sg, oname->name, ciphertext_len); in f2fs_fname_encrypt() [all …]
|
/linux-4.4.14/fs/ext4/ |
D | crypto_fname.c | 67 u32 ciphertext_len; in ext4_fname_encrypt() local 82 ciphertext_len = (iname->len < EXT4_CRYPTO_BLOCK_SIZE) ? in ext4_fname_encrypt() 84 ciphertext_len = ext4_fname_crypto_round_up(ciphertext_len, padding); in ext4_fname_encrypt() 85 ciphertext_len = (ciphertext_len > lim) in ext4_fname_encrypt() 86 ? lim : ciphertext_len; in ext4_fname_encrypt() 88 if (ciphertext_len <= sizeof(buf)) { in ext4_fname_encrypt() 91 alloc_buf = kmalloc(ciphertext_len, GFP_NOFS); in ext4_fname_encrypt() 111 if (iname->len < ciphertext_len) in ext4_fname_encrypt() 112 memset(workbuf + iname->len, 0, ciphertext_len - iname->len); in ext4_fname_encrypt() 118 sg_init_one(&src_sg, workbuf, ciphertext_len); in ext4_fname_encrypt() [all …]
|
/linux-4.4.14/arch/x86/crypto/ |
D | aesni-intel_glue.c | 152 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 …]
|