/kernel/linux/linux-6.6/drivers/infiniband/ulp/srpt/ |
H A D | ib_srpt.c | 1133 ch->pkey, &attr->pkey_index); in srpt_init_ch_qp() 1135 pr_err("Translating pkey %#x failed (%d) - using index 0\n", in srpt_init_ch_qp() 1136 ch->pkey, ret); in srpt_init_ch_qp() 2139 * @pkey: P_Key of the incoming connection. 2150 u8 port_num, __be16 pkey, in srpt_cm_req_recv() 2172 pr_info("Received SRP_LOGIN_REQ with i_port_id %pI6, t_port_id %pI6 and it_iu_len %d on port %d (guid=%pI6); pkey %#04x\n", in srpt_cm_req_recv() 2174 port_num, &sport->gid, be16_to_cpu(pkey)); in srpt_cm_req_recv() 2224 ch->pkey = be16_to_cpu(pkey); in srpt_cm_req_recv() 2542 param->primary_path->pkey, in srpt_ib_cm_req_recv() 2147 srpt_cm_req_recv(struct srpt_device *const sdev, struct ib_cm_id *ib_cm_id, struct rdma_cm_id *rdma_cm_id, u8 port_num, __be16 pkey, const struct srp_login_req *req, const char *src_addr) srpt_cm_req_recv() argument [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
H A D | sysfs.c | 445 u16 pkey; in show_port_pkey() local 448 ret = ib_query_pkey(p->ibdev, p->port_num, tab_attr->index, &pkey); in show_port_pkey() 452 return sprintf(buf, "0x%04x\n", pkey); in show_port_pkey()
|
/kernel/linux/linux-5.10/drivers/s390/crypto/ |
H A D | zcrypt_ep11misc.c | 6 * Collection of EP11 misc functions used by zcrypt and pkey 17 #include <asm/pkey.h> 1279 u8 pkey[0]; in ep11_kblob2protkey() member 1317 "%s rewrapping ep11 key to pkey failed, rc=%d\n", in ep11_kblob2protkey() 1323 /* check struct version and pkey type */ in ep11_kblob2protkey() 1378 memcpy(protkey, wki->pkey, wki->pkeysize); in ep11_kblob2protkey()
|
/kernel/linux/linux-6.6/arch/x86/include/asm/ |
H A D | pgtable.h | 1621 static inline bool __pkru_allows_pkey(u16 pkey, bool write) in __pkru_allows_pkey() argument 1625 if (!__pkru_allows_read(pkru, pkey)) in __pkru_allows_pkey() 1627 if (write && !__pkru_allows_write(pkru, pkey)) in __pkru_allows_pkey()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/ |
H A D | user_sdma.c | 292 u16 pkey; in hfi1_user_sdma_process_request() local 427 pkey = (u16)be32_to_cpu(req->hdr.bth[0]); in hfi1_user_sdma_process_request() 429 if (egress_pkey_check(dd->pport, slid, pkey, sc, PKEY_CHECK_INVALID)) { in hfi1_user_sdma_process_request()
|
H A D | mad.c | 299 pr_warn("%s: failed to find limited mgmt pkey, defaulting 0x%x\n", in send_trap() 968 * @pkeys: the pkey table is placed here 1643 * If the update does not include the management pkey, don't do it. in set_pkeys() 2515 __be16 pkey; member 2523 __be16 pkey; member 3403 rsp->port_xmit_constraint_ei.pkey = in pma_get_opa_errorinfo() 3404 cpu_to_be16(dd->err_info_xmit_constraint.pkey); in pma_get_opa_errorinfo() 3410 rsp->port_rcv_constraint_ei.pkey = in pma_get_opa_errorinfo() 3411 cpu_to_be16(dd->err_info_rcv_constraint.pkey); in pma_get_opa_errorinfo() 4382 u16 pkey; in opa_local_smp_check() local [all...] |
/kernel/linux/linux-6.6/arch/x86/kernel/fpu/ |
H A D | xstate.c | 998 * rights for @pkey to @init_val. 1000 int arch_set_user_pkey_access(struct task_struct *tsk, int pkey, in arch_set_user_pkey_access() argument 1014 * This code should only be called with valid 'pkey' in arch_set_user_pkey_access() 1018 if (WARN_ON_ONCE(pkey >= arch_max_pkey())) in arch_set_user_pkey_access() 1027 /* Shift the bits in to the correct place in PKRU for pkey: */ in arch_set_user_pkey_access() 1028 pkey_shift = pkey * PKRU_BITS_PER_PKEY; in arch_set_user_pkey_access()
|
/third_party/node/deps/openssl/openssl/crypto/ec/ |
H A D | ec_asn1.c | 970 ASN1_OCTET_STRING *pkey = priv_key->privateKey; in d2i_ECPrivateKey() local 971 if (EC_KEY_oct2priv(ret, ASN1_STRING_get0_data(pkey), in d2i_ECPrivateKey() 972 ASN1_STRING_length(pkey)) == 0) in d2i_ECPrivateKey()
|
/third_party/openssl/crypto/ec/ |
H A D | ec_asn1.c | 970 ASN1_OCTET_STRING *pkey = priv_key->privateKey; in d2i_ECPrivateKey() local 971 if (EC_KEY_oct2priv(ret, ASN1_STRING_get0_data(pkey), in d2i_ECPrivateKey() 972 ASN1_STRING_length(pkey)) == 0) in d2i_ECPrivateKey()
|
/third_party/rust/crates/rust-openssl/openssl/src/x509/ |
H A D | mod.rs | 36 use crate::pkey::{HasPrivate, HasPublic, PKey, PKeyRef, Public}; 537 let pkey = cvt_p(ffi::X509_get_pubkey(self.as_ptr()))?; in public_key() 538 Ok(PKey::from_ptr(pkey)) in public_key()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
H A D | mad.c | 341 pr_warn("%s: failed to find limited mgmt pkey, defaulting 0x%x\n", in send_trap() 1010 * @pkeys: the pkey table is placed here 1685 * If the update does not include the management pkey, don't do it. in set_pkeys() 2557 __be16 pkey; member 2565 __be16 pkey; member 3445 rsp->port_xmit_constraint_ei.pkey = in pma_get_opa_errorinfo() 3446 cpu_to_be16(dd->err_info_xmit_constraint.pkey); in pma_get_opa_errorinfo() 3452 rsp->port_rcv_constraint_ei.pkey = in pma_get_opa_errorinfo() 3453 cpu_to_be16(dd->err_info_rcv_constraint.pkey); in pma_get_opa_errorinfo() 4424 u16 pkey; in opa_local_smp_check() local [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/ |
H A D | hns_roce_main.c | 280 u16 *pkey) in hns_roce_query_pkey() 285 *pkey = PKEY_ID; in hns_roce_query_pkey() 279 hns_roce_query_pkey(struct ib_device *ib_dev, u8 port, u16 index, u16 *pkey) hns_roce_query_pkey() argument
|
/kernel/linux/linux-5.10/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_multicast.c | 492 rec.pkey = cpu_to_be16(priv->pkey); in ipoib_mcast_join() 870 /* signature lower, pkey */ in ipoib_mcast_addr_is_valid()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/ |
H A D | qplib_res.c | 864 u16 pkey = 0xFFFF; in bnxt_qplib_init_pkey_tbl() local 868 /* pkey default = 0xFFFF */ in bnxt_qplib_init_pkey_tbl() 869 bnxt_qplib_add_pkey(res, pkey_tbl, &pkey, false); in bnxt_qplib_init_pkey_tbl()
|
/kernel/linux/linux-6.6/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_multicast.c | 483 rec.pkey = cpu_to_be16(priv->pkey); in ipoib_mcast_join() 859 /* signature lower, pkey */ in ipoib_mcast_addr_is_valid()
|
/third_party/node/src/crypto/ |
H A D | crypto_dh.cc | 722 ManagedEVPPKey pkey = key->GetAsymmetricKey(); in GetDhKeyDetail() local 723 CHECK_EQ(EVP_PKEY_id(pkey.get()), EVP_PKEY_DH); in GetDhKeyDetail()
|
/third_party/node/deps/openssl/config/archs/linux-aarch64/no-asm/include/openssl/ |
H A D | cmp.h | 442 int OSSL_CMP_CTX_set1_pkey(OSSL_CMP_CTX *ctx, EVP_PKEY *pkey); 454 int OSSL_CMP_CTX_set0_newPkey(OSSL_CMP_CTX *ctx, int priv, EVP_PKEY *pkey);
|
/third_party/node/deps/openssl/config/archs/darwin-i386-cc/no-asm/include/openssl/ |
H A D | cmp.h | 442 int OSSL_CMP_CTX_set1_pkey(OSSL_CMP_CTX *ctx, EVP_PKEY *pkey); 454 int OSSL_CMP_CTX_set0_newPkey(OSSL_CMP_CTX *ctx, int priv, EVP_PKEY *pkey);
|
/third_party/node/deps/openssl/config/archs/linux-aarch64/asm_avx2/include/openssl/ |
H A D | cmp.h | 442 int OSSL_CMP_CTX_set1_pkey(OSSL_CMP_CTX *ctx, EVP_PKEY *pkey); 454 int OSSL_CMP_CTX_set0_newPkey(OSSL_CMP_CTX *ctx, int priv, EVP_PKEY *pkey);
|
/third_party/node/deps/openssl/config/archs/linux-aarch64/asm/include/openssl/ |
H A D | cmp.h | 442 int OSSL_CMP_CTX_set1_pkey(OSSL_CMP_CTX *ctx, EVP_PKEY *pkey); 454 int OSSL_CMP_CTX_set0_newPkey(OSSL_CMP_CTX *ctx, int priv, EVP_PKEY *pkey);
|
/third_party/node/deps/openssl/config/archs/linux-elf/asm_avx2/include/openssl/ |
H A D | cmp.h | 442 int OSSL_CMP_CTX_set1_pkey(OSSL_CMP_CTX *ctx, EVP_PKEY *pkey); 454 int OSSL_CMP_CTX_set0_newPkey(OSSL_CMP_CTX *ctx, int priv, EVP_PKEY *pkey);
|
/third_party/node/deps/openssl/config/archs/darwin64-arm64-cc/asm/include/openssl/ |
H A D | cmp.h | 442 int OSSL_CMP_CTX_set1_pkey(OSSL_CMP_CTX *ctx, EVP_PKEY *pkey); 454 int OSSL_CMP_CTX_set0_newPkey(OSSL_CMP_CTX *ctx, int priv, EVP_PKEY *pkey);
|
/third_party/node/deps/openssl/config/archs/linux-armv4/asm/include/openssl/ |
H A D | cmp.h | 442 int OSSL_CMP_CTX_set1_pkey(OSSL_CMP_CTX *ctx, EVP_PKEY *pkey); 454 int OSSL_CMP_CTX_set0_newPkey(OSSL_CMP_CTX *ctx, int priv, EVP_PKEY *pkey);
|
/third_party/node/deps/openssl/config/archs/darwin64-x86_64-cc/no-asm/include/openssl/ |
H A D | cmp.h | 442 int OSSL_CMP_CTX_set1_pkey(OSSL_CMP_CTX *ctx, EVP_PKEY *pkey); 454 int OSSL_CMP_CTX_set0_newPkey(OSSL_CMP_CTX *ctx, int priv, EVP_PKEY *pkey);
|
/third_party/node/deps/openssl/config/archs/linux-elf/asm/include/openssl/ |
H A D | cmp.h | 442 int OSSL_CMP_CTX_set1_pkey(OSSL_CMP_CTX *ctx, EVP_PKEY *pkey); 454 int OSSL_CMP_CTX_set0_newPkey(OSSL_CMP_CTX *ctx, int priv, EVP_PKEY *pkey);
|