Searched refs:priv_len (Results 1 – 3 of 3) sorted by relevance
/linux/security/keys/trusted-keys/ |
A 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/net/netfilter/ |
A D | nft_payload.c | 213 u32 priv_len, u32 field_len) in nft_payload_offload_mask() argument 219 if (priv_len == field_len) { in nft_payload_offload_mask() 220 memset(®->mask, 0xff, priv_len); in nft_payload_offload_mask() 222 } else if (priv_len > field_len) { in nft_payload_offload_mask() 227 remainder = priv_len % sizeof(u32); in nft_payload_offload_mask() 229 k = priv_len / sizeof(u32); in nft_payload_offload_mask() 230 delta = field_len - priv_len; in nft_payload_offload_mask()
|
/linux/net/sunrpc/auth_gss/ |
A D | svcauth_gss.c | 971 u32 priv_len, maj_stat; in unwrap_priv_data() local 977 priv_len = svc_getnl(&buf->head[0]); in unwrap_priv_data() 987 if (priv_len > remaining_len) in unwrap_priv_data() 989 pad = remaining_len - priv_len; in unwrap_priv_data() 993 maj_stat = gss_unwrap(ctx, 0, priv_len, buf); in unwrap_priv_data() 994 pad = priv_len - buf->len; in unwrap_priv_data()
|
Completed in 9 milliseconds