Lines Matching refs:ciphertext_len
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()
124 ablkcipher_request_set_crypt(req, &src_sg, &dst_sg, ciphertext_len, iv); in f2fs_fname_encrypt()
137 oname->len = ciphertext_len; in f2fs_fname_encrypt()