| /OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/crypt/ |
| H A D | derive_key_taf.c | 59 uint8_t key2[32] = { }; in derive_ta_unique_key_test() local 82 res = derive_unique_key(session, key2, sizeof(key2), NULL, 0); in derive_ta_unique_key_test() 86 if (TEE_MemCompare(key1, key2, sizeof(key1)) != 0) in derive_ta_unique_key_test() 90 TEE_MemFill(key2, 0, sizeof(key2)); in derive_ta_unique_key_test() 102 res = derive_unique_key(session, key2, sizeof(key2), extra_key_data, in derive_ta_unique_key_test() 107 if (TEE_MemCompare(key1, key2, sizeof(key1)) != 0) in derive_ta_unique_key_test() 111 TEE_MemFill(key2, 0, sizeof(key2)); in derive_ta_unique_key_test() 123 res = derive_unique_key(session, key2, sizeof(key2), NULL, 0); in derive_ta_unique_key_test() 128 if (TEE_MemCompare(key1, key2, sizeof(key1)) == 0) in derive_ta_unique_key_test() 132 TEE_MemFill(key2, 0, sizeof(key2)); in derive_ta_unique_key_test()
|
| /OK3568_Linux_fs/kernel/drivers/input/keyboard/ |
| H A D | ep93xx_keypad.c | 73 int key2; member 85 int keycode, key1, key2; in ep93xx_keypad_irq_handler() local 93 key2 = keypad->keycodes[keycode]; in ep93xx_keypad_irq_handler() 96 if (keypad->key1 && key1 != keypad->key1 && key2 != keypad->key1) in ep93xx_keypad_irq_handler() 99 if (keypad->key2 && key1 != keypad->key2 && key2 != keypad->key2) in ep93xx_keypad_irq_handler() 100 input_report_key(input_dev, keypad->key2, 0); in ep93xx_keypad_irq_handler() 103 input_report_key(input_dev, key2, 1); in ep93xx_keypad_irq_handler() 106 keypad->key2 = key2; in ep93xx_keypad_irq_handler() 112 if (keypad->key2 && key1 != keypad->key2) in ep93xx_keypad_irq_handler() 113 input_report_key(input_dev, keypad->key2, 0); in ep93xx_keypad_irq_handler() [all …]
|
| /OK3568_Linux_fs/kernel/fs/befs/ |
| H A D | btree.c | 120 const void *key2, int keylen2); 713 const void *key2, int keylen2) in befs_compare_strings() argument 716 int result = strncmp(key1, key2, len); in befs_compare_strings() 725 btree_compare_int32(cont void *key1, int keylen1, const void *key2, int keylen2) 727 return *(int32_t *) key1 - *(int32_t *) key2; 732 const void *key2, int keylen2) 734 if (*(u_int32_t *) key1 == *(u_int32_t *) key2) 736 else if (*(u_int32_t *) key1 > *(u_int32_t *) key2) 742 btree_compare_int64(cont void *key1, int keylen1, const void *key2, int keylen2) 744 if (*(int64_t *) key1 == *(int64_t *) key2) [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/crypto/ |
| H A D | aes-ce-core.S | 26 .macro enc_dround, key1, key2 argument 28 enc_round q0, \key2 31 .macro dec_dround, key1, key2 argument 33 dec_round q0, \key2 36 .macro enc_fround, key1, key2, key3 38 aese.8 q0, \key2 42 .macro dec_fround, key1, key2, key3 44 aesd.8 q0, \key2 48 .macro enc_dround_4x, key1, key2 argument 53 enc_round q0, \key2 [all …]
|
| H A D | aes-ce-glue.c | 147 struct crypto_aes_ctx __aligned(8) key2; 162 ret = ce_aes_expandkey(&ctx->key2, &in_key[key_len / 2], in xts_set_key() 488 ctx->key2.key_enc, first); in xts_encrypt() 510 ctx->key2.key_enc, first); in xts_encrypt() 560 ctx->key2.key_enc, first); in xts_decrypt() 582 ctx->key2.key_enc, first); in xts_decrypt()
|
| /OK3568_Linux_fs/u-boot/fs/ubifs/ |
| H A D | key.h | 474 const union ubifs_key *key2) in keys_cmp() argument 476 if (key1->u32[0] < key2->u32[0]) in keys_cmp() 478 if (key1->u32[0] > key2->u32[0]) in keys_cmp() 480 if (key1->u32[1] < key2->u32[1]) in keys_cmp() 482 if (key1->u32[1] > key2->u32[1]) in keys_cmp() 499 const union ubifs_key *key2) in keys_eq() argument 501 if (key1->u32[0] != key2->u32[0]) in keys_eq() 503 if (key1->u32[1] != key2->u32[1]) in keys_eq()
|
| H A D | tnc_misc.c | 358 const union ubifs_key *key1, *key2; in read_znode() local 361 key2 = &znode->zbranch[i + 1].key; in read_znode() 363 cmp = keys_cmp(c, key1, key2); in read_znode()
|
| /OK3568_Linux_fs/kernel/fs/ubifs/ |
| H A D | key.h | 480 const union ubifs_key *key2) in keys_cmp() argument 482 if (key1->u32[0] < key2->u32[0]) in keys_cmp() 484 if (key1->u32[0] > key2->u32[0]) in keys_cmp() 486 if (key1->u32[1] < key2->u32[1]) in keys_cmp() 488 if (key1->u32[1] > key2->u32[1]) in keys_cmp() 505 const union ubifs_key *key2) in keys_eq() argument 507 if (key1->u32[0] != key2->u32[0]) in keys_eq() 509 if (key1->u32[1] != key2->u32[1]) in keys_eq()
|
| H A D | tnc_misc.c | 369 const union ubifs_key *key1, *key2; in read_znode() local 372 key2 = &znode->zbranch[i + 1].key; in read_znode() 374 cmp = keys_cmp(c, key1, key2); in read_znode()
|
| /OK3568_Linux_fs/kernel/kernel/ |
| H A D | futex.c | 378 static inline int match_futex(union futex_key *key1, union futex_key *key2) in match_futex() argument 380 return (key1 && key2 in match_futex() 381 && key1->both.word == key2->both.word in match_futex() 382 && key1->both.ptr == key2->both.ptr in match_futex() 383 && key1->both.offset == key2->both.offset); in match_futex() 1694 union futex_key key1 = FUTEX_KEY_INIT, key2 = FUTEX_KEY_INIT; in futex_wake_op() local 1704 ret = get_futex_key(uaddr2, flags & FLAGS_SHARED, &key2, FUTEX_WRITE); in futex_wake_op() 1709 hb2 = hash_futex(&key2); in futex_wake_op() 1757 if (match_futex (&this->key, &key2)) { in futex_wake_op() 1785 struct futex_hash_bucket *hb2, union futex_key *key2) in requeue_futex() argument [all …]
|
| /OK3568_Linux_fs/kernel/net/mptcp/ |
| H A D | crypto_test.c | 37 u64 key1, key2; in mptcp_crypto_test_basic() local 44 key2 = be64_to_cpu(*((__be64 *)&tests[i].key[8])); in mptcp_crypto_test_basic() 51 mptcp_crypto_hmac_sha(key1, key2, msg, 8, hmac); in mptcp_crypto_test_basic()
|
| H A D | crypto.c | 44 void mptcp_crypto_hmac_sha(u64 key1, u64 key2, u8 *msg, int len, void *hmac) in mptcp_crypto_hmac_sha() argument 55 put_unaligned_be64(key2, key2be); in mptcp_crypto_hmac_sha()
|
| /OK3568_Linux_fs/kernel/security/selinux/ss/ |
| H A D | symtab.c | 26 static int symcmp(const void *key1, const void *key2) in symcmp() argument 31 keyp2 = key2; in symcmp()
|
| /OK3568_Linux_fs/kernel/fs/cifs/ |
| H A D | smbencrypt.c | 61 unsigned char key2[8]; in smbhash() local 64 str_to_key(key, key2); in smbhash() 71 des_expand_key(&ctx, key2, DES_KEY_SIZE); in smbhash()
|
| /OK3568_Linux_fs/kernel/drivers/crypto/vmx/ |
| H A D | aesp8-ppc.h | 22 const struct aes_key *key1, const struct aes_key *key2, u8 *iv); 24 const struct aes_key *key1, const struct aes_key *key2, u8 *iv);
|
| /OK3568_Linux_fs/kernel/arch/arm64/crypto/ |
| H A D | aes-glue.c | 112 struct crypto_aes_ctx __aligned(8) key2; 117 struct crypto_aes_ctx __aligned(8) key2; 151 ret = aes_expandkey(&ctx->key2, &in_key[key_len / 2], in xts_set_key() 170 return aes_expandkey(&ctx->key2, digest, sizeof(digest)); in essiv_cbc_set_key() 416 req->iv, ctx->key2.key_enc); in essiv_cbc_encrypt() 438 req->iv, ctx->key2.key_enc); in essiv_cbc_decrypt() 528 ctx->key2.key_enc, walk.iv, first); in xts_encrypt() 550 ctx->key2.key_enc, walk.iv, first); in xts_encrypt() 600 ctx->key2.key_enc, walk.iv, first); in xts_decrypt() 623 ctx->key2.key_enc, walk.iv, first); in xts_decrypt()
|
| /OK3568_Linux_fs/kernel/kernel/bpf/ |
| H A D | local_storage.c | 45 const struct bpf_cgroup_storage_key *key2 = _key2; in bpf_cgroup_storage_key_cmp() local 47 if (key1->cgroup_inode_id < key2->cgroup_inode_id) in bpf_cgroup_storage_key_cmp() 49 else if (key1->cgroup_inode_id > key2->cgroup_inode_id) in bpf_cgroup_storage_key_cmp() 51 else if (key1->attach_type < key2->attach_type) in bpf_cgroup_storage_key_cmp() 53 else if (key1->attach_type > key2->attach_type) in bpf_cgroup_storage_key_cmp()
|
| /OK3568_Linux_fs/kernel/fs/hfs/ |
| H A D | catalog.c | 171 int hfs_cat_keycmp(const btree_key *key1, const btree_key *key2) in hfs_cat_keycmp() argument 176 k2p = key2->cat.ParID; in hfs_cat_keycmp() 182 key2->cat.CName.name, key2->cat.CName.len); in hfs_cat_keycmp()
|
| H A D | extent.c | 50 int hfs_ext_keycmp(const btree_key *key1, const btree_key *key2) in hfs_ext_keycmp() argument 56 fnum2 = key2->ext.FNum; in hfs_ext_keycmp() 59 if (key1->ext.FkType != key2->ext.FkType) in hfs_ext_keycmp() 60 return key1->ext.FkType < key2->ext.FkType ? -1 : 1; in hfs_ext_keycmp() 63 block2 = key2->ext.FABN; in hfs_ext_keycmp()
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/sw/rxe/ |
| H A D | rxe_verbs.h | 17 static inline int pkey_match(u16 key1, u16 key2) in pkey_match() argument 20 ((key1 & 0x7fff) == (key2 & 0x7fff)) && in pkey_match() 21 ((key1 & 0x8000) || (key2 & 0x8000))) ? 1 : 0; in pkey_match()
|
| /OK3568_Linux_fs/kernel/tools/perf/Documentation/ |
| H A D | perf-kmem.txt | 42 -s <key[,key2...]>:: 43 --sort=<key[,key2...]>::
|
| /OK3568_Linux_fs/kernel/tools/bootconfig/samples/ |
| H A D | escaped.bconf | 2 key2 = '\'\''
|
| H A D | good-single.bconf | 3 key2 = 2
|
| /OK3568_Linux_fs/external/security/librkcrypto/test/c_mode/ |
| H A D | aes_xts.c | 9 static int aes_xts128_encrypt(const RK_AES_KEY *key1, const RK_AES_KEY *key2, in aes_xts128_encrypt() argument 22 rk_aes_encrypt(tweak.c, tweak.c, key2); in aes_xts128_encrypt()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ |
| H A D | key.c | 134 u32 key0, key1, key2, key3, key4; in ath_hw_set_keycache_entry() local 186 key2 = get_unaligned_le32(k->kv_val + 6); in ath_hw_set_keycache_entry() 212 REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), key2); in ath_hw_set_keycache_entry() 323 REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), key2); in ath_hw_set_keycache_entry()
|