Searched refs:enclen (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/security/keys/ |
D | big_key.c | 64 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-v6.6/fs/ceph/ |
D | inode.c | 883 static int decode_encrypted_symlink(const char *encsym, int enclen, u8 **decsym) in decode_encrypted_symlink() argument 888 sym = kmalloc(enclen + 1, GFP_NOFS); in decode_encrypted_symlink() 892 declen = ceph_base64_decode(encsym, enclen, sym); in decode_encrypted_symlink() 895 __func__, declen, enclen, encsym); in decode_encrypted_symlink()
|