Home
last modified time | relevance | path

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

/linux/security/keys/trusted-keys/
H A Dtrusted_tpm2.c27 const int SCRATCH_SIZE = PAGE_SIZE; in tpm2_key_encode() local
28 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()