Home
last modified time | relevance | path

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

/Linux-v5.4/fs/crypto/
Dfname.c338 &fname->crypto_buf.len)) in fscrypt_setup_filename()
340 fname->crypto_buf.name = kmalloc(fname->crypto_buf.len, in fscrypt_setup_filename()
342 if (!fname->crypto_buf.name) in fscrypt_setup_filename()
345 ret = fname_encrypt(dir, iname, fname->crypto_buf.name, in fscrypt_setup_filename()
346 fname->crypto_buf.len); in fscrypt_setup_filename()
349 fname->disk_name.name = fname->crypto_buf.name; in fscrypt_setup_filename()
350 fname->disk_name.len = fname->crypto_buf.len; in fscrypt_setup_filename()
373 fname->crypto_buf.name = in fscrypt_setup_filename()
377 if (fname->crypto_buf.name == NULL) in fscrypt_setup_filename()
381 fname->crypto_buf.name); in fscrypt_setup_filename()
[all …]
/Linux-v5.4/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.h585 __be32 crypto_buf[2]; /* Temporary packet crypto buffer */ member
/Linux-v5.4/include/linux/
Dfscrypt.h36 struct fscrypt_str crypto_buf; member
162 kfree(fname->crypto_buf.name); in fscrypt_free_filename()
231 (const void *)fname->crypto_buf.name; in fscrypt_match_name()
/Linux-v5.4/fs/ext4/
Dext4.h2117 struct fscrypt_str crypto_buf; member
2363 dst->crypto_buf = src->crypto_buf; in ext4_fname_from_fscrypt_name()
2409 name.crypto_buf = fname->crypto_buf; in ext4_fname_free_filename()
2412 fname->crypto_buf.name = NULL; in ext4_fname_free_filename()
Dnamei.c1357 f.crypto_buf = fname->crypto_buf; in ext4_match()