Searched refs:enclen (Results 1 - 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/security/keys/ |
H A D | big_key.c | 63 size_t enclen = datalen + CHACHA20POLY1305_AUTHTAG_SIZE; in big_key_preparse() local 84 buf = kvmalloc(enclen, GFP_KERNEL); in big_key_preparse() 103 file = shmem_kernel_file_setup("", enclen, 0); in big_key_preparse() 109 written = kernel_write(file, buf, enclen, &pos); in big_key_preparse() 110 if (written != enclen) { in big_key_preparse() 124 memzero_explicit(buf, enclen); in big_key_preparse() 143 memzero_explicit(buf, enclen); in big_key_preparse() 242 size_t enclen = datalen + CHACHA20POLY1305_AUTHTAG_SIZE; in big_key_read() local 245 buf = kvmalloc(enclen, GFP_KERNEL); in big_key_read() 256 ret = kernel_read(file, buf, enclen, in big_key_read() [all...] |
/kernel/linux/linux-6.6/security/keys/ |
H A 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, in big_key_read() [all...] |
/kernel/linux/linux-6.6/fs/ceph/ |
H A 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()
|
Completed in 5 milliseconds