Searched refs:key_size (Results 1 - 25 of 221) sorted by relevance

123456789

/linux-master/crypto/
H A Decdh_helper.c29 return ECDH_KPP_SECRET_MIN_SIZE + params->key_size;
49 ptr = ecdh_pack_data(ptr, &params->key_size, sizeof(params->key_size));
50 ecdh_pack_data(ptr, params->key, params->key_size);
72 ptr = ecdh_unpack_data(&params->key_size, ptr, sizeof(params->key_size));
H A Ddh_helper.c31 return p->key_size + p->p_size + p->g_size;
53 ptr = dh_pack_data(ptr, end, &params->key_size,
54 sizeof(params->key_size));
57 ptr = dh_pack_data(ptr, end, params->key, params->key_size);
78 ptr = dh_unpack_data(&params->key_size, ptr, sizeof(params->key_size));
88 params->p = (void *)(ptr + params->key_size);
89 params->g = (void *)(ptr + params->key_size + params->p_size);
106 if (params->key_size > params->p_size ||
H A Drsa-pkcs1pad.c93 unsigned int key_size; member in struct:pkcs1pad_ctx
113 ctx->key_size = 0;
124 ctx->key_size = err;
134 ctx->key_size = 0;
145 ctx->key_size = err;
159 return ctx->key_size;
187 pad_len = ctx->key_size - len;
193 out_buf = kzalloc(ctx->key_size, GFP_KERNEL);
201 sg_nents_for_len(req->dst, ctx->key_size),
202 out_buf, ctx->key_size);
[all...]
/linux-master/tools/perf/tests/
H A Dbpf-script-test-relocation.c22 unsigned int key_size; member in struct:bpf_map_def
30 .key_size = sizeof(int),
/linux-master/tools/perf/include/bpf/
H A Dstdio.h7 .key_size = sizeof(int),
/linux-master/include/crypto/
H A Decdh.h34 * @key_size: Size of the private ECDH key
38 unsigned short key_size; member in struct:ecdh
H A Ddh.h28 * @key_size: Size of the private DH key
36 unsigned int key_size; member in struct:dh
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_xdp_with_cpumap_frags_helpers.c10 __uint(key_size, sizeof(__u32));
H A Dtest_xdp_with_devmap_frags_helpers.c7 __uint(key_size, sizeof(__u32));
H A Dxdp_redirect_map.c9 __uint(key_size, sizeof(int));
H A Dtailcall3.c9 __uint(key_size, sizeof(__u32));
H A Dtailcall4.c9 __uint(key_size, sizeof(__u32));
H A Dtest_prog_array_init.c21 __uint(key_size, sizeof(__u32));
H A Dtailcall5.c9 __uint(key_size, sizeof(__u32));
H A Dtailcall6.c9 __uint(key_size, sizeof(__u32));
H A Dtailcall_bpf2bpf2.c9 __uint(key_size, sizeof(__u32));
H A Dtailcall_bpf2bpf1.c8 __uint(key_size, sizeof(__u32));
/linux-master/include/linux/
H A Dkeyctl.h15 __u32 key_size; /* Size of the key in bits */ member in struct:kernel_pkey_query
/linux-master/tools/perf/util/bpf_skel/
H A Dfunc_latency.bpf.c12 __uint(key_size, sizeof(__u64));
19 __uint(key_size, sizeof(__u32));
26 __uint(key_size, sizeof(__u32));
33 __uint(key_size, sizeof(__u32));
H A Dbperf_follower.bpf.c10 __uint(key_size, sizeof(__u32));
17 __uint(key_size, sizeof(__u32));
24 __uint(key_size, sizeof(__u32));
H A Dbperf_leader.bpf.c9 __uint(key_size, sizeof(__u32));
16 __uint(key_size, sizeof(__u32));
23 __uint(key_size, sizeof(__u32));
H A Dbpf_prog_profiler.bpf.c10 __uint(key_size, sizeof(__u32));
17 __uint(key_size, sizeof(__u32));
25 __uint(key_size, sizeof(__u32));
/linux-master/kernel/bpf/
H A Dhashtab.c211 static inline void htab_elem_set_ptr(struct htab_elem *l, u32 key_size, argument
214 *(void __percpu **)(l->key + key_size) = pptr;
217 static inline void __percpu *htab_elem_get_ptr(struct htab_elem *l, u32 key_size) argument
219 return *(void __percpu **)(l->key + key_size);
224 return *(void **)(l->key + roundup(map->key_size, 8));
252 round_up(htab->map.key_size, 8) +
272 bpf_map_free_kptrs(&htab->map, elem->key + round_up(htab->map.key_size, 8));
288 htab->map.key_size);
315 memcpy(l->key, key, htab->map.key_size);
346 htab_elem_set_ptr(get_htab_elem(htab, i), htab->map.key_size,
598 lookup_elem_raw(struct hlist_nulls_head *head, u32 hash, void *key, u32 key_size) argument
615 lookup_nulls_elem_raw(struct hlist_nulls_head *head, u32 hash, void *key, u32 key_size, u32 n_buckets) argument
643 u32 hash, key_size; local
794 u32 hash, key_size; local
938 alloc_htab_elem(struct bpf_htab *htab, void *key, void *value, u32 key_size, u32 hash, bool percpu, bool onallcpus, struct htab_elem *old_elem) argument
1046 u32 key_size, hash; local
1148 u32 key_size, hash; local
1216 u32 key_size, hash; local
1271 u32 key_size, hash; local
1350 u32 hash, key_size; local
1386 u32 hash, key_size; local
1527 u32 hash, key_size; local
1621 u32 bucket_cnt, total, key_size, value_size, roundup_key_size; local
[all...]
/linux-master/samples/bpf/
H A Dtrace_output_kern.c9 __uint(key_size, sizeof(int));
/linux-master/tools/bpf/bpftool/skeleton/
H A Dprofiler.bpf.c10 __uint(key_size, sizeof(u32));
17 __uint(key_size, sizeof(u32));
24 __uint(key_size, sizeof(u32));
31 __uint(key_size, sizeof(u32));

Completed in 121 milliseconds

123456789