Home
last modified time | relevance | path

Searched refs:MPI (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.3-rc2/include/linux/
A Dmpi.h56 MPI mpi_copy(MPI a);
59 MPI mpi_set(MPI w, MPI u);
118 int mpi_powm(MPI res, MPI base, MPI exp, MPI mod);
143 void mpi_add(MPI w, MPI u, MPI v);
144 void mpi_sub(MPI w, MPI u, MPI v);
145 void mpi_addm(MPI w, MPI u, MPI v, MPI m);
146 void mpi_subm(MPI w, MPI u, MPI v, MPI m);
149 void mpi_mul(MPI w, MPI u, MPI v);
150 void mpi_mulm(MPI w, MPI u, MPI v, MPI m);
158 int mpi_invm(MPI x, MPI a, MPI n);
[all …]
/linux-6.3-rc2/lib/mpi/
A Dmpi-div.c17 void mpi_tdiv_qr(MPI quot, MPI rem, MPI num, MPI den);
18 void mpi_fdiv_qr(MPI quot, MPI rem, MPI dividend, MPI divisor);
20 void mpi_fdiv_r(MPI rem, MPI dividend, MPI divisor) in mpi_fdiv_r()
23 MPI temp_divisor = NULL; in mpi_fdiv_r()
43 void mpi_fdiv_q(MPI quot, MPI dividend, MPI divisor) in mpi_fdiv_q()
45 MPI tmp = mpi_alloc(mpi_get_nlimbs(quot)); in mpi_fdiv_q()
50 void mpi_fdiv_qr(MPI quot, MPI rem, MPI dividend, MPI divisor) in mpi_fdiv_qr()
53 MPI temp_divisor = NULL; in mpi_fdiv_qr()
78 void mpi_tdiv_r(MPI rem, MPI num, MPI den) in mpi_tdiv_r()
83 void mpi_tdiv_qr(MPI quot, MPI rem, MPI num, MPI den) in mpi_tdiv_qr()
A Dmpi-mod.c17 MPI y;
18 MPI r1; /* Helper MPI. */
19 MPI r2; /* Helper MPI. */
25 void mpi_mod(MPI rem, MPI dividend, MPI divisor) in mpi_mod()
39 MPI tmp; in mpi_barrett_init()
95 void mpi_mod_barrett(MPI r, MPI x, mpi_barrett_t ctx) in mpi_mod_barrett()
97 MPI m = ctx->m; in mpi_mod_barrett()
99 MPI y = ctx->y; in mpi_mod_barrett()
100 MPI r1 = ctx->r1; in mpi_mod_barrett()
101 MPI r2 = ctx->r2; in mpi_mod_barrett()
[all …]
A Dmpiutil.c89 MPI a; in mpi_alloc()
166 void mpi_clear(MPI a) in mpi_clear()
175 void mpi_free(MPI a) in mpi_free()
195 MPI mpi_copy(MPI a) in mpi_copy()
198 MPI b; in mpi_copy()
218 MPI mpi_alloc_like(MPI a) in mpi_alloc_like()
220 MPI b; in mpi_alloc_like()
235 void mpi_snatch(MPI w, MPI u) in mpi_snatch()
250 MPI mpi_set(MPI w, MPI u) in mpi_set()
270 MPI mpi_set_ui(MPI w, unsigned long u) in mpi_set_ui()
[all …]
A Dmpi-add.c20 void mpi_add_ui(MPI w, MPI u, unsigned long v) in mpi_add_ui()
67 void mpi_add(MPI w, MPI u, MPI v) in mpi_add()
134 void mpi_sub(MPI w, MPI u, MPI v) in mpi_sub()
136 MPI vv = mpi_copy(v); in mpi_sub()
143 void mpi_addm(MPI w, MPI u, MPI v, MPI m) in mpi_addm()
150 void mpi_subm(MPI w, MPI u, MPI v, MPI m) in mpi_subm()
A Dec.c122 static void ec_addm(MPI w, MPI u, MPI v, struct mpi_ec_ctx *ctx) in ec_addm()
128 static void ec_subm(MPI w, MPI u, MPI v, struct mpi_ec_ctx *ec) in ec_subm()
136 static void ec_mulm(MPI w, MPI u, MPI v, struct mpi_ec_ctx *ctx) in ec_mulm()
149 static void ec_powm(MPI w, const MPI b, const MPI e, in ec_powm()
199 static void ec_addm_25519(MPI w, MPI u, MPI v, struct mpi_ec_ctx *ctx) in ec_addm_25519()
306 static void ec_addm_448(MPI w, MPI u, MPI v, struct mpi_ec_ctx *ctx) in ec_addm_448()
326 static void ec_subm_448(MPI w, MPI u, MPI v, struct mpi_ec_ctx *ctx) in ec_subm_448()
457 void (*addm)(MPI w, MPI u, MPI v, struct mpi_ec_ctx *ctx);
458 void (*subm)(MPI w, MPI u, MPI v, struct mpi_ec_ctx *ctx);
459 void (*mulm)(MPI w, MPI u, MPI v, struct mpi_ec_ctx *ctx);
[all …]
A Dmpi-cmp.c23 int mpi_cmp_ui(MPI u, unsigned long v) in mpi_cmp_ui()
44 static int do_mpi_cmp(MPI u, MPI v, int absmode) in do_mpi_cmp()
84 int mpi_cmp(MPI u, MPI v) in mpi_cmp()
90 int mpi_cmpabs(MPI u, MPI v) in mpi_cmpabs()
A Dmpi-bit.c30 void mpi_normalize(MPI a) in mpi_normalize()
40 unsigned mpi_get_nbits(MPI a) in mpi_get_nbits()
62 int mpi_test_bit(MPI a, unsigned int n) in mpi_test_bit()
80 void mpi_set_bit(MPI a, unsigned int n) in mpi_set_bit()
99 void mpi_set_highbit(MPI a, unsigned int n) in mpi_set_highbit()
122 void mpi_clear_highbit(MPI a, unsigned int n) in mpi_clear_highbit()
140 void mpi_clear_bit(MPI a, unsigned int n) in mpi_clear_bit()
158 void mpi_rshift_limbs(MPI a, unsigned int count) in mpi_rshift_limbs()
178 void mpi_rshift(MPI x, MPI a, unsigned int n) in mpi_rshift()
251 void mpi_lshift_limbs(MPI a, unsigned int count) in mpi_lshift_limbs()
[all …]
A Dmpi-mul.c16 void mpi_mul(MPI w, MPI u, MPI v) in mpi_mul()
87 void mpi_mulm(MPI w, MPI u, MPI v, MPI m) in mpi_mulm()
A Dmpicoder.c36 MPI mpi_read_raw_data(const void *xbuffer, size_t nbytes) in mpi_read_raw_data()
42 MPI val = NULL; in mpi_read_raw_data()
82 MPI mpi_read_from_buffer(const void *xbuffer, unsigned *ret_nread) in mpi_read_from_buffer()
86 MPI val; in mpi_read_from_buffer()
116 int mpi_fromstr(MPI val, const char *str) in mpi_fromstr()
202 MPI mpi_scanval(const char *string) in mpi_scanval()
204 MPI a; in mpi_scanval()
219 static int count_lzeros(MPI a) in count_lzeros()
310 void *mpi_get_buffer(MPI a, unsigned *nbytes, int *sign) in mpi_get_buffer()
445 MPI val = NULL; in mpi_read_raw_from_sgl()
[all …]
A Dmpi-inv.c27 int mpi_invm(MPI x, MPI a, MPI n) in mpi_invm()
33 MPI u, v, u1, u2 = NULL, u3, v1, v2 = NULL, v3, t1, t2 = NULL, t3; in mpi_invm()
A Dmpi-sub-ui.c37 int mpi_sub_ui(MPI w, MPI u, unsigned long vval) in mpi_sub_ui()
A Dmpi-pow.c24 int mpi_powm(MPI res, MPI base, MPI exp, MPI mod) in mpi_powm()
A Dmpi-internal.h144 void mpi_assign_limb_space(MPI a, mpi_ptr_t ap, unsigned nlimbs);
/linux-6.3-rc2/Documentation/translations/zh_CN/infiniband/
A Dtag_matching.rst20 MPI标准定义了一套规则,称为标签匹配,用于将源发送操作与目的接收匹配。以下参数必
37 为了减少MPI库的内存占用,MPI实现通常使用两种不同的协议来实现这一目的:
50 的接收列表中的MPI接收例程发布接收缓冲区,并使用MPI发送例程发布发送消息。发布的
55 如果合适的话,将数据传送到指定的接收缓冲区。这允许接收方MPI标签匹配与计算重叠。
61 软件要对这个列表进行跟踪,以帮助处理MPI取消操作。此外,由于硬件和软件在标签匹
/linux-6.3-rc2/crypto/
A Drsa.c17 MPI n;
18 MPI e;
19 MPI d;
20 MPI p;
21 MPI q;
22 MPI dp;
23 MPI dq;
24 MPI qinv;
31 static int _rsa_enc(const struct rsa_mpi_key *key, MPI c, MPI m) in _rsa_enc()
48 static int _rsa_dec_crt(const struct rsa_mpi_key *key, MPI m_or_m1_or_h, MPI c) in _rsa_dec_crt()
[all …]
A Dsm2.c66 MPI p, a, b; in sm2_ec_ctx_init()
67 MPI x, y; in sm2_ec_ctx_init()
138 MPI x, y; in sm2_ecc_os2ec()
182 MPI sig_r;
183 MPI sig_s;
245 MPI x, y; in sm2_z_digest_update_point()
296 static int _sm2_verify(struct mpi_ec_ctx *ec, MPI hash, MPI sig_r, MPI sig_s) in _sm2_verify()
300 MPI t = NULL; in _sm2_verify()
301 MPI x1 = NULL, y1 = NULL; in _sm2_verify()
354 MPI hash; in sm2_verify()
[all …]
A Ddh.c17 MPI p; /* Value is guaranteed to be set. */
18 MPI g; /* Value is guaranteed to be set. */
19 MPI xa; /* Value is guaranteed to be set. */
36 static int _compute_val(const struct dh_ctx *ctx, MPI base, MPI val) in _compute_val()
107 static int dh_is_pubkey_valid(struct dh_ctx *ctx, MPI y) in dh_is_pubkey_valid()
129 MPI val, q; in dh_is_pubkey_valid()
170 MPI base, val = mpi_alloc(0); in dh_compute_value()
202 MPI pone; in dh_compute_value()
/linux-6.3-rc2/Documentation/infiniband/
A Dtag_matching.rst5 The MPI standard defines a set of rules, known as tag-matching, for matching
28 To keep MPI library memory footprint down, MPI implementations typically use
46 to the MPI receive routines in the posted receive list and posts send messages
47 using the MPI send routines. The head of the posted receive list may be
54 specified receive buffer. This allows overlapping receive-side MPI tag
64 Software is expected to shadow this list, to help with processing MPI cancel
/linux-6.3-rc2/drivers/message/fusion/lsi/
A Dmpi_history.txt3 MPI Header File Change History
151 * 05-11-04 01.03.01 Original release for MPI v1.3.
549 * 05-11-04 01.03.01 Original release for MPI v1.3.
593 * of MPI.
605 * 05-11-04 01.03.01 Original release for MPI v1.3.
644 * 05-11-04 01.03.01 Original release for MPI v1.3.
645 * 08-19-04 01.05.01 Original release for MPI v1.5.
664 * 05-11-04 01.03.01 Original release for MPI v1.3.
665 * 08-19-04 01.05.01 Original release for MPI v1.5.
685 * 05-11-04 01.03.01 Original release for MPI v1.3.
[all …]
/linux-6.3-rc2/drivers/infiniband/hw/mana/
A DKconfig8 for workloads (e.g. DPDK, MPI etc) that uses RDMA verbs to directly
/linux-6.3-rc2/Documentation/networking/device_drivers/qlogic/
A Dqlge.rst115 When the module parameter qlge_force_coredump is set to be true, the MPI
/linux-6.3-rc2/lib/
A Ddigsig.c78 MPI in = NULL, res = NULL, pkey[2]; in digsig_verify_rsa()
/linux-6.3-rc2/Documentation/security/
A Ddigsig.rst23 GnuPG multi-precision integers (MPI) library. The kernel port provides
/linux-6.3-rc2/drivers/crypto/virtio/
A Dvirtio_crypto_akcipher_algs.c23 MPI n;

Completed in 29 milliseconds

12