Home
last modified time | relevance | path

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

/Linux-v6.1/fs/crypto/
Dfname.c464 &fname->crypto_buf.len)) in fscrypt_setup_filename()
466 fname->crypto_buf.name = kmalloc(fname->crypto_buf.len, in fscrypt_setup_filename()
468 if (!fname->crypto_buf.name) in fscrypt_setup_filename()
471 ret = fscrypt_fname_encrypt(dir, iname, fname->crypto_buf.name, in fscrypt_setup_filename()
472 fname->crypto_buf.len); in fscrypt_setup_filename()
475 fname->disk_name.name = fname->crypto_buf.name; in fscrypt_setup_filename()
476 fname->disk_name.len = fname->crypto_buf.len; in fscrypt_setup_filename()
491 fname->crypto_buf.name = kmalloc(FSCRYPT_NOKEY_NAME_MAX, GFP_KERNEL); in fscrypt_setup_filename()
492 if (fname->crypto_buf.name == NULL) in fscrypt_setup_filename()
496 fname->crypto_buf.name); in fscrypt_setup_filename()
[all …]
/Linux-v6.1/fs/ext4/
Dcrypto.c19 dst->crypto_buf = src->crypto_buf; in ext4_fname_from_fscrypt_name()
62 name.crypto_buf = fname->crypto_buf; in ext4_fname_free_filename()
65 fname->crypto_buf.name = NULL; in ext4_fname_free_filename()
Dnamei.c1479 f.crypto_buf = fname->crypto_buf; in ext4_match()
Dext4.h2495 struct fscrypt_str crypto_buf; member
/Linux-v6.1/net/rxrpc/
Drxkad.c403 call->crypto_buf[0] = htonl(call->call_id); in rxkad_secure_packet()
404 call->crypto_buf[1] = htonl(x); in rxkad_secure_packet()
406 sg_init_one(&sg, call->crypto_buf, 8); in rxkad_secure_packet()
413 y = ntohl(call->crypto_buf[1]); in rxkad_secure_packet()
642 call->crypto_buf[0] = htonl(call->call_id); in rxkad_verify_packet()
643 call->crypto_buf[1] = htonl(x); in rxkad_verify_packet()
645 sg_init_one(&sg, call->crypto_buf, 8); in rxkad_verify_packet()
652 y = ntohl(call->crypto_buf[1]); in rxkad_verify_packet()
Dar-internal.h594 __be32 crypto_buf[2]; /* Temporary packet crypto buffer */ member
/Linux-v6.1/fs/f2fs/
Ddir.c118 fname->crypto_buf = crypt_name->crypto_buf; in __f2fs_setup_filename()
175 kfree(fname->crypto_buf.name); in f2fs_free_filename()
176 fname->crypto_buf.name = NULL; in f2fs_free_filename()
280 f.crypto_buf = fname->crypto_buf; in f2fs_match_name()
Df2fs.h511 struct fscrypt_str crypto_buf; member
/Linux-v6.1/include/linux/
Dfscrypt.h48 struct fscrypt_str crypto_buf; member
335 kfree(fname->crypto_buf.name); in fscrypt_free_filename()