Home
last modified time | relevance | path

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

/Linux-v4.19/fs/crypto/
Dhooks.c164 unsigned int ciphertext_len; in __fscrypt_encrypt_symlink() local
178 ciphertext_len = disk_link->len - sizeof(*sd); in __fscrypt_encrypt_symlink()
179 sd->len = cpu_to_le16(ciphertext_len); in __fscrypt_encrypt_symlink()
181 err = fname_encrypt(inode, &iname, sd->encrypted_path, ciphertext_len); in __fscrypt_encrypt_symlink()
192 sd->encrypted_path[ciphertext_len] = '\0'; in __fscrypt_encrypt_symlink()
/Linux-v4.19/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-v4.19/arch/x86/crypto/
Daesni-intel_glue.c160 const u8 *in, unsigned long ciphertext_len, u8 *iv,
176 unsigned long ciphertext_len);
201 const u8 *in, unsigned long ciphertext_len, u8 *iv,
225 const u8 *in, unsigned long ciphertext_len, u8 *iv, in aesni_gcm_dec_avx() argument
230 if ((ciphertext_len < AVX_GEN2_OPTSIZE) || (aes_ctx-> key_length != AES_KEYSIZE_128)) { in aesni_gcm_dec_avx()
232 ciphertext_len, iv, hash_subkey, aad, in aesni_gcm_dec_avx()
236 aesni_gcm_dec_avx_gen2(ctx, out, in, ciphertext_len, iv, aad, in aesni_gcm_dec_avx()
256 const u8 *in, unsigned long ciphertext_len, u8 *iv,
284 const u8 *in, unsigned long ciphertext_len, u8 *iv, in aesni_gcm_dec_avx2() argument
289 if ((ciphertext_len < AVX_GEN2_OPTSIZE) || (aes_ctx-> key_length != AES_KEYSIZE_128)) { in aesni_gcm_dec_avx2()
[all …]