Home
last modified time | relevance | path

Searched refs:pk (Results 1 – 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/drivers/hid/
Dhid-prodikeys.c53 struct pk_device *pk; member
103 struct pk_device *pk = hid_get_drvdata(hdev); in show_channel() local
105 dbg_hid("pcmidi sysfs read channel=%u\n", pk->pm->midi_channel); in show_channel()
107 return sprintf(buf, "%u (min:%u, max:%u)\n", pk->pm->midi_channel, in show_channel()
116 struct pk_device *pk = hid_get_drvdata(hdev); in store_channel() local
122 pk->pm->midi_channel = channel; in store_channel()
140 struct pk_device *pk = hid_get_drvdata(hdev); in show_sustain() local
142 dbg_hid("pcmidi sysfs read sustain=%u\n", pk->pm->midi_sustain); in show_sustain()
144 return sprintf(buf, "%u (off:%u, max:%u (ms))\n", pk->pm->midi_sustain, in show_sustain()
153 struct pk_device *pk = hid_get_drvdata(hdev); in store_sustain() local
[all …]
/kernel/linux/linux-5.10/arch/s390/crypto/
Dpaes_s390.c112 struct pkey_protkey pk; member
119 struct pkey_protkey pk[2]; member
125 struct pkey_protkey *pk) in __paes_keyblob2pkey() argument
131 ret = pkey_keyblob2pkey(kb->key, kb->keylen, pk); in __paes_keyblob2pkey()
147 memcpy(&ctx->pk, &pkey, sizeof(pkey)); in __paes_convert_key()
178 fc = (ctx->pk.type == PKEY_KEYTYPE_AES_128) ? CPACF_KM_PAES_128 : in __ecb_paes_set_key()
179 (ctx->pk.type == PKEY_KEYTYPE_AES_192) ? CPACF_KM_PAES_192 : in __ecb_paes_set_key()
180 (ctx->pk.type == PKEY_KEYTYPE_AES_256) ? CPACF_KM_PAES_256 : 0; in __ecb_paes_set_key()
218 memcpy(param.key, ctx->pk.protkey, MAXPROTKEYSIZE); in ecb_paes_crypt()
232 memcpy(param.key, ctx->pk.protkey, MAXPROTKEYSIZE); in ecb_paes_crypt()
[all …]
/kernel/linux/linux-5.10/crypto/
Decc.c1500 struct ecc_point *pk; in ecc_make_pub_key() local
1511 pk = ecc_alloc_point(ndigits); in ecc_make_pub_key()
1512 if (!pk) { in ecc_make_pub_key()
1517 ecc_point_mult(pk, &curve->g, priv, NULL, curve, ndigits); in ecc_make_pub_key()
1520 if (ecc_is_pubkey_valid_full(curve, pk)) { in ecc_make_pub_key()
1525 ecc_swap_digits(pk->x, public_key, ndigits); in ecc_make_pub_key()
1526 ecc_swap_digits(pk->y, &public_key[ndigits], ndigits); in ecc_make_pub_key()
1529 ecc_free_point(pk); in ecc_make_pub_key()
1537 struct ecc_point *pk) in ecc_is_pubkey_valid_partial() argument
1541 if (WARN_ON(pk->ndigits != curve->g.ndigits)) in ecc_is_pubkey_valid_partial()
[all …]
Decc.h174 struct ecc_point *pk);
188 struct ecc_point *pk);
/kernel/linux/linux-5.10/arch/x86/include/asm/fpu/
Dinternal.h560 struct pkru_state *pk; in switch_fpu_finish() local
584 pk = get_xsave_addr(&next_fpu->state.xsave, XFEATURE_PKRU); in switch_fpu_finish()
585 pkru_val = pk ? pk->pkru : 0; in switch_fpu_finish()
/kernel/linux/linux-5.10/fs/btrfs/
Dfile-item.c765 struct btrfs_key pk; in btrfs_del_csums() local
767 btrfs_item_key_to_cpu(leaf, &pk, slot); in btrfs_del_csums()
768 if (pk.offset < bytenr || in btrfs_del_csums()
769 pk.type != BTRFS_EXTENT_CSUM_KEY || in btrfs_del_csums()
770 pk.objectid != in btrfs_del_csums()
775 key.offset = pk.offset; in btrfs_del_csums()
/kernel/linux/linux-5.10/crypto/asymmetric_keys/
Dpublic_key.c458 const struct public_key *pk = key->payload.data[asym_crypto]; in public_key_verify_signature_2() local
459 return public_key_verify_signature(pk, sig); in public_key_verify_signature_2()
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dpgtable.h139 struct pkru_state *pk; in write_pkru() local
144 pk = get_xsave_addr(&current->thread.fpu.state.xsave, XFEATURE_PKRU); in write_pkru()
152 if (pk) in write_pkru()
153 pk->pkru = pkru; in write_pkru()
/kernel/liteos_a/lib/libmbedtls/
DBUILD.gn80 "$LITEOSTHIRDPARTY/mbedtls/library/pk.c",
/kernel/linux/linux-5.10/arch/ia64/include/asm/
Dprocessor.h95 __u64 pk : 1; member
/kernel/linux/linux-5.10/Documentation/ia64/
Dfsys.rst207 PSR.pk Unchanged.
/kernel/linux/linux-5.10/net/bluetooth/
Dsmp.c3502 u8 pk[64]; in test_debug_key() local
3509 err = generate_ecdh_public_key(tfm_ecdh, pk); in test_debug_key()
3513 if (crypto_memneq(pk, debug_pk, 64)) in test_debug_key()
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/
Dlinux-5.10.patch20267 + unsigned int pk;
20269 + pk = get_meson_cpu_version(MESON_CPU_VERSION_LVL_PACK) & 0xF0;
20270 + return pk;
/kernel/linux/linux-5.10/
DMAINTAINERS11860 M: Mark-PK Tsai <mark-pk.tsai@mediatek.com>