Home
last modified time | relevance | path

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

/openbmc/linux/security/keys/
H A 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 …]
/openbmc/linux/fs/ceph/
H A Dinode.c883 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()