Searched refs:SCRATCH_SIZE (Results 1 – 1 of 1) sorted by relevance
27 const int SCRATCH_SIZE = PAGE_SIZE; in tpm2_key_encode() local28 u8 *scratch = kmalloc(SCRATCH_SIZE, GFP_KERNEL); in tpm2_key_encode()30 u8 *end_work = scratch + SCRATCH_SIZE; in tpm2_key_encode()66 if (WARN(work - scratch + pub_len + priv_len + 14 > SCRATCH_SIZE, in tpm2_key_encode()