Lines Matching defs:enclen
63 size_t enclen = datalen + CHACHA20POLY1305_AUTHTAG_SIZE;
84 buf = kvmalloc(enclen, GFP_KERNEL);
103 file = shmem_kernel_file_setup("", enclen, 0);
109 written = kernel_write(file, buf, enclen, &pos);
110 if (written != enclen) {
124 memzero_explicit(buf, enclen);
143 memzero_explicit(buf, enclen);
242 size_t enclen = datalen + CHACHA20POLY1305_AUTHTAG_SIZE;
245 buf = kvmalloc(enclen, GFP_KERNEL);
256 ret = kernel_read(file, buf, enclen, &pos);
257 if (ret != enclen) {
263 ret = chacha20poly1305_decrypt(buf, buf, enclen, NULL, 0, 0,
276 memzero_explicit(buf, enclen);