Home
last modified time | relevance | path

Searched refs:crypto_buf (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.10/fs/crypto/
Dfname.c415 &fname->crypto_buf.len)) in fscrypt_setup_filename()
417 fname->crypto_buf.name = kmalloc(fname->crypto_buf.len, in fscrypt_setup_filename()
419 if (!fname->crypto_buf.name) in fscrypt_setup_filename()
422 ret = fscrypt_fname_encrypt(dir, iname, fname->crypto_buf.name, in fscrypt_setup_filename()
423 fname->crypto_buf.len); in fscrypt_setup_filename()
426 fname->disk_name.name = fname->crypto_buf.name; in fscrypt_setup_filename()
427 fname->disk_name.len = fname->crypto_buf.len; in fscrypt_setup_filename()
442 fname->crypto_buf.name = kmalloc(FSCRYPT_NOKEY_NAME_MAX, GFP_KERNEL); in fscrypt_setup_filename()
443 if (fname->crypto_buf.name == NULL) in fscrypt_setup_filename()
446 ret = base64_decode(iname->name, iname->len, fname->crypto_buf.name); in fscrypt_setup_filename()
[all …]
/Linux-v5.10/net/rxrpc/
Drxkad.c311 call->crypto_buf[0] = htonl(call->call_id); in rxkad_secure_packet()
312 call->crypto_buf[1] = htonl(x); in rxkad_secure_packet()
314 sg_init_one(&sg, call->crypto_buf, 8); in rxkad_secure_packet()
321 y = ntohl(call->crypto_buf[1]); in rxkad_secure_packet()
554 call->crypto_buf[0] = htonl(call->call_id); in rxkad_verify_packet()
555 call->crypto_buf[1] = htonl(x); in rxkad_verify_packet()
557 sg_init_one(&sg, call->crypto_buf, 8); in rxkad_verify_packet()
564 y = ntohl(call->crypto_buf[1]); in rxkad_verify_packet()
Dar-internal.h584 __be32 crypto_buf[2]; /* Temporary packet crypto buffer */ member
/Linux-v5.10/fs/f2fs/
Ddir.c113 fname->crypto_buf = crypt_name->crypto_buf; in __f2fs_setup_filename()
170 kfree(fname->crypto_buf.name); in f2fs_free_filename()
171 fname->crypto_buf.name = NULL; in f2fs_free_filename()
248 f.crypto_buf = fname->crypto_buf; in f2fs_match_name()
Df2fs.h531 struct fscrypt_str crypto_buf; member
/Linux-v5.10/include/linux/
Dfscrypt.h37 struct fscrypt_str crypto_buf; member
187 kfree(fname->crypto_buf.name); in fscrypt_free_filename()
/Linux-v5.10/fs/ext4/
Dext4.h2329 struct fscrypt_str crypto_buf; member
2582 dst->crypto_buf = src->crypto_buf; in ext4_fname_from_fscrypt_name()
2628 name.crypto_buf = fname->crypto_buf; in ext4_fname_free_filename()
2631 fname->crypto_buf.name = NULL; in ext4_fname_free_filename()
Dnamei.c1360 f.crypto_buf = fname->crypto_buf; in ext4_match()