Home
last modified time | relevance | path

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

/security/keys/trusted-keys/
A Dtrusted_tpm2.c36 u8 *scratch = kmalloc(SCRATCH_SIZE, GFP_KERNEL); in tpm2_key_encode() local
37 u8 *work = scratch, *work1; in tpm2_key_encode()
38 u8 *end_work = scratch + SCRATCH_SIZE; in tpm2_key_encode()
51 if (!scratch) in tpm2_key_encode()
74 if (WARN(work - scratch + pub_len + priv_len + 14 > SCRATCH_SIZE, in tpm2_key_encode()
86 scratch, work - scratch); in tpm2_key_encode()
93 kfree(scratch); in tpm2_key_encode()
97 kfree(scratch); in tpm2_key_encode()

Completed in 4 milliseconds