Searched refs:pk (Results 1 – 9 of 9) sorted by relevance
/Linux-v4.19/drivers/hid/ |
D | hid-prodikeys.c | 57 struct pk_device *pk; member 107 struct pk_device *pk = hid_get_drvdata(hdev); in show_channel() local 109 dbg_hid("pcmidi sysfs read channel=%u\n", pk->pm->midi_channel); in show_channel() 111 return sprintf(buf, "%u (min:%u, max:%u)\n", pk->pm->midi_channel, in show_channel() 120 struct pk_device *pk = hid_get_drvdata(hdev); in store_channel() local 126 pk->pm->midi_channel = channel; in store_channel() 144 struct pk_device *pk = hid_get_drvdata(hdev); in show_sustain() local 146 dbg_hid("pcmidi sysfs read sustain=%u\n", pk->pm->midi_sustain); in show_sustain() 148 return sprintf(buf, "%u (off:%u, max:%u (ms))\n", pk->pm->midi_sustain, in show_sustain() 157 struct pk_device *pk = hid_get_drvdata(hdev); in store_sustain() local [all …]
|
/Linux-v4.19/arch/s390/crypto/ |
D | paes_s390.c | 35 struct pkey_protkey pk; member 41 struct pkey_protkey pk[2]; member 46 struct pkey_protkey *pk) in __paes_convert_key() argument 52 ret = pkey_skey2pkey(sk, pk); in __paes_convert_key() 64 if (__paes_convert_key(&ctx->sk, &ctx->pk)) in __paes_set_key() 68 fc = (ctx->pk.type == PKEY_KEYTYPE_AES_128) ? CPACF_KM_PAES_128 : in __paes_set_key() 69 (ctx->pk.type == PKEY_KEYTYPE_AES_192) ? CPACF_KM_PAES_192 : in __paes_set_key() 70 (ctx->pk.type == PKEY_KEYTYPE_AES_256) ? CPACF_KM_PAES_256 : 0; in __paes_set_key() 106 k = cpacf_km(ctx->fc | modifier, ctx->pk.protkey, in ecb_paes_crypt() 163 if (__paes_convert_key(&ctx->sk, &ctx->pk)) in __cbc_paes_set_key() [all …]
|
/Linux-v4.19/crypto/ |
D | ecc.c | 990 struct ecc_point *pk; in ecc_make_pub_key() local 1001 pk = ecc_alloc_point(ndigits); in ecc_make_pub_key() 1002 if (!pk) { in ecc_make_pub_key() 1007 ecc_point_mult(pk, &curve->g, priv, NULL, curve->p, ndigits); in ecc_make_pub_key() 1008 if (ecc_point_is_zero(pk)) { in ecc_make_pub_key() 1013 ecc_swap_digits(pk->x, public_key, ndigits); in ecc_make_pub_key() 1014 ecc_swap_digits(pk->y, &public_key[ndigits], ndigits); in ecc_make_pub_key() 1017 ecc_free_point(pk); in ecc_make_pub_key() 1024 struct ecc_point *pk) in ecc_is_pubkey_valid_partial() argument 1029 if (ecc_point_is_zero(pk)) in ecc_is_pubkey_valid_partial() [all …]
|
/Linux-v4.19/arch/s390/kernel/ |
D | suspend.c | 79 struct page_key_data *pk; in page_key_alloc() local 84 pk = (struct page_key_data *) get_zeroed_page(GFP_KERNEL); in page_key_alloc() 85 if (!pk) { in page_key_alloc() 89 pk->next = page_key_data; in page_key_alloc() 90 page_key_data = pk; in page_key_alloc()
|
/Linux-v4.19/crypto/asymmetric_keys/ |
D | public_key.c | 157 const struct public_key *pk = key->payload.data[asym_crypto]; in public_key_verify_signature_2() local 158 return public_key_verify_signature(pk, sig); in public_key_verify_signature_2()
|
/Linux-v4.19/fs/btrfs/ |
D | file-item.c | 643 struct btrfs_key pk; in btrfs_del_csums() local 645 btrfs_item_key_to_cpu(leaf, &pk, slot); in btrfs_del_csums() 646 if (pk.offset < bytenr || in btrfs_del_csums() 647 pk.type != BTRFS_EXTENT_CSUM_KEY || in btrfs_del_csums() 648 pk.objectid != in btrfs_del_csums() 653 key.offset = pk.offset; in btrfs_del_csums()
|
/Linux-v4.19/arch/ia64/include/asm/ |
D | processor.h | 95 __u64 pk : 1; member
|
/Linux-v4.19/Documentation/ia64/ |
D | fsys.txt | 196 PSR.pk Unchanged.
|
/Linux-v4.19/net/bluetooth/ |
D | smp.c | 3561 u8 pk[64]; in test_debug_key() local 3568 err = generate_ecdh_public_key(tfm_ecdh, pk); in test_debug_key() 3572 if (crypto_memneq(pk, debug_pk, 64)) in test_debug_key()
|