Home
last modified time | relevance | path

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

/Linux-v5.15/fs/crypto/
Dfname.c434 &fname->crypto_buf.len)) in fscrypt_setup_filename()
436 fname->crypto_buf.name = kmalloc(fname->crypto_buf.len, in fscrypt_setup_filename()
438 if (!fname->crypto_buf.name) in fscrypt_setup_filename()
441 ret = fscrypt_fname_encrypt(dir, iname, fname->crypto_buf.name, in fscrypt_setup_filename()
442 fname->crypto_buf.len); in fscrypt_setup_filename()
445 fname->disk_name.name = fname->crypto_buf.name; in fscrypt_setup_filename()
446 fname->disk_name.len = fname->crypto_buf.len; in fscrypt_setup_filename()
461 fname->crypto_buf.name = kmalloc(FSCRYPT_NOKEY_NAME_MAX, GFP_KERNEL); in fscrypt_setup_filename()
462 if (fname->crypto_buf.name == NULL) in fscrypt_setup_filename()
466 fname->crypto_buf.name); in fscrypt_setup_filename()
[all …]
/Linux-v5.15/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.h601 __be32 crypto_buf[2]; /* Temporary packet crypto buffer */ member
/Linux-v5.15/fs/f2fs/
Ddir.c117 fname->crypto_buf = crypt_name->crypto_buf; in __f2fs_setup_filename()
174 kfree(fname->crypto_buf.name); in f2fs_free_filename()
175 fname->crypto_buf.name = NULL; in f2fs_free_filename()
279 f.crypto_buf = fname->crypto_buf; in f2fs_match_name()
Df2fs.h485 struct fscrypt_str crypto_buf; member
/Linux-v5.15/include/linux/
Dfscrypt.h37 struct fscrypt_str crypto_buf; member
316 kfree(fname->crypto_buf.name); in fscrypt_free_filename()
/Linux-v5.15/fs/ext4/
Dext4.h2484 struct fscrypt_str crypto_buf; member
2738 dst->crypto_buf = src->crypto_buf; in ext4_fname_from_fscrypt_name()
2784 name.crypto_buf = fname->crypto_buf; in ext4_fname_free_filename()
2787 fname->crypto_buf.name = NULL; in ext4_fname_free_filename()
Dnamei.c1428 f.crypto_buf = fname->crypto_buf; in ext4_match()