Searched refs:key2 (Results 51 - 75 of 76) sorted by relevance

1234

/linux-master/drivers/crypto/cavium/nitrox/
H A Dnitrox_skcipher.c356 memcpy(fctx->auth.u.key2, (key + keylen), keylen);
/linux-master/security/keys/trusted-keys/
H A Dtrusted_tpm1.c260 const unsigned char *key2,
341 ret = TSS_rawhmac(testhmac2, key2, keylen2, SHA1_DIGEST_SIZE,
255 TSS_checkhmac2(unsigned char *buffer, const uint32_t command, const unsigned char *ononce, const unsigned char *key1, unsigned int keylen1, const unsigned char *key2, unsigned int keylen2, ...) argument
/linux-master/security/selinux/ss/
H A Dpolicydb.c456 const struct range_trans *key1 = k1, *key2 = k2; local
459 v = key1->source_type - key2->source_type;
463 v = key1->target_type - key2->target_type;
467 v = key1->target_class - key2->target_class;
493 const struct role_trans_key *key1 = k1, *key2 = k2; local
496 v = key1->role - key2->role;
500 v = key1->type - key2->type;
504 return key1->tclass - key2->tclass;
/linux-master/fs/ubifs/
H A Dtnc.c2905 union ubifs_key key1, key2; local
2945 highest_ino_key(c, &key2, xattr_inum);
2946 err = ubifs_tnc_remove_range(c, &key1, &key2);
2960 highest_ino_key(c, &key2, inum);
2962 return ubifs_tnc_remove_range(c, &key1, &key2);
H A Djournal.c1852 union ubifs_key xent_key, key1, key2; local
1924 highest_ino_key(c, &key2, inode->i_ino);
1925 err = ubifs_tnc_remove_range(c, &key1, &key2);
/linux-master/drivers/infiniband/hw/mlx5/
H A Dmr.c604 struct mlx5r_cache_rb_key key2)
608 res = key1.ats - key2.ats;
612 res = key1.access_mode - key2.access_mode;
616 res = key1.access_flags - key2.access_flags;
625 return key1.ndescs - key2.ndescs;
603 cache_ent_key_cmp(struct mlx5r_cache_rb_key key1, struct mlx5r_cache_rb_key key2) argument
/linux-master/fs/smb/server/
H A Doplock.c493 const char *guid2, *key2; local
496 key2 = opinfo->o_lease->lease_key;
498 !memcmp(key1, key2, SMB2_LEASE_KEY_SIZE))
/linux-master/drivers/net/hippi/
H A Drrunner.h617 u32 key2; member in struct:eeprom_boot
/linux-master/tools/lib/bpf/
H A Dusdt.c895 static bool specs_equal_fn(long key1, long key2, void *ctx) argument
897 return strcmp((char *)key1, (char *)key2) == 0;
/linux-master/net/openvswitch/
H A Dflow_table.c666 const struct sw_flow_key *key2,
670 const long *cp2 = (const long *)((const u8 *)key2 + key_start);
665 cmp_key(const struct sw_flow_key *key1, const struct sw_flow_key *key2, int key_start, int key_end) argument
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl_erp.c1223 const struct mlxsw_sp_acl_erp_key *key2 = obj2; local
1229 return memcmp(key1->mask, key2->mask, sizeof(key1->mask));
/linux-master/drivers/crypto/
H A Datmel-aes.c133 u32 key2[AES_KEYSIZE_256 / sizeof(u32)]; member in struct:atmel_aes_xts_ctx
1638 ctx->key2, ctx->base.keylen);
1695 memcpy(ctx->key2, key + keylen/2, keylen/2);
/linux-master/fs/reiserfs/
H A Dstree.c40 * Returns: -1 if key1 < key2
41 * 0 if key1 == key2
42 * 1 if key1 > key2
65 * Returns: -1 if key1 < key2 0
66 * if key1 = key2 1 if key1 > key2
99 const struct reiserfs_key *key2)
105 k2_u32 = (__u32 *) key2;
98 comp_short_le_keys(const struct reiserfs_key *key1, const struct reiserfs_key *key2) argument
/linux-master/drivers/crypto/marvell/octeontx/
H A Dotx_cptvf_algs.c397 const u8 *key2 = key + (keylen / 2); local
406 memcpy(ctx->enc_key + KEY2_OFFSET, key2, keylen / 2);
/linux-master/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptvf_algs.c415 const u8 *key2 = key + (keylen / 2); local
425 memcpy(ctx->enc_key + KEY2_OFFSET, key2, keylen / 2);
/linux-master/net/mptcp/
H A Dsubflow.c50 static void subflow_generate_hmac(u64 key1, u64 key2, u32 nonce1, u32 nonce2, argument
58 mptcp_crypto_hmac_sha(key1, key2, msg, 8, hmac);
H A Doptions.c622 static u64 add_addr_generate_hmac(u64 key1, u64 key2, argument
644 mptcp_crypto_hmac_sha(key1, key2, msg, i, hmac);
H A Dprotocol.h960 void mptcp_crypto_hmac_sha(u64 key1, u64 key2, u8 *msg, int len, void *hmac);
/linux-master/drivers/pinctrl/bcm/
H A Dpinctrl-cygnus-mux.c502 CYGNUS_PIN_GROUP(key2, 0x4, 8, 1),
/linux-master/sound/pci/asihpi/
H A Dhpi_internal.h671 u16 key2; member in struct:hpi_adapterx_msg::__anon4090
/linux-master/fs/btrfs/
H A Dioctl.c1930 struct btrfs_key key, key2; local
1996 btrfs_item_key_to_cpu(leaf, &key2, slot);
1997 if (key2.objectid != dirid) {
2009 temp_inode = btrfs_iget(sb, key2.objectid, root);
H A Drelocation.c1142 struct btrfs_disk_key key2; local
1144 btrfs_node_key(path->nodes[level], &key2, path->slots[level]);
1145 return memcmp(&key1, &key2, sizeof(key1));
/linux-master/tools/perf/util/
H A Dannotate.c93 static bool sym_hist_equal(long key1, long key2, void *ctx __maybe_unused) argument
95 return key1 == key2;
/linux-master/drivers/crypto/ccree/
H A Dcc_cipher.c266 u8 key2[DES_KEY_SIZE]; member in struct:tdes_keys
360 dev_err(dev, "Unsupported hw key2 number (%d)\n",
475 /* sha256 for key2 - use sw implementation */
/linux-master/fs/ntfs3/
H A Dntfs_fs.h175 typedef int (*NTFS_CMP_FUNC)(const void *key1, size_t len1, const void *key2,

Completed in 357 milliseconds

1234