Searched refs:key_type (Results 26 - 50 of 152) sorted by relevance

1234567

/linux-master/fs/ubifs/
H A Dgc.c119 ubifs_assert(c, key_type(c, &sa->key) == UBIFS_DATA_KEY);
120 ubifs_assert(c, key_type(c, &sb->key) == UBIFS_DATA_KEY);
163 ubifs_assert(c, key_type(c, &sa->key) != UBIFS_DATA_KEY &&
164 key_type(c, &sb->key) != UBIFS_DATA_KEY);
177 ubifs_assert(c, key_type(c, &sa->key) == UBIFS_DENT_KEY ||
178 key_type(c, &sa->key) == UBIFS_XENT_KEY);
179 ubifs_assert(c, key_type(c, &sb->key) == UBIFS_DENT_KEY ||
180 key_type(c, &sb->key) == UBIFS_XENT_KEY);
255 ubifs_assert(c, key_type(c, &snod->key) == UBIFS_DATA_KEY ||
256 key_type(
[all...]
H A Dreplay.c217 ubifs_assert(c, key_type(c, &rino->key) == UBIFS_INO_KEY);
226 key_type(c, &r->key) == UBIFS_INO_KEY)
257 switch (key_type(c, &r->key)) {
484 int key_type = key_type_flash(c, dent->key); local
490 (key_type == UBIFS_XENT_KEY && strnlen(dent->name, nlen) != nlen) ||
492 ubifs_err(c, "bad %s node", key_type == UBIFS_DENT_KEY ?
497 if (key_type != UBIFS_DENT_KEY && key_type != UBIFS_XENT_KEY) {
498 ubifs_err(c, "bad key type %d", key_type);
H A Dtnc_misc.c349 switch (key_type(c, &zbr->key)) {
357 i, key_type(c, &zbr->key));
365 type = key_type(c, &zbr->key);
486 int err, type = key_type(c, key);
/linux-master/drivers/crypto/marvell/octeontx/
H A Dotx_cptvf_algs.h133 u8 key_type; member in struct:otx_cpt_enc_ctx
179 u8 key_type; member in struct:otx_cpt_aead_ctx
H A Dotx_cptvf_algs.c273 fctx->enc.enc_ctrl.e.aes_key = ctx->key_type;
410 ctx->key_type = OTX_CPT_AES_128_BIT;
413 ctx->key_type = OTX_CPT_AES_256_BIT;
445 ctx->key_type = OTX_CPT_AES_128_BIT;
448 ctx->key_type = OTX_CPT_AES_192_BIT;
451 ctx->key_type = OTX_CPT_AES_256_BIT;
865 ctx->key_type = OTX_CPT_AES_128_BIT;
868 ctx->key_type = OTX_CPT_AES_192_BIT;
871 ctx->key_type = OTX_CPT_AES_256_BIT;
938 ctx->key_type
[all...]
/linux-master/security/keys/
H A Duser_defined.c23 struct key_type key_type_user = {
43 struct key_type key_type_logon = {
H A Dgc.c31 static struct key_type *key_gc_dead_keytype;
43 struct key_type key_type_dead = {
112 void key_gc_keytype(struct key_type *ktype)
H A Dkey.c224 struct key *key_alloc(struct key_type *type, const char *desc,
700 struct key_type *key_type_lookup(const char *type)
702 struct key_type *ktype;
738 void key_type_put(struct key_type *ktype)
1208 int register_key_type(struct key_type *ktype)
1210 struct key_type *p;
1244 void unregister_key_type(struct key_type *ktype)
H A Drequest_key.c574 struct key *request_key_and_link(struct key_type *type,
706 struct key *request_key_tag(struct key_type *type,
746 struct key *request_key_with_auxdata(struct key_type *type,
782 struct key *request_key_rcu(struct key_type *type,
/linux-master/kernel/bpf/
H A Dlocal_storage.c358 const struct btf_type *key_type,
376 if (BTF_INFO_KIND(key_type->info) != BTF_KIND_STRUCT ||
377 BTF_INFO_VLEN(key_type->info) != 2)
383 m = (struct btf_member *)(key_type + 1);
385 if (!btf_member_is_reg_int(btf, key_type, m, 0, size))
394 if (!btf_member_is_reg_int(btf, key_type, m, offset, size))
403 if (BTF_INFO_KIND(key_type->info) != BTF_KIND_INT)
406 int_data = *(u32 *)(key_type + 1);
356 cgroup_storage_check_btf(const struct bpf_map *map, const struct btf *btf, const struct btf_type *key_type, const struct btf_type *value_type) argument
H A Dbloom_filter.c185 const struct btf_type *key_type,
189 return btf_type_is_void(key_type) ? 0 : -EINVAL;
183 bloom_map_check_btf(const struct bpf_map *map, const struct btf *btf, const struct btf_type *key_type, const struct btf_type *value_type) argument
/linux-master/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptvf_algs.h124 u8 key_type; member in struct:otx2_cpt_enc_ctx
175 u8 key_type; member in struct:otx2_cpt_aead_ctx
H A Dotx2_cptvf_algs.c259 fctx->enc.enc_ctrl.e.aes_key = ctx->key_type;
429 ctx->key_type = OTX2_CPT_AES_128_BIT;
432 ctx->key_type = OTX2_CPT_AES_192_BIT;
435 ctx->key_type = OTX2_CPT_AES_256_BIT;
467 ctx->key_type = OTX2_CPT_AES_128_BIT;
470 ctx->key_type = OTX2_CPT_AES_192_BIT;
473 ctx->key_type = OTX2_CPT_AES_256_BIT;
953 ctx->key_type = OTX2_CPT_AES_128_BIT;
956 ctx->key_type = OTX2_CPT_AES_192_BIT;
959 ctx->key_type
[all...]
/linux-master/drivers/crypto/cavium/cpt/
H A Dcptvf_algs.h102 u8 key_type:2; member in struct:cvm_enc_ctx
/linux-master/fs/bcachefs/
H A Dstr_hash.h145 u8 key_type; member in struct:bch_hash_desc
156 return k.k->type == desc.key_type &&
246 if (k.k->type != desc.key_type &&
250 if (k.k->type == desc.key_type &&
/linux-master/drivers/net/wireless/realtek/rtlwifi/
H A Dcore.c1515 u8 key_type = NO_ENCRYPTION; local
1546 key_type = WEP40_ENCRYPTION;
1551 key_type = WEP104_ENCRYPTION;
1554 key_type = TKIP_ENCRYPTION;
1558 key_type = AESCCMP_ENCRYPTION;
1565 key_type = AESCMAC_ENCRYPTION;
1575 if (key_type == WEP40_ENCRYPTION ||
1576 key_type == WEP104_ENCRYPTION ||
1599 if (!group_key || key_type == WEP40_ENCRYPTION ||
1600 key_type
[all...]
/linux-master/drivers/video/fbdev/omap2/omapfb/dss/
H A Dmanager-sysfs.c161 enum omap_dss_trans_key_type key_type; local
166 key_type = info.trans_key_type;
167 BUG_ON(key_type >= ARRAY_SIZE(trans_key_type_str));
169 return sysfs_emit(buf, "%s\n", trans_key_type_str[key_type]);
/linux-master/certs/
H A Dblacklist.c138 static struct key_type key_type_blacklist = {
302 const struct key_type *type, const union key_payload *payload,
/linux-master/drivers/net/wireless/ti/wl1251/
H A Dmain.c837 key->key_type = KEY_WEP_DEFAULT;
839 key->key_type = KEY_WEP_ADDR;
845 key->key_type = KEY_TKIP_MIC_GROUP;
847 key->key_type = KEY_TKIP_MIC_PAIRWISE;
853 key->key_type = KEY_AES_GROUP;
855 key->key_type = KEY_AES_PAIRWISE;
929 if (wl_cmd->key_type != KEY_WEP_DEFAULT)
932 if ((wl_cmd->key_type == KEY_TKIP_MIC_GROUP) ||
933 (wl_cmd->key_type == KEY_TKIP_MIC_PAIRWISE)) {
/linux-master/drivers/net/wireless/ti/wlcore/
H A Dcmd.c1345 cmd->key_type = KEY_WEP;
1360 u16 action, u8 id, u8 key_type,
1379 if (key_type == KEY_WEP)
1388 cmd->key_type = key_type;
1395 if (key_type == KEY_TKIP) {
1429 u16 action, u8 id, u8 key_type,
1442 if (key_type == KEY_WEP)
1454 (int)key_type, (int)hlid);
1460 cmd->key_type
1359 wl1271_cmd_set_sta_key(struct wl1271 *wl, struct wl12xx_vif *wlvif, u16 action, u8 id, u8 key_type, u8 key_size, const u8 *key, const u8 *addr, u32 tx_seq_32, u16 tx_seq_16) argument
1428 wl1271_cmd_set_ap_key(struct wl1271 *wl, struct wl12xx_vif *wlvif, u16 action, u8 id, u8 key_type, u8 key_size, const u8 *key, u8 hlid, u32 tx_seq_32, u16 tx_seq_16, bool is_pairwise) argument
[all...]
/linux-master/include/uapi/linux/
H A Domapfb.h171 __u8 key_type; member in struct:omapfb_color_key
H A Dsed-opal.h60 __u8 key_type; member in struct:opal_key
/linux-master/net/rxrpc/
H A Dserver_key.c36 struct key_type key_type_rxrpc_s = {
/linux-master/drivers/staging/rtl8192e/rtl8192e/
H A Drtl_cam.c57 ieee->swcamtable[EntryNo].key_type = KeyType;
/linux-master/security/landlock/
H A Druleset.h321 const enum landlock_key_type key_type);

Completed in 440 milliseconds

1234567