Home
last modified time | relevance | path

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

/Linux-v5.4/fs/crypto/
Dhooks.c174 unsigned int ciphertext_len; in __fscrypt_encrypt_symlink() local
188 ciphertext_len = disk_link->len - sizeof(*sd); in __fscrypt_encrypt_symlink()
189 sd->len = cpu_to_le16(ciphertext_len); in __fscrypt_encrypt_symlink()
191 err = fname_encrypt(inode, &iname, sd->encrypted_path, ciphertext_len); in __fscrypt_encrypt_symlink()
200 sd->encrypted_path[ciphertext_len] = '\0'; in __fscrypt_encrypt_symlink()
/Linux-v5.4/net/ceph/
Dauth_x.c58 int ciphertext_len; in ceph_x_encrypt() local
66 &ciphertext_len); in ceph_x_encrypt()
70 ceph_encode_32(&buf, ciphertext_len); in ceph_x_encrypt()
71 return sizeof(u32) + ciphertext_len; in ceph_x_encrypt()
75 int ciphertext_len) in __ceph_x_decrypt() argument
81 ret = ceph_crypt(secret, false, p, ciphertext_len, ciphertext_len, in __ceph_x_decrypt()
96 int ciphertext_len; in ceph_x_decrypt() local
99 ceph_decode_32_safe(p, end, ciphertext_len, e_inval); in ceph_x_decrypt()
100 ceph_decode_need(p, end, ciphertext_len, e_inval); in ceph_x_decrypt()
102 ret = __ceph_x_decrypt(secret, *p, ciphertext_len); in ceph_x_decrypt()
[all …]
/Linux-v5.4/arch/x86/crypto/
Daesni-intel_glue.c151 const u8 *in, unsigned long ciphertext_len, u8 *iv,
167 unsigned long ciphertext_len);
178 const u8 *in, unsigned long ciphertext_len);
215 unsigned long ciphertext_len);
228 const u8 *in, unsigned long ciphertext_len, u8 *iv,
260 unsigned long ciphertext_len);
273 const u8 *in, unsigned long ciphertext_len, u8 *iv,