/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | vport.c | 581 u16 *pkey) in mlx5_query_hca_vport_pkey() 605 out_sz += nout * MLX5_ST_SZ_BYTES(pkey); in mlx5_query_hca_vport_pkey() 633 pkarr = MLX5_ADDR_OF(query_hca_vport_pkey_out, out, pkey); in mlx5_query_hca_vport_pkey() 634 for (i = 0; i < nout; i++, pkey++, pkarr += MLX5_ST_SZ_BYTES(pkey)) in mlx5_query_hca_vport_pkey() 635 *pkey = MLX5_GET_PR(pkey, pkarr, pkey); in mlx5_query_hca_vport_pkey() 579 mlx5_query_hca_vport_pkey(struct mlx5_core_dev *dev, u8 other_vport, u8 port_num, u16 vf_num, u16 pkey_index, u16 *pkey) mlx5_query_hca_vport_pkey() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | vport.c | 585 u16 *pkey) in mlx5_query_hca_vport_pkey() 609 out_sz += nout * MLX5_ST_SZ_BYTES(pkey); in mlx5_query_hca_vport_pkey() 637 pkarr = MLX5_ADDR_OF(query_hca_vport_pkey_out, out, pkey); in mlx5_query_hca_vport_pkey() 638 for (i = 0; i < nout; i++, pkey++, pkarr += MLX5_ST_SZ_BYTES(pkey)) in mlx5_query_hca_vport_pkey() 639 *pkey = MLX5_GET_PR(pkey, pkarr, pkey); in mlx5_query_hca_vport_pkey() 583 mlx5_query_hca_vport_pkey(struct mlx5_core_dev *dev, u8 other_vport, u8 port_num, u16 vf_num, u16 pkey_index, u16 *pkey) mlx5_query_hca_vport_pkey() argument
|
/third_party/mbedtls/tests/data_files/ |
H A D | Makefile | 63 $(OPENSSL) pkey -in $< -out $@ -inform PEM -outform DER -passin "pass:$(test_ca_pwd_rsa)" 272 $(OPENSSL) pkey -in $(test_ca_key_file_ec) -out $@ -inform PEM -outform DER 349 $(OPENSSL) pkey -in $< -out $@ -inform PEM -outform DER 432 $(OPENSSL) pkey -in $< -out $@ -inform PEM -outform DER 442 $(OPENSSL) pkey -in $< -out $@ -inform PEM -outform DER 1257 $(OPENSSL) pkey -in $< -inform DER -out $@ 1260 $(OPENSSL) pkey -in $< -inform DER -out $@ 1263 $(OPENSSL) pkey -in $< -inform DER -out $@ 1266 $(OPENSSL) pkey -in $< -inform DER -out $@ 1270 $(OPENSSL) pkey [all...] |
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | fib_trie.c | 1494 t_key pkey = pn->key; in fib_table_lookup() local 1510 cindex = get_index(pkey, pn); in fib_table_lookup() 1762 t_key pkey = pn->key; in leaf_walk_rcu() local 1765 cindex = get_index(pkey, pn) + 1; in leaf_walk_rcu() 1804 t_key pkey = pn->key; in fib_trie_free() local 1816 cindex = get_index(pkey, pn); in fib_trie_free() 1922 t_key pkey = pn->key; in fib_table_flush_external() local 1934 cindex = get_index(pkey, pn); in fib_table_flush_external() 1993 t_key pkey = pn->key; in fib_table_flush() local 2005 cindex = get_index(pkey, p in fib_table_flush() 2078 t_key pkey = pn->key; __fib_info_notify_update() local 2416 t_key pkey; fib_trie_get_next() local [all...] |
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | fib_trie.c | 1541 t_key pkey = pn->key; in fib_table_lookup() local 1557 cindex = get_index(pkey, pn); in fib_table_lookup() 1812 t_key pkey = pn->key; in leaf_walk_rcu() local 1815 cindex = get_index(pkey, pn) + 1; in leaf_walk_rcu() 1854 t_key pkey = pn->key; in fib_trie_free() local 1866 cindex = get_index(pkey, pn); in fib_trie_free() 1972 t_key pkey = pn->key; in fib_table_flush_external() local 1984 cindex = get_index(pkey, pn); in fib_table_flush_external() 2043 t_key pkey = pn->key; in fib_table_flush() local 2055 cindex = get_index(pkey, p in fib_table_flush() 2128 t_key pkey = pn->key; __fib_info_notify_update() local 2458 t_key pkey; fib_trie_get_next() local [all...] |
/kernel/linux/linux-5.10/arch/sparc/include/asm/ |
H A D | mman.h | 30 #define arch_calc_vm_prot_bits(prot, pkey) sparc_calc_vm_prot_bits(prot)
|
/kernel/linux/linux-6.6/arch/sparc/include/asm/ |
H A D | mman.h | 30 #define arch_calc_vm_prot_bits(prot, pkey) sparc_calc_vm_prot_bits(prot)
|
/kernel/linux/linux-5.10/include/crypto/ |
H A D | public_key.h | 84 int public_key_verify_signature(const struct public_key *pkey,
|
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | ndisc.c | 72 static u32 ndisc_hash(const void *pkey, 75 static bool ndisc_key_eq(const struct neighbour *neigh, const void *pkey); 84 static int ndisc_is_multicast(const void *pkey); 314 static u32 ndisc_hash(const void *pkey, in ndisc_hash() argument 318 return ndisc_hashfn(pkey, dev, hash_rnd); in ndisc_hash() 321 static bool ndisc_key_eq(const struct neighbour *n, const void *pkey) in ndisc_key_eq() argument 323 return neigh_key_eq128(n, pkey); in ndisc_key_eq() 747 static int pndisc_is_router(const void *pkey, in pndisc_is_router() argument 754 n = __pneigh_lookup(&nd_tbl, dev_net(dev), pkey, dev); in pndisc_is_router() 1721 static int ndisc_is_multicast(const void *pkey) in ndisc_is_multicast() argument [all...] |
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | ndisc.c | 72 static u32 ndisc_hash(const void *pkey, 75 static bool ndisc_key_eq(const struct neighbour *neigh, const void *pkey); 84 static int ndisc_is_multicast(const void *pkey); 315 static u32 ndisc_hash(const void *pkey, in ndisc_hash() argument 319 return ndisc_hashfn(pkey, dev, hash_rnd); in ndisc_hash() 322 static bool ndisc_key_eq(const struct neighbour *n, const void *pkey) in ndisc_key_eq() argument 324 return neigh_key_eq128(n, pkey); in ndisc_key_eq() 763 static int pndisc_is_router(const void *pkey, in pndisc_is_router() argument 770 n = __pneigh_lookup(&nd_tbl, dev_net(dev), pkey, dev); in pndisc_is_router() 1795 static int ndisc_is_multicast(const void *pkey) in ndisc_is_multicast() argument [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
H A D | cma.c | 402 u16 pkey; member 775 u16 pkey, index; in cma_resolve_ib_dev() local 783 pkey = ntohs(addr->sib_pkey); in cma_resolve_ib_dev() 791 if (ib_find_cached_pkey(cur_dev->device, p, pkey, &index)) in cma_resolve_ib_dev() 1093 u16 pkey; in cma_ib_init_qp_attr() local 1096 pkey = 0xffff; in cma_ib_init_qp_attr() 1098 pkey = ib_addr_get_pkey(dev_addr); in cma_ib_init_qp_attr() 1101 pkey, &qp_attr->pkey_index); in cma_ib_init_qp_attr() 1259 ib->sib_pkey = path->pkey; in cma_save_ib_info() 1277 ib->sib_pkey = path->pkey; in cma_save_ib_info() 3174 u16 pkey; cma_bind_loopback() local [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/core/ |
H A D | cma.c | 403 u16 pkey; member 915 u16 pkey, index; in cma_resolve_ib_dev() local 923 pkey = ntohs(addr->sib_pkey); in cma_resolve_ib_dev() 931 if (ib_find_cached_pkey(cur_dev->device, p, pkey, &index)) in cma_resolve_ib_dev() 1236 u16 pkey; in cma_ib_init_qp_attr() local 1239 pkey = 0xffff; in cma_ib_init_qp_attr() 1241 pkey = ib_addr_get_pkey(dev_addr); in cma_ib_init_qp_attr() 1244 pkey, &qp_attr->pkey_index); in cma_ib_init_qp_attr() 1406 ib->sib_pkey = path->pkey; in cma_save_ib_info() 1424 ib->sib_pkey = path->pkey; in cma_save_ib_info() 3420 u16 pkey; cma_bind_loopback() local [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib.h | 362 u16 pkey; member 595 int ipoib_vlan_add(struct net_device *pdev, unsigned short pkey); 596 int ipoib_vlan_delete(struct net_device *pdev, unsigned short pkey); 599 u16 pkey, int child_type);
|
/kernel/linux/linux-6.6/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib.h | 362 u16 pkey; member 595 int ipoib_vlan_add(struct net_device *pdev, unsigned short pkey); 596 int ipoib_vlan_delete(struct net_device *pdev, unsigned short pkey); 599 u16 pkey, int child_type);
|
/third_party/node/deps/openssl/openssl/crypto/evp/ |
H A D | signature.c | 418 if (ctx->pkey == NULL) { in evp_pkey_signature_init() 427 if (!ossl_assert(ctx->pkey->keymgmt == NULL in evp_pkey_signature_init() 428 || ctx->pkey->keymgmt == ctx->keymgmt)) { in evp_pkey_signature_init() 450 * signature, and try to export |ctx->pkey| to that keymgmt (when in evp_pkey_signature_init() 491 * |ctx->pkey|, but from the provider of the signature method, using in evp_pkey_signature_init() 493 * With the keymgmt we found (if we did), we try to export |ctx->pkey| in evp_pkey_signature_init() 496 * export it if |tmp_keymgmt| is different from |ctx->pkey|'s keymgmt) in evp_pkey_signature_init() 503 provkey = evp_pkey_export_to_provider(ctx->pkey, ctx->libctx, in evp_pkey_signature_init()
|
/third_party/openssl/crypto/evp/ |
H A D | signature.c | 418 if (ctx->pkey == NULL) { in evp_pkey_signature_init() 427 if (!ossl_assert(ctx->pkey->keymgmt == NULL in evp_pkey_signature_init() 428 || ctx->pkey->keymgmt == ctx->keymgmt)) { in evp_pkey_signature_init() 450 * signature, and try to export |ctx->pkey| to that keymgmt (when in evp_pkey_signature_init() 491 * |ctx->pkey|, but from the provider of the signature method, using in evp_pkey_signature_init() 493 * With the keymgmt we found (if we did), we try to export |ctx->pkey| in evp_pkey_signature_init() 496 * export it if |tmp_keymgmt| is different from |ctx->pkey|'s keymgmt) in evp_pkey_signature_init() 503 provkey = evp_pkey_export_to_provider(ctx->pkey, ctx->libctx, in evp_pkey_signature_init()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
H A D | crypto_libtomcrypt.c | 40 u8 pkey[8], next, tmp; in des_encrypt() local 48 pkey[i] = (tmp >> i) | next | 1; in des_encrypt() 51 pkey[i] = next | 1; in des_encrypt() 53 des_setup(pkey, 8, 0, &skey); in des_encrypt()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
H A D | crypto_libtomcrypt.c | 40 u8 pkey[8], next, tmp; in des_encrypt() local 48 pkey[i] = (tmp >> i) | next | 1; in des_encrypt() 51 pkey[i] = next | 1; in des_encrypt() 53 des_setup(pkey, 8, 0, &skey); in des_encrypt()
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
H A D | pgtable.h | 1373 static inline bool __pkru_allows_read(u32 pkru, u16 pkey) in __pkru_allows_read() argument 1375 int pkru_pkey_bits = pkey * PKRU_BITS_PER_PKEY; in __pkru_allows_read() 1379 static inline bool __pkru_allows_write(u32 pkru, u16 pkey) in __pkru_allows_write() argument 1381 int pkru_pkey_bits = pkey * PKRU_BITS_PER_PKEY; in __pkru_allows_write() 1399 static inline bool __pkru_allows_pkey(u16 pkey, bool write) in __pkru_allows_pkey() argument 1403 if (!__pkru_allows_read(pkru, pkey)) in __pkru_allows_pkey() 1405 if (write && !__pkru_allows_write(pkru, pkey)) in __pkru_allows_pkey()
|
/third_party/ntfs-3g/ntfsprogs/ |
H A D | ntfsdecrypt.c | 478 gnutls_x509_privkey_t pkey = NULL; in ntfs_pkcs12_extract_rsa_key() local 568 err = gnutls_x509_privkey_init(&pkey); in ntfs_pkcs12_extract_rsa_key() 576 err = gnutls_x509_privkey_import_pkcs8(pkey, &dkey, in ntfs_pkcs12_extract_rsa_key() 599 err = gnutls_x509_privkey_export_pkcs8(pkey, in ntfs_pkcs12_extract_rsa_key() 610 rsa_key = ntfs_rsa_private_key_import_from_gnutls(pkey); in ntfs_pkcs12_extract_rsa_key() 716 if (pkey) in ntfs_pkcs12_extract_rsa_key() 717 gnutls_x509_privkey_deinit(pkey); in ntfs_pkcs12_extract_rsa_key()
|
/third_party/node/deps/openssl/openssl/apps/ |
H A D | pkcs12.c | 899 EVP_PKEY *pkey; in dump_certs_pkeys_bag() local 916 if ((pkey = EVP_PKCS82PKEY(p8c)) == NULL) in dump_certs_pkeys_bag() 919 ret = PEM_write_bio_PrivateKey(out, pkey, enc, NULL, 0, NULL, pempass); in dump_certs_pkeys_bag() 920 EVP_PKEY_free(pkey); in dump_certs_pkeys_bag() 938 if ((pkey = EVP_PKCS82PKEY(p8)) == NULL) { in dump_certs_pkeys_bag() 944 ret = PEM_write_bio_PrivateKey(out, pkey, enc, NULL, 0, NULL, pempass); in dump_certs_pkeys_bag() 945 EVP_PKEY_free(pkey); in dump_certs_pkeys_bag()
|
/third_party/openssl/apps/ |
H A D | pkcs12.c | 903 EVP_PKEY *pkey; in dump_certs_pkeys_bag() local 920 if ((pkey = EVP_PKCS82PKEY(p8c)) == NULL) in dump_certs_pkeys_bag() 923 ret = PEM_write_bio_PrivateKey(out, pkey, enc, NULL, 0, NULL, pempass); in dump_certs_pkeys_bag() 924 EVP_PKEY_free(pkey); in dump_certs_pkeys_bag() 942 if ((pkey = EVP_PKCS82PKEY(p8)) == NULL) { in dump_certs_pkeys_bag() 948 ret = PEM_write_bio_PrivateKey(out, pkey, enc, NULL, 0, NULL, pempass); in dump_certs_pkeys_bag() 949 EVP_PKEY_free(pkey); in dump_certs_pkeys_bag()
|
/kernel/linux/linux-5.10/arch/s390/crypto/ |
H A D | paes_s390.c | 28 #include <asm/pkey.h> 74 /* clear key value, prepare pkey clear key token in keybuf */ in _key_to_kb() 85 /* other key material, let pkey handle this */ in _key_to_kb() 141 struct pkey_protkey pkey; in __paes_convert_key() local 143 if (__paes_keyblob2pkey(&ctx->kb, &pkey)) in __paes_convert_key() 147 memcpy(&ctx->pk, &pkey, sizeof(pkey)); in __paes_convert_key()
|
/third_party/node/deps/openssl/config/archs/linux-aarch64/no-asm/include/openssl/ |
H A D | cms.h | 221 CMS_ContentInfo *CMS_sign(X509 *signcert, EVP_PKEY *pkey, 224 CMS_ContentInfo *CMS_sign_ex(X509 *signcert, EVP_PKEY *pkey, 230 X509 *signcert, EVP_PKEY *pkey, 277 int CMS_decrypt(CMS_ContentInfo *cms, EVP_PKEY *pkey, X509 *cert, 305 int CMS_RecipientInfo_set0_pkey(CMS_RecipientInfo *ri, EVP_PKEY *pkey);
|
/third_party/node/deps/openssl/config/archs/linux-aarch64/asm_avx2/include/openssl/ |
H A D | cms.h | 221 CMS_ContentInfo *CMS_sign(X509 *signcert, EVP_PKEY *pkey, 224 CMS_ContentInfo *CMS_sign_ex(X509 *signcert, EVP_PKEY *pkey, 230 X509 *signcert, EVP_PKEY *pkey, 277 int CMS_decrypt(CMS_ContentInfo *cms, EVP_PKEY *pkey, X509 *cert, 305 int CMS_RecipientInfo_set0_pkey(CMS_RecipientInfo *ri, EVP_PKEY *pkey);
|