Home
last modified time | relevance | path

Searched refs:key_sz (Results 1 – 9 of 9) sorted by relevance

/linux/net/psp/
H A Dpsp_nl.c707 unsigned int key_sz)
723 if (nla_len(tb[PSP_A_KEYS_KEY]) != key_sz) {
737 memcpy(key->key, nla_data(tb[PSP_A_KEYS_KEY]), key_sz);
746 int key_sz = psp_key_size(version);
752 nla_put(skb, PSP_A_KEYS_KEY, key_sz, key->key)) {
824 unsigned int key_sz;
838 key_sz = psp_key_size(version);
839 if (!key_sz)
842 err = psp_nl_parse_key(info, PSP_A_ASSOC_TX_KEY, &key, key_sz);
358 psp_nl_parse_key(struct genl_info * info,u32 attr,struct psp_key_parsed * key,unsigned int key_sz) psp_nl_parse_key() argument
397 int key_sz = psp_key_size(version); psp_nl_put_key() local
475 unsigned int key_sz; psp_nl_tx_assoc_doit() local
/linux/fs/orangefs/
H A Dupcall.h118 __s32 key_sz; member
139 __s32 key_sz; member
H A Dprotocol.h219 __s32 key_sz; /* __s32 for portable, fixed-size structures */ member
/linux/drivers/crypto/inside-secure/
H A Dsafexcel_hash.c27 u8 key_sz; member
125 memcpy(ctx->base.ctxr->data, &ctx->base.ipad, ctx->key_sz); in safexcel_context_control()
1890 memcpy(req->state, &ctx->base.ipad, ctx->key_sz); in safexcel_cbcmac_init()
1896 req->state_sz = ctx->key_sz; in safexcel_cbcmac_init()
1921 ctx->key_sz = AES_MAX_KEY_SIZE + 2 * AES_BLOCK_SIZE; in safexcel_cbcmac_setkey()
1924 ctx->key_sz = AES_MAX_KEY_SIZE + 2 * AES_BLOCK_SIZE; in safexcel_cbcmac_setkey()
1927 ctx->key_sz = AES_MIN_KEY_SIZE + 2 * AES_BLOCK_SIZE; in safexcel_cbcmac_setkey()
2000 ctx->key_sz = AES_MIN_KEY_SIZE + 2 * AES_BLOCK_SIZE; in safexcel_xcbcmac_setkey()
2097 ctx->key_sz = AES_MAX_KEY_SIZE + 2 * AES_BLOCK_SIZE; in safexcel_cmac_setkey()
2100 ctx->key_sz = AES_MAX_KEY_SIZE + 2 * AES_BLOCK_SIZE; in safexcel_cmac_setkey()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dcrypto.c115 u8 key_sz; in mlx5_crypto_dek_fill_key() local
118 err = mlx5_crypto_dek_get_key_sz(mdev, sz_bytes, &key_sz); in mlx5_crypto_dek_fill_key()
122 MLX5_SET(encryption_key_obj, key_obj, key_size, key_sz); in mlx5_crypto_dek_fill_key()
/linux/tools/testing/selftests/net/tcp_ao/
H A Dkey-management.c450 size_t key_sz = sizeof(collection.keys[0]); in make_mask()
466 collection.keys = reallocarray(collection.keys, nr_keys, key_sz); in init_key_in_collection()
470 memset(collection.keys, 0, nr_keys * key_sz); in init_key_in_collection()
485 size_t key_sz = sizeof(collection.keys[0]); init_default_key_collection() local
/linux/tools/lib/bpf/
H A Dlibbpf.c11193 static int validate_map_op(const struct bpf_map *map, size_t key_sz, in bpf_link__pin()
11199 if (map->def.key_size != key_sz) { in bpf_link__unpin()
11201 map->name, key_sz, map->def.key_size); in bpf_link__unpin()
11254 const void *key, size_t key_sz, in bpf_link_perf_dealloc()
11259 err = validate_map_op(map, key_sz, value_sz, true, flags);
11267 const void *key, size_t key_sz, in bpf_program__attach_perf_event_opts()
11272 err = validate_map_op(map, key_sz, value_sz, true, flags); in bpf_program__attach_perf_event_opts()
11280 const void *key, size_t key_sz, __u64 flags) in bpf_program__attach_perf_event_opts()
11284 err = validate_map_op(map, key_sz, 0, false /* check_value_sz */, flags); in bpf_program__attach_perf_event_opts()
11292 const void *key, size_t key_sz, in bpf_program__attach_perf_event_opts()
10933 validate_map_op(const struct bpf_map * map,size_t key_sz,size_t value_sz,bool check_value_sz,__u64 flags) validate_map_op() argument
10994 bpf_map__lookup_elem(const struct bpf_map * map,const void * key,size_t key_sz,void * value,size_t value_sz,__u64 flags) bpf_map__lookup_elem() argument
11007 bpf_map__update_elem(const struct bpf_map * map,const void * key,size_t key_sz,const void * value,size_t value_sz,__u64 flags) bpf_map__update_elem() argument
11020 bpf_map__delete_elem(const struct bpf_map * map,const void * key,size_t key_sz,__u64 flags) bpf_map__delete_elem() argument
11032 bpf_map__lookup_and_delete_elem(const struct bpf_map * map,const void * key,size_t key_sz,void * value,size_t value_sz,__u64 flags) bpf_map__lookup_and_delete_elem() argument
11045 bpf_map__get_next_key(const struct bpf_map * map,const void * cur_key,void * next_key,size_t key_sz) bpf_map__get_next_key() argument
[all...]
/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dconntrack.c136 u32 offset, size_t key_sz, in get_mangled_key() argument
152 if (off % 4 || off >= key_sz) in get_mangled_key()
/linux/drivers/net/
H A Dvirtio_net.c6742 u16 key_sz; in virtnet_probe()
6875 key_sz = virtio_cread8(vdev, offsetof(struct virtio_net_config, rss_max_key_size)); in virtnet_probe()
6877 vi->rss_key_size = min_t(u16, key_sz, NETDEV_RSS_KEY_LEN); in virtnet_probe()
6878 if (key_sz > vi->rss_key_size) in virtnet_probe()
6881 key_sz, vi->rss_key_size); in virtnet_probe()
6729 u16 key_sz; virtnet_probe() local