Home
last modified time | relevance | path

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

/linux/fs/crypto/
H A Dhooks.c291 unsigned int ciphertext_len; in __fscrypt_encrypt_symlink() local
309 ciphertext_len = disk_link->len - sizeof(*sd) - 1; in __fscrypt_encrypt_symlink()
310 sd->len = cpu_to_le16(ciphertext_len); in __fscrypt_encrypt_symlink()
313 ciphertext_len); in __fscrypt_encrypt_symlink()
322 sd->encrypted_path[ciphertext_len] = '\0'; in __fscrypt_encrypt_symlink()
/linux/net/ceph/
H A Dauth_x.c89 int ciphertext_len; in ceph_x_encrypt() local
98 &ciphertext_len); in ceph_x_encrypt()
102 ceph_encode_32(&buf, ciphertext_len); in ceph_x_encrypt()
103 return sizeof(u32) + ciphertext_len; in ceph_x_encrypt()
107 void *p, int ciphertext_len) in __ceph_x_decrypt() argument
113 ret = ceph_crypt(key, usage_slot, false, p, ciphertext_len, in __ceph_x_decrypt()
114 ciphertext_len, &plaintext_len); in __ceph_x_decrypt()
130 int ciphertext_len; in ceph_x_decrypt() local
133 ceph_decode_32_safe(p, end, ciphertext_len, e_inval); in ceph_x_decrypt()
134 ceph_decode_need(p, end, ciphertext_len, e_inval); in ceph_x_decrypt()
[all …]