/linux-master/crypto/ |
H A D | ecdh_helper.c | 29 return ECDH_KPP_SECRET_MIN_SIZE + params->key_size; 49 ptr = ecdh_pack_data(ptr, ¶ms->key_size, sizeof(params->key_size)); 50 ecdh_pack_data(ptr, params->key, params->key_size); 72 ptr = ecdh_unpack_data(¶ms->key_size, ptr, sizeof(params->key_size));
|
H A D | dh_helper.c | 31 return p->key_size + p->p_size + p->g_size; 53 ptr = dh_pack_data(ptr, end, ¶ms->key_size, 54 sizeof(params->key_size)); 57 ptr = dh_pack_data(ptr, end, params->key, params->key_size); 78 ptr = dh_unpack_data(¶ms->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 D | rsa-pkcs1pad.c | 116 unsigned int key_size; member in struct:pkcs1pad_ctx 136 ctx->key_size = 0; 147 ctx->key_size = err; 157 ctx->key_size = 0; 168 ctx->key_size = err; 182 return ctx->key_size; 210 pad_len = ctx->key_size - len; 216 out_buf = kzalloc(ctx->key_size, GFP_ATOMIC); 224 sg_nents_for_len(req->dst, ctx->key_size), 225 out_buf, ctx->key_size); [all...] |
/linux-master/include/crypto/ |
H A D | ecdh.h | 34 * @key_size: Size of the private ECDH key 38 unsigned short key_size; member in struct:ecdh
|
H A D | dh.h | 28 * @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 D | test_xdp_with_cpumap_frags_helpers.c | 10 __uint(key_size, sizeof(__u32));
|
H A D | test_xdp_with_devmap_frags_helpers.c | 7 __uint(key_size, sizeof(__u32));
|
H A D | xdp_redirect_map.c | 9 __uint(key_size, sizeof(int));
|
H A D | tailcall3.c | 9 __uint(key_size, sizeof(__u32));
|
H A D | tailcall4.c | 9 __uint(key_size, sizeof(__u32));
|
H A D | test_prog_array_init.c | 21 __uint(key_size, sizeof(__u32));
|
H A D | htab_update.c | 12 __uint(key_size, sizeof(__u32));
|
H A D | perfbuf_bench.c | 14 __uint(key_size, sizeof(int));
|
H A D | tailcall_poke.c | 11 __uint(key_size, sizeof(__u32));
|
H A D | tailcall5.c | 9 __uint(key_size, sizeof(__u32));
|
H A D | tailcall6.c | 9 __uint(key_size, sizeof(__u32));
|
H A D | tailcall_bpf2bpf2.c | 9 __uint(key_size, sizeof(__u32));
|
H A D | tailcall_bpf2bpf1.c | 8 __uint(key_size, sizeof(__u32));
|
/linux-master/include/linux/ |
H A D | keyctl.h | 15 __u32 key_size; /* Size of the key in bits */ member in struct:kernel_pkey_query
|
/linux-master/tools/perf/util/bpf_skel/ |
H A D | func_latency.bpf.c | 12 __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 D | bperf_follower.bpf.c | 10 __uint(key_size, sizeof(__u32)); 17 __uint(key_size, sizeof(__u32)); 24 __uint(key_size, sizeof(__u32));
|
H A D | bperf_leader.bpf.c | 9 __uint(key_size, sizeof(__u32)); 16 __uint(key_size, sizeof(__u32)); 23 __uint(key_size, sizeof(__u32));
|
H A D | bpf_prog_profiler.bpf.c | 10 __uint(key_size, sizeof(__u32)); 17 __uint(key_size, sizeof(__u32)); 25 __uint(key_size, sizeof(__u32));
|
/linux-master/drivers/hid/bpf/entrypoints/ |
H A D | entrypoints.bpf.c | 13 __uint(key_size, sizeof(__u32));
|
/linux-master/kernel/bpf/ |
H A D | hashtab.c | 198 static inline void htab_elem_set_ptr(struct htab_elem *l, u32 key_size, argument 201 *(void __percpu **)(l->key + key_size) = pptr; 204 static inline void __percpu *htab_elem_get_ptr(struct htab_elem *l, u32 key_size) argument 206 return *(void __percpu **)(l->key + key_size); 211 return *(void **)(l->key + roundup(map->key_size, 8)); 238 bpf_obj_free_timer(htab->map.record, elem->key + round_up(htab->map.key_size, 8)); 257 void __percpu *pptr = htab_elem_get_ptr(elem, htab->map.key_size); 265 bpf_obj_free_fields(htab->map.record, elem->key + round_up(htab->map.key_size, 8)); 283 htab->map.key_size); 311 memcpy(l->key, key, htab->map.key_size); 635 lookup_elem_raw(struct hlist_nulls_head *head, u32 hash, void *key, u32 key_size) argument 652 lookup_nulls_elem_raw(struct hlist_nulls_head *head, u32 hash, void *key, u32 key_size, u32 n_buckets) argument 680 u32 hash, key_size; local 837 u32 hash, key_size; local 998 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 1102 u32 key_size, hash; local 1205 u32 key_size, hash; local 1274 u32 key_size, hash; local 1329 u32 key_size, hash; local 1411 u32 hash, key_size; local 1447 u32 hash, key_size; local 1593 u32 hash, key_size; local 1687 u32 bucket_cnt, total, key_size, value_size, roundup_key_size; local [all...] |