Searched refs:priv_len (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/security/keys/trusted-keys/ |
D | trusted_tpm2.c | 40 u16 priv_len, pub_len; in tpm2_key_encode() local 42 priv_len = get_unaligned_be16(src) + 2; in tpm2_key_encode() 45 src += priv_len; in tpm2_key_encode() 71 if (WARN(work - scratch + pub_len + priv_len + 14 > SCRATCH_SIZE, in tpm2_key_encode() 77 work = asn1_encode_octet_string(work, end_work, priv, priv_len); in tpm2_key_encode() 93 u32 priv_len; member 111 if (ctx.priv_len + ctx.pub_len > MAX_BLOB_SIZE) in tpm2_key_decode() 114 blob = kmalloc(ctx.priv_len + ctx.pub_len + 4, GFP_KERNEL); in tpm2_key_decode() 121 memcpy(blob, ctx.priv, ctx.priv_len); in tpm2_key_decode() 122 blob += ctx.priv_len; in tpm2_key_decode() [all …]
|
/Linux-v6.6/net/netfilter/ |
D | nft_payload.c | 288 u32 priv_len, u32 field_len) in nft_payload_offload_mask() argument 294 if (priv_len == field_len) { in nft_payload_offload_mask() 295 memset(®->mask, 0xff, priv_len); in nft_payload_offload_mask() 297 } else if (priv_len > field_len) { in nft_payload_offload_mask() 302 remainder = priv_len % sizeof(u32); in nft_payload_offload_mask() 304 k = priv_len / sizeof(u32); in nft_payload_offload_mask() 305 delta = field_len - priv_len; in nft_payload_offload_mask()
|