Searched refs:pub_len (Results 1 – 1 of 1) sorted by relevance
31 u16 priv_len, pub_len; in tpm2_key_encode() local39 pub_len = get_unaligned_be16(src) + 2; in tpm2_key_encode()65 if (WARN(work - scratch + pub_len + priv_len + 14 > SCRATCH_SIZE, in tpm2_key_encode()72 work = asn1_encode_octet_string(work, end_work, pub, pub_len); in tpm2_key_encode()95 u32 pub_len; member115 if (ctx.priv_len + ctx.pub_len > MAX_BLOB_SIZE) in tpm2_key_decode()118 blob = kmalloc(ctx.priv_len + ctx.pub_len + 4, GFP_KERNEL); in tpm2_key_decode()123 *blob_len = ctx.priv_len + ctx.pub_len; in tpm2_key_decode()129 memcpy(blob, ctx.pub, ctx.pub_len); in tpm2_key_decode()176 ctx->pub_len = vlen; in tpm2_key_pub()