Home
last modified time | relevance | path

Searched refs:enclen (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/security/keys/
Dbig_key.c64 size_t enclen = datalen + CHACHA20POLY1305_AUTHTAG_SIZE; in big_key_preparse() local
87 buf = kvmalloc(enclen, GFP_KERNEL); in big_key_preparse()
106 file = shmem_kernel_file_setup("", enclen, 0); in big_key_preparse()
112 written = kernel_write(file, buf, enclen, &pos); in big_key_preparse()
113 if (written != enclen) { in big_key_preparse()
127 kvfree_sensitive(buf, enclen); in big_key_preparse()
145 kvfree_sensitive(buf, enclen); in big_key_preparse()
239 size_t enclen = datalen + CHACHA20POLY1305_AUTHTAG_SIZE; in big_key_read() local
242 buf = kvmalloc(enclen, GFP_KERNEL); in big_key_read()
253 ret = kernel_read(file, buf, enclen, &pos); in big_key_read()
[all …]
/linux-6.12.1/fs/ceph/
Dinode.c904 int enclen, u8 **decsym) in decode_encrypted_symlink() argument
910 sym = kmalloc(enclen + 1, GFP_NOFS); in decode_encrypted_symlink()
914 declen = ceph_base64_decode(encsym, enclen, sym); in decode_encrypted_symlink()
918 declen, enclen, encsym); in decode_encrypted_symlink()