Searched refs:cryptbuf (Results 1 – 2 of 2) sorted by relevance
| /linux/fs/ceph/ |
| H A D | crypto.c | 213 u8 *cryptbuf = NULL; in ceph_encode_encrypted_dname() local 238 cryptbuf = kmalloc(len > CEPH_NOHASH_NAME_MAX ? NAME_MAX : len, in ceph_encode_encrypted_dname() 240 if (!cryptbuf) { in ceph_encode_encrypted_dname() 247 cryptbuf, len); in ceph_encode_encrypted_dname() 256 u8 *extra = cryptbuf + CEPH_NOHASH_NAME_MAX; in ceph_encode_encrypted_dname() 268 elen = base64_encode(cryptbuf, len, p, false, BASE64_IMAP); in ceph_encode_encrypted_dname() 277 kfree(cryptbuf); in ceph_encode_encrypted_dname()
|
| H A D | mds_client.c | 2632 u8 *cryptbuf = NULL; in get_fscrypt_altname() local 2666 cryptbuf = kmalloc(len, GFP_KERNEL); in get_fscrypt_altname() 2667 if (!cryptbuf) in get_fscrypt_altname() 2670 ret = fscrypt_fname_encrypt(dir, name, cryptbuf, len); in get_fscrypt_altname() 2672 kfree(cryptbuf); in get_fscrypt_altname() 2677 return cryptbuf; in get_fscrypt_altname()
|