| /linux-6.15/drivers/crypto/intel/keembay/ |
| H A D | keembay-ocs-ecc.c | 366 if (vli_cmp(curve->p, pk->x, pk->ndigits) != 1) in kmb_ocs_ecc_is_pubkey_valid_partial() 369 if (vli_cmp(curve->p, pk->y, pk->ndigits) != 1) in kmb_ocs_ecc_is_pubkey_valid_partial() 376 rc = kmb_ecc_do_scalar_op(ecc_dev, yy, pk->y, pk->y, curve, pk->ndigits, in kmb_ocs_ecc_is_pubkey_valid_partial() 385 rc = kmb_ecc_do_scalar_op(ecc_dev, xxx, pk->x, w, curve, pk->ndigits, in kmb_ocs_ecc_is_pubkey_valid_partial() 392 pk->ndigits, in kmb_ocs_ecc_is_pubkey_valid_partial() 399 pk->ndigits, in kmb_ocs_ecc_is_pubkey_valid_partial() 600 if (!pk) in kmb_ecc_do_shared_secret() 652 ecc_free_point(pk); in kmb_ecc_do_shared_secret() 672 if (!pk) in kmb_ecc_do_public_key() 688 ecc_swap_digits(pk->x, pubk_buf, pk->ndigits); in kmb_ecc_do_public_key() [all …]
|
| /linux-6.15/arch/s390/crypto/ |
| H A D | paes_s390.c | 168 struct paes_protkey pk; member 175 struct paes_protkey pk[2]; member 181 struct paes_protkey *pk) in __paes_keyblob2pkey() argument 191 rc = pkey_key2protkey(key, keylen, pk->protkey, &pk->len, in __paes_keyblob2pkey() 192 &pk->type); in __paes_keyblob2pkey() 200 struct paes_protkey pk; in __paes_convert_key() local 203 pk.len = sizeof(pk.protkey); in __paes_convert_key() 209 memcpy(&ctx->pk, &pk, sizeof(pk)); in __paes_convert_key() 507 ctx->pk[0] = pk0; in __xts_paes_convert_key() 508 ctx->pk[1] = pk1; in __xts_paes_convert_key() [all …]
|
| /linux-6.15/security/integrity/ |
| H A D | digsig_asymmetric.c | 87 const struct public_key *pk; in asymmetric_verify() local 110 pk = asymmetric_key_public_key(key); in asymmetric_verify() 111 pks.pkey_algo = pk->pkey_algo; in asymmetric_verify() 112 if (!strcmp(pk->pkey_algo, "rsa")) { in asymmetric_verify() 114 } else if (!strncmp(pk->pkey_algo, "ecdsa-", 6)) { in asymmetric_verify() 117 } else if (!strcmp(pk->pkey_algo, "ecrdsa")) { in asymmetric_verify()
|
| /linux-6.15/crypto/ |
| H A D | ecc.c | 1570 struct ecc_point *pk; in ecc_make_pub_key() local 1579 if (!pk) { in ecc_make_pub_key() 1596 ecc_free_point(pk); in ecc_make_pub_key() 1604 struct ecc_point *pk) in ecc_is_pubkey_valid_partial() argument 1612 if (ecc_point_is_zero(pk)) in ecc_is_pubkey_valid_partial() 1616 if (vli_cmp(curve->p, pk->x, pk->ndigits) != 1) in ecc_is_pubkey_valid_partial() 1618 if (vli_cmp(curve->p, pk->y, pk->ndigits) != 1) in ecc_is_pubkey_valid_partial() 1637 struct ecc_point *pk) in ecc_is_pubkey_valid_full() argument 1652 ecc_point_mult(nQ, pk, curve->n, NULL, curve, pk->ndigits); in ecc_is_pubkey_valid_full() 1682 if (!pk) { in crypto_ecdh_shared_secret() [all …]
|
| /linux-6.15/include/crypto/internal/ |
| H A D | ecc.h | 161 struct ecc_point *pk); 175 struct ecc_point *pk);
|
| /linux-6.15/Documentation/devicetree/bindings/phy/ |
| H A D | fsl,imx8mq-usb-phy.yaml | 65 Adjust the boosted transmit launch pk-pk differential amplitude
|
| /linux-6.15/fs/btrfs/ |
| H A D | file-item.c | 937 struct btrfs_key pk; in btrfs_del_csums() local 939 btrfs_item_key_to_cpu(leaf, &pk, slot); in btrfs_del_csums() 940 if (pk.offset < bytenr || in btrfs_del_csums() 941 pk.type != BTRFS_EXTENT_CSUM_KEY || in btrfs_del_csums() 942 pk.objectid != in btrfs_del_csums() 947 key.offset = pk.offset; in btrfs_del_csums()
|
| /linux-6.15/Documentation/devicetree/bindings/interrupt-controller/ |
| H A D | mstar,mst-intc.yaml | 10 - Mark-PK Tsai <mark-pk[email protected]>
|
| /linux-6.15/crypto/asymmetric_keys/ |
| H A D | public_key.c | 439 const struct public_key *pk = key->payload.data[asym_crypto]; in public_key_verify_signature_2() local 440 return public_key_verify_signature(pk, sig); in public_key_verify_signature_2()
|
| /linux-6.15/net/bluetooth/ |
| H A D | smp.c | 3475 u8 pk[64]; in test_debug_key() local 3482 err = generate_ecdh_public_key(tfm_ecdh, pk); in test_debug_key() 3486 if (crypto_memneq(pk, debug_pk, 64)) in test_debug_key()
|
| /linux-6.15/ |
| H A D | MAINTAINERS | 16658 M: Mark-PK Tsai <mark-pk[email protected]>
|