Home
last modified time | relevance | path

Searched refs:rkey (Results 1 – 25 of 74) sorted by relevance

123

/freebsd/crypto/openssl/test/
H A Digetest.c30 static unsigned char rkey[16]; variable
231 AES_set_encrypt_key(rkey, 8 * sizeof(rkey), &key); in test_ige_enc_dec()
234 AES_set_decrypt_key(rkey, 8 * sizeof(rkey), &key); in test_ige_enc_dec()
248 AES_set_encrypt_key(rkey, 8 * sizeof(rkey), &key); in test_ige_enc_chaining()
256 AES_set_decrypt_key(rkey, 8 * sizeof(rkey), &key); in test_ige_enc_chaining()
270 AES_set_encrypt_key(rkey, 8 * sizeof(rkey), &key); in test_ige_dec_chaining()
278 AES_set_decrypt_key(rkey, 8 * sizeof(rkey), &key); in test_ige_dec_chaining()
300 AES_set_encrypt_key(rkey, 8 * sizeof(rkey), &key); in test_ige_garble_forwards()
307 AES_set_decrypt_key(rkey, 8 * sizeof(rkey), &key); in test_ige_garble_forwards()
335 AES_set_encrypt_key(rkey, 8 * sizeof(rkey), &key); in test_bi_ige_enc_dec()
[all …]
/freebsd/sys/dev/iser/
H A Diser_memory.c115 reg->rkey = device->mr->rkey; in iser_reg_dma()
129 iser_ib_inc_rkey(u32 rkey) in iser_ib_inc_rkey() argument
133 return (((rkey + 1) & mask) | (rkey & ~mask)); in iser_ib_inc_rkey()
139 u32 rkey; in iser_inv_rkey() local
144 inv_wr->ex.invalidate_rkey = mr->rkey; in iser_inv_rkey()
146 rkey = iser_ib_inc_rkey(mr->rkey); in iser_inv_rkey()
147 ib_update_fast_reg_key(mr, rkey); in iser_inv_rkey()
185 fastreg_wr.key = mr->rkey; in iser_fast_reg_mr()
203 reg->rkey = mr->rkey; in iser_fast_reg_mr()
/freebsd/lib/libc/db/btree/
H A Dbt_utils.c52 * rkey: memory area to hold key
61 __bt_ret(BTREE *t, EPG *e, DBT *key, DBT *rkey, DBT *data, DBT *rdata, int copy) in __bt_ret() argument
78 &key->size, &rkey->data, &rkey->size)) in __bt_ret()
80 key->data = rkey->data; in __bt_ret()
82 if (bl->ksize > rkey->size) { in __bt_ret()
83 p = realloc(rkey->data, bl->ksize); in __bt_ret()
86 rkey->data = p; in __bt_ret()
87 rkey->size = bl->ksize; in __bt_ret()
89 memmove(rkey in __bt_ret()
[all...]
/freebsd/crypto/openssl/demos/smime/
H A Dsmdec.c19 EVP_PKEY *rkey = NULL; in main() local
36 rkey = PEM_read_bio_PrivateKey(tbio, NULL, 0, NULL); in main()
38 if (!rcert || !rkey) in main()
59 if (!PKCS7_decrypt(p7, rkey, rcert, out, 0)) in main()
71 EVP_PKEY_free(rkey); in main()
/freebsd/crypto/openssl/demos/cms/
H A Dcms_dec.c19 EVP_PKEY *rkey = NULL; in main() local
36 rkey = PEM_read_bio_PrivateKey(tbio, NULL, 0, NULL); in main()
38 if (!rcert || !rkey) in main()
59 if (!CMS_decrypt(cms, rkey, rcert, NULL, out, 0)) in main()
73 EVP_PKEY_free(rkey); in main()
H A Dcms_ddec.c22 EVP_PKEY *rkey = NULL; in main() local
39 rkey = PEM_read_bio_PrivateKey(tbio, NULL, 0, NULL); in main()
41 if (!rcert || !rkey) in main()
68 if (!CMS_decrypt(cms, rkey, rcert, dcont, out, 0)) in main()
82 EVP_PKEY_free(rkey); in main()
/freebsd/contrib/ofed/librdmacm/
H A Drdma_verbs.h133 int nsge, int flags, uint64_t remote_addr, uint32_t rkey) in rdma_post_readv() argument
144 wr.wr.rdma.rkey = rkey; in rdma_post_readv()
151 int nsge, int flags, uint64_t remote_addr, uint32_t rkey) in rdma_post_writev() argument
162 wr.wr.rdma.rkey = rkey; in rdma_post_writev()
201 uint64_t remote_addr, uint32_t rkey) in rdma_post_read() argument
209 return rdma_post_readv(id, context, &sge, 1, flags, remote_addr, rkey); in rdma_post_read()
215 uint64_t remote_addr, uint32_t rkey) in rdma_post_write() argument
223 return rdma_post_writev(id, context, &sge, 1, flags, remote_addr, rkey); in rdma_post_write()
/freebsd/contrib/ofed/libmlx5/
H A Dqp.c189 uint64_t remote_addr, uint32_t rkey) in set_raddr_seg() argument
192 rseg->rkey = htobe32(rkey); in set_raddr_seg()
422 int32_t rkey, struct ibv_mw_bind_info *bind_info, in set_umr_data_seg() argument
442 int32_t rkey, struct ibv_mw_bind_info *bind_info, in set_umr_mkey_seg() argument
447 mkey->qpn_mkey = htobe32((rkey & 0xFF) | in set_umr_mkey_seg()
480 int32_t rkey, struct ibv_mw_bind_info *bind_info, in set_umr_control_seg() argument
517 int32_t rkey, struct ibv_mw_bind_info *bind_info, in set_bind_wr() argument
544 set_umr_control_seg(qp, type, rkey, bind_info, qpn, seg, size); in set_bind_wr()
548 set_umr_mkey_seg(qp, type, rkey, bind_info, qpn, seg, size); in set_bind_wr()
555 set_umr_data_seg(qp, type, rkey, bind_info, qpn, seg, size); in set_bind_wr()
[all …]
/freebsd/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_mr.c79 mr->ibmr.rkey = mr->ibmr.lkey = mr->mmr.key; in mlx4_ib_get_dma_mr()
176 mr->ibmr.rkey = mr->ibmr.lkey = mr->mmr.key; in mlx4_ib_reg_user_mr()
363 mw->ibmw.rkey = mw->mmw.key; in mlx4_ib_alloc_mw()
415 mr->ibmr.rkey = mr->ibmr.lkey = mr->mmr.key; in mlx4_ib_alloc_mr()
451 fmr->ibfmr.rkey = fmr->ibfmr.lkey = fmr->mfmr.mr.key; in mlx4_ib_fmr_alloc()
471 &ifmr->ibfmr.lkey, &ifmr->ibfmr.rkey); in mlx4_ib_map_phys_fmr()
492 mlx4_fmr_unmap(mdev, &ifmr->mfmr, &ifmr->ibfmr.lkey, &ifmr->ibfmr.rkey); in mlx4_ib_unmap_fmr()
/freebsd/sys/contrib/rdma/krping/
H A Dkrping.c158 uint32_t rkey; member
324 cb->remote_rkey = ntohl(cb->recv_buf.rkey); in server_recv()
546 cb->reg_mr->rkey, cb->page_list_len); in krping_setup_buffers()
705 u32 rkey; in krping_rdma_rkey() local
710 cb->invalidate_wr.ex.invalidate_rkey = cb->reg_mr->rkey; in krping_rdma_rkey()
716 cb->reg_mr_wr.key = cb->reg_mr->rkey; in krping_rdma_rkey()
747 rkey = cb->reg_mr->rkey; in krping_rdma_rkey()
748 return rkey; in krping_rdma_rkey()
754 u32 rkey; in krping_format_send() local
762 rkey = krping_rdma_rkey(cb, buf, !cb->server_invalidate); in krping_format_send()
[all …]
/freebsd/contrib/ofed/libmlx4/
H A Dqp.c138 bseg->new_rkey = htobe32(wr->bind_mw.rkey); in set_bind_seg()
145 uint32_t rkey) in set_local_inv_seg() argument
147 iseg->mem_key = htobe32(rkey); in set_local_inv_seg()
156 uint64_t remote_addr, uint32_t rkey) in set_raddr_seg() argument
159 rseg->rkey = htobe32(rkey); in set_raddr_seg()
281 wr->wr.atomic.rkey); in mlx4_post_send()
299 wr->wr.rdma.rkey); in mlx4_post_send()
H A Dwqe.h131 uint32_t rkey; member
/freebsd/sys/ofed/include/rdma/
H A Dib_hdrs.h81 __be32 rkey; member
87 __be32 rkey; member
/freebsd/crypto/openssh/regress/
H A Dkrl.sh103 for rkey in $RKEYS; do
104 (printf "sha1: "; cat $rkey) >> $OBJ/revoked-sha1
105 (printf "sha256: "; cat $rkey) >> $OBJ/revoked-sha256
106 (printf "hash: "; $SSHKEYGEN -lf $rkey | \
/freebsd/crypto/openssl/apps/
H A Docsp.c71 EVP_PKEY *rkey, const EVP_MD *md,
151 {"rkey", OPT_RKEY, '<', "Responder key to sign responses with"},
221 EVP_PKEY *key = NULL, *rkey = NULL; in ocsp_main() local
607 rkey = load_key(rkeyfile, FORMAT_UNDEF, 0, passin, NULL, in ocsp_main()
609 if (rkey == NULL) in ocsp_main()
614 && (rkey == NULL || rsigner == NULL || rca_cert == NULL)) { in ocsp_main()
724 make_ocsp_response(bio_err, &resp, req, rdb, rca_cert, rsigner, rkey, in ocsp_main()
856 EVP_PKEY_free(rkey); in ocsp_main()
1030 EVP_PKEY *rkey, const EVP_MD *rmd, in make_ocsp_response() argument
1142 if ( mctx == NULL || !EVP_DigestSignInit(mctx, &pkctx, rmd, NULL, rkey)) { in make_ocsp_response()
[all...]
/freebsd/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp.h198 __u32 rkey; member
242 u32 rkey; member
557 sdp_alloc_mb_srcavail(struct socket *sk, u32 len, u32 rkey, u64 vaddr, int wait) in sdp_alloc_mb_srcavail() argument
567 srcah->rkey = htonl(rkey); in sdp_alloc_mb_srcavail()
/freebsd/contrib/ofed/libirdma/
H A Dirdma_uverbs.c316 wr.bind_mw.rkey = ibv_inc_rkey(mw->rkey); in irdma_ubind_mw()
323 mw->rkey = wr.bind_mw.rkey; in irdma_ubind_mw()
1646 static inline u32 calc_type2_mw_stag(u32 rkey, u32 mw_rkey) { in calc_type2_mw_stag() argument
1649 return (rkey & mask) | (mw_rkey & ~mask); in calc_type2_mw_stag()
1749 info.op.rdma_write.rem_addr.lkey = ib_wr->wr.rdma.rkey; in irdma_upost_send()
1762 info.op.rdma_read.rem_addr.lkey = ib_wr->wr.rdma.rkey; in irdma_upost_send()
1774 info.op.bind_window.mr_stag = ib_wr->bind_mw.bind_info.mr->rkey; in irdma_upost_send()
1777 info.op.bind_window.mw_stag = ib_wr->bind_mw.rkey; in irdma_upost_send()
1786 calc_type2_mw_stag(ib_wr->bind_mw.rkey, ib_wr->bind_mw.mw->rkey); in irdma_upost_send()
1787 ib_wr->bind_mw.mw->rkey = info.op.bind_window.mw_stag; in irdma_upost_send()
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_uverbs_std_types_mr.c145 &mr->rkey, sizeof(mr->rkey)); in UVERBS_HANDLER()
/freebsd/contrib/ofed/libibverbs/
H A Dcompat-1_0.c55 uint32_t rkey; member
94 uint32_t rkey; member
100 uint32_t rkey; member
453 real_wr->wr.atomic.rkey = in post_send_wrapper_1_0()
454 w->wr.atomic.rkey; in post_send_wrapper_1_0()
719 mr->rkey = real_mr->rkey; in __ibv_reg_mr_1_0()
H A Dverbs.h542 uint32_t rkey; member
553 uint32_t rkey; member
952 uint32_t rkey; member
958 uint32_t rkey; member
974 uint32_t rkey; member
1794 static inline uint32_t ibv_inc_rkey(uint32_t rkey) in ibv_inc_rkey() argument
1797 uint8_t newtag = (uint8_t)((rkey + 1) & mask); in ibv_inc_rkey()
1799 return (rkey & ~mask) | newtag; in ibv_inc_rkey()
/freebsd/crypto/openssl/demos/certs/
H A Docsprun.sh14 -rsigner resp.pem -rkey respkey.pem -rother intca.pem $*
/freebsd/contrib/ofed/librdmacm/examples/
H A Drping.c88 __be32 rkey; member
246 cb->remote_rkey = be32toh(cb->recv_buf.rkey); in server_recv()
624 info->rkey = htobe32(mr->rkey); in rping_format_send()
628 be64toh(info->buf), be32toh(info->rkey), be32toh(info->size)); in rping_format_send()
650 cb->rdma_sq_wr.wr.rdma.rkey = cb->remote_rkey; in rping_test_server()
695 cb->rdma_sq_wr.wr.rdma.rkey = cb->remote_rkey; in rping_test_server()
/freebsd/sys/dev/cxgbe/iw_cxgbe/
H A Dmem.c367 mhp->ibmr.rkey = mhp->ibmr.lkey = stag; in finish_mem_reg()
581 mhp->ibmw.rkey = stag; in c4iw_alloc_mw()
600 mmid = (mw->rkey) >> 8; in c4iw_dealloc_mw()
659 mhp->ibmr.rkey = mhp->ibmr.lkey = stag; in c4iw_alloc_mr()
730 void c4iw_invalidate_mr(struct c4iw_dev *rhp, u32 rkey) in c4iw_invalidate_mr() argument
736 mhp = get_mhp(rhp, rkey >> 8); in c4iw_invalidate_mr()
/freebsd/crypto/heimdal/lib/gssapi/krb5/
H A Daccept_sec_context.c582 krb5_keyblock *rkey; in gsskrb5_acceptor_start() local
590 &rkey); in gsskrb5_acceptor_start()
594 rkey); in gsskrb5_acceptor_start()
597 krb5_free_keyblock(context, rkey); in gsskrb5_acceptor_start()
/freebsd/sys/ofed/include/uapi/rdma/
H A Dib_user_verbs.h357 __u32 rkey; member
375 __u32 rkey; member
393 __u32 rkey; member
810 __u32 rkey; member
817 __u32 rkey; member

123