Home
last modified time | relevance | path

Searched refs:pkey (Results 951 - 975 of 1346) sorted by relevance

1...<<31323334353637383940>>...54

/kernel/linux/linux-6.6/drivers/infiniband/ulp/srpt/
H A Dib_srpt.c1133 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 Dsysfs.c445 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 Dzcrypt_ep11misc.c6 * 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 Dpgtable.h1621 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 Duser_sdma.c292 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 Dmad.c299 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 Dxstate.c998 * 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 Dec_asn1.c970 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 Dec_asn1.c970 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 Dmod.rs36 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 Dmad.c341 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 Dhns_roce_main.c280 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 Dipoib_multicast.c492 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 Dqplib_res.c864 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 Dipoib_multicast.c483 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 Dcrypto_dh.cc722 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 Dcmp.h442 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 Dcmp.h442 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 Dcmp.h442 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 Dcmp.h442 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 Dcmp.h442 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 Dcmp.h442 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 Dcmp.h442 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 Dcmp.h442 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 Dcmp.h442 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);

Completed in 53 milliseconds

1...<<31323334353637383940>>...54