/openbmc/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76x02_util.c | 409 struct ieee80211_key_conf *key) in mt76x02_set_key() argument 415 int idx = key->keyidx; in mt76x02_set_key() 419 switch (key->cipher) { in mt76x02_set_key() 435 (key->cipher == WLAN_CIPHER_SUITE_TKIP || in mt76x02_set_key() 436 key->cipher == WLAN_CIPHER_SUITE_CCMP) && in mt76x02_set_key() 437 !(key->flags & IEEE80211_KEY_FLAG_PAIRWISE)) in mt76x02_set_key() 466 key->hw_key_idx = wcid->idx; in mt76x02_set_key() 468 if (key->flags & IEEE80211_KEY_FLAG_RX_MGMT) { in mt76x02_set_key() 469 key->flags |= IEEE80211_KEY_FLAG_SW_MGMT_TX; in mt76x02_set_key() 472 mt76_wcid_key_setup(&dev->mt76, wcid, key); in mt76x02_set_key() [all …]
|
/openbmc/phosphor-gpio-monitor/ |
H A D | mainapp.cpp | 33 std::string key{}; in main() local 42 app.add_option("-k,--key", key, "Input GPIO key number")->required(); in main() 77 phosphor::gpio::Monitor monitor(path, std::stoi(key), std::stoi(polarity), in main()
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | test_vmalloc.sh | 125 key=${passed_arg//=*/} 130 if [[ $key = $valid_arg ]] && [[ $val -gt 0 ]]; then 137 echo "Error: key or value is not correct: ${key} $val"
|
/openbmc/linux/drivers/md/ |
H A D | dm-bio-prison-v2.h | 53 struct dm_cell_key_v2 key; member 89 struct dm_cell_key_v2 *key, 117 struct dm_cell_key_v2 *key,
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_ipsec.h | 35 u32 key[4]; member 52 u32 key[4]; member 81 u32 key[5]; member
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | stacktrace_map_raw_tp.c | 9 __u32 key, val, duration = 0; in test_stacktrace_map_raw_tp() local 44 key = 0; in test_stacktrace_map_raw_tp() 46 bpf_map_update_elem(control_map_fd, &key, &val, 0); in test_stacktrace_map_raw_tp()
|
/openbmc/linux/tools/perf/scripts/python/ |
H A D | stat-cpi.py | 28 key = get_key(time, event, cpu, thread) 29 data[key] = [ val, ena, run] 32 key = get_key(time, event, cpu, thread) 33 return data[key][0]
|
/openbmc/openbmc-test-automation/lib/ |
H A D | data_proc.tcl | 232 set new_key $key 308 set value $source_arr_ref($key) 310 set new_key [convert_array_key $key $convert_commands $prefix] 321 set new_key [convert_array_key $key $convert_commands $prefix]
|
/openbmc/openbmc/meta-aspeed/recipes-kernel/linux/linux-aspeed/ |
H A D | rsa_oem_fitimage_key.key | 1 # Kernel fitImage 'Insecure' key (also known as 'development' or 2 # 'imprint' key), used to sign development images of the OpenBMC 3 # Kernel fitImage. This key SHOULD NOT be used to sign 5 # This key is 4096 bits in size and can be used by adjusting
|
/openbmc/linux/drivers/crypto/vmx/ |
H A D | aes_cbc.c | 51 static int p8_aes_cbc_setkey(struct crypto_skcipher *tfm, const u8 *key, in p8_aes_cbc_setkey() argument 60 ret = aes_p8_set_encrypt_key(key, keylen * 8, &ctx->enc_key); in p8_aes_cbc_setkey() 61 ret |= aes_p8_set_decrypt_key(key, keylen * 8, &ctx->dec_key); in p8_aes_cbc_setkey() 66 ret |= crypto_skcipher_setkey(ctx->fallback, key, keylen); in p8_aes_cbc_setkey()
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | core_kern.c | 14 __type(key, u32); 21 __type(key, u32); 29 int key = bpf_get_prandom_u32() & 0xff; in randmap() local 35 val = bpf_map_lookup_elem(map, &key); in randmap()
|
H A D | test_select_reuseport_kern.c | 25 __type(key, __u32); 32 __type(key, __u32); 39 __type(key, __u32); 46 __type(key, __u32); 53 __type(key, __u32);
|
H A D | local_storage.c | 29 __type(key, int); 36 __type(key, int); 43 __type(key, int); 50 __type(key, int); 57 __type(key, int);
|
/openbmc/linux/crypto/ |
H A D | des_generic.c | 19 static int des_setkey(struct crypto_tfm *tfm, const u8 *key, in des_setkey() argument 25 err = des_expand_key(dctx, key, keylen); in des_setkey() 51 static int des3_ede_setkey(struct crypto_tfm *tfm, const u8 *key, in des3_ede_setkey() argument 57 err = des3_ede_expand_key(dctx, key, keylen); in des3_ede_setkey()
|
H A D | khazad.c | 760 const __be32 *key = (const __be32 *)in_key; in khazad_setkey() local 766 K2 = ((u64)be32_to_cpu(key[0]) << 32) | be32_to_cpu(key[1]); in khazad_setkey() 767 K1 = ((u64)be32_to_cpu(key[2]) << 32) | be32_to_cpu(key[3]); in khazad_setkey()
|
/openbmc/linux/net/mac80211/ |
H A D | key.h | 147 int ieee80211_key_link(struct ieee80211_key *key, 150 int ieee80211_set_tx_key(struct ieee80211_key *key); 151 void ieee80211_key_free(struct ieee80211_key *key, bool delay_tailroom); 152 void ieee80211_key_free_unused(struct ieee80211_key *key);
|
/openbmc/linux/drivers/net/wireless/microchip/wilc1000/ |
H A D | fw.h | 47 u8 key[]; member 54 u8 key[]; member 62 u8 key[]; member 70 u8 key[]; member
|
/openbmc/u-boot/drivers/input/ |
H A D | cros_ec_keyb.c | 46 struct key_matrix_key *key; in check_for_keys() local 75 key = keys + num_keys++; in check_for_keys() 76 key->row = row; in check_for_keys() 77 key->col = col; in check_for_keys() 78 key->valid = 1; in check_for_keys()
|
/openbmc/qemu/tests/bench/ |
H A D | benchmark-crypto-cipher.c | 24 uint8_t *key = NULL, *iv = NULL; in test_cipher_speed() local 41 key = g_new0(uint8_t, nkey); in test_cipher_speed() 42 memset(key, g_test_rand_int(), nkey); in test_cipher_speed() 53 key, nkey, &err); in test_cipher_speed() 99 g_free(key); in test_cipher_speed()
|
/openbmc/linux/drivers/crypto/allwinner/sun8i-ss/ |
H A D | sun8i-ss.h | 210 u32 *key; member 236 u8 key[SHA256_BLOCK_SIZE]; member 288 int sun8i_ss_aes_setkey(struct crypto_skcipher *tfm, const u8 *key, 290 int sun8i_ss_des3_setkey(struct crypto_skcipher *tfm, const u8 *key, 317 int sun8i_ss_hmac_setkey(struct crypto_ahash *ahash, const u8 *key,
|
/openbmc/linux/security/selinux/ss/ |
H A D | hashtab.c | 51 void *key, void *datum) in __hashtab_insert() argument 58 newnode->key = key; in __hashtab_insert() 97 ret = apply(cur->key, cur->datum, args); in hashtab_map() 180 destroy(cur->key, cur->datum, args); in hashtab_duplicate()
|
/openbmc/linux/Documentation/translations/zh_CN/admin-guide/ |
H A D | bootconfig.rst | 135 key = 1 # comment 264 xbc_find_value("key.word", &vnode); 275 root = xbc_find_node("key.prefix"); 282 这将访问值“key.prefix.option”的值和“key.prefix.array-option”的数组。
|
/openbmc/linux/arch/powerpc/crypto/ |
H A D | poly1305-p10-glue.c | 56 struct poly1305_core_key *key = &dctx->core_r; in crypto_poly1305_setdctxkey() local 58 key->key.r64[0] = get_unaligned_le64(&inp[0]); in crypto_poly1305_setdctxkey() 59 key->key.r64[1] = get_unaligned_le64(&inp[8]); in crypto_poly1305_setdctxkey()
|
/openbmc/linux/arch/x86/kvm/ |
H A D | xen.h | 47 if (static_branch_unlikely(&kvm_xen_enabled.key) && in kvm_xen_sw_enable_lapic() 55 return static_branch_unlikely(&kvm_xen_enabled.key) && in kvm_xen_msr_enabled() 61 return static_branch_unlikely(&kvm_xen_enabled.key) && in kvm_xen_hypercall_enabled() 68 if (static_branch_unlikely(&kvm_xen_enabled.key) && in kvm_xen_has_interrupt() 78 return static_branch_unlikely(&kvm_xen_enabled.key) && in kvm_xen_has_pending_events()
|
/openbmc/linux/arch/arm/crypto/ |
H A D | crc32-ce-glue.c | 38 u32 *key = crypto_tfm_ctx(tfm); in crc32_cra_init() local 40 *key = 0; in crc32_cra_init() 46 u32 *key = crypto_tfm_ctx(tfm); in crc32c_cra_init() local 48 *key = ~0; in crc32c_cra_init() 52 static int crc32_setkey(struct crypto_shash *hash, const u8 *key, in crc32_setkey() argument 59 *mctx = le32_to_cpup((__le32 *)key); in crc32_setkey()
|