Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/crypto/
Dfname.c411 &fname->crypto_buf.len)) in fscrypt_setup_filename()
413 fname->crypto_buf.name = kmalloc(fname->crypto_buf.len, in fscrypt_setup_filename()
415 if (!fname->crypto_buf.name) in fscrypt_setup_filename()
418 ret = fscrypt_fname_encrypt(dir, iname, fname->crypto_buf.name, in fscrypt_setup_filename()
419 fname->crypto_buf.len); in fscrypt_setup_filename()
422 fname->disk_name.name = fname->crypto_buf.name; in fscrypt_setup_filename()
423 fname->disk_name.len = fname->crypto_buf.len; in fscrypt_setup_filename()
438 fname->crypto_buf.name = kmalloc(FSCRYPT_NOKEY_NAME_MAX, GFP_KERNEL); in fscrypt_setup_filename()
439 if (fname->crypto_buf.name == NULL) in fscrypt_setup_filename()
442 ret = base64_decode(iname->name, iname->len, fname->crypto_buf.name); in fscrypt_setup_filename()
[all …]
/kernel/linux/linux-5.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
/kernel/linux/linux-5.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.h473 struct fscrypt_str crypto_buf; member
/kernel/linux/linux-5.10/include/linux/
Dfscrypt.h37 struct fscrypt_str crypto_buf; member
216 kfree(fname->crypto_buf.name); in fscrypt_free_filename()
/kernel/linux/linux-5.10/fs/ext4/
Dext4.h2352 struct fscrypt_str crypto_buf; member
2605 dst->crypto_buf = src->crypto_buf; in ext4_fname_from_fscrypt_name()
2651 name.crypto_buf = fname->crypto_buf; in ext4_fname_free_filename()
2654 fname->crypto_buf.name = NULL; in ext4_fname_free_filename()
Dnamei.c1383 f.crypto_buf = fname->crypto_buf; in ext4_match()