Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/
Dmpi.h40 typedef struct gcry_mpi *MPI; typedef
45 MPI mpi_alloc(unsigned nlimbs);
46 void mpi_free(MPI a);
47 int mpi_resize(MPI a, unsigned nlimbs);
50 MPI mpi_read_raw_data(const void *xbuffer, size_t nbytes);
51 MPI mpi_read_from_buffer(const void *buffer, unsigned *ret_nread);
52 MPI mpi_read_raw_from_sgl(struct scatterlist *sgl, unsigned int len);
53 void *mpi_get_buffer(MPI a, unsigned *nbytes, int *sign);
54 int mpi_read_buffer(MPI a, uint8_t *buf, unsigned buf_len, unsigned *nbytes,
56 int mpi_write_to_sgl(MPI a, struct scatterlist *sg, unsigned nbytes,
[all …]
/Linux-v5.4/crypto/
Ddh.c15 MPI p; /* Value is guaranteed to be set. */
16 MPI q; /* Value is optional. */
17 MPI g; /* Value is guaranteed to be set. */
18 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()
109 static int dh_is_pubkey_valid(struct dh_ctx *ctx, MPI y) in dh_is_pubkey_valid()
125 MPI val = mpi_alloc(0); in dh_is_pubkey_valid()
153 MPI base, val = mpi_alloc(0); in dh_compute_value()
Drsa.c16 MPI n;
17 MPI e;
18 MPI d;
25 static int _rsa_enc(const struct rsa_mpi_key *key, MPI c, MPI m) in _rsa_enc()
39 static int _rsa_dec(const struct rsa_mpi_key *key, MPI m, MPI c) in _rsa_dec()
58 MPI m, c = mpi_alloc(0); in rsa_enc()
97 MPI c, m = mpi_alloc(0); in rsa_dec()
/Linux-v5.4/lib/mpi/
Dmpiutil.c30 MPI mpi_alloc(unsigned nlimbs) in mpi_alloc()
32 MPI a; in mpi_alloc()
75 void mpi_assign_limb_space(MPI a, mpi_ptr_t ap, unsigned nlimbs) in mpi_assign_limb_space()
86 int mpi_resize(MPI a, unsigned nlimbs) in mpi_resize()
109 void mpi_free(MPI a) in mpi_free()
Dmpicoder.c35 MPI mpi_read_raw_data(const void *xbuffer, size_t nbytes) in mpi_read_raw_data()
41 MPI val = NULL; in mpi_read_raw_data()
81 MPI mpi_read_from_buffer(const void *xbuffer, unsigned *ret_nread) in mpi_read_from_buffer()
85 MPI val; in mpi_read_from_buffer()
112 static int count_lzeros(MPI a) in count_lzeros()
143 int mpi_read_buffer(MPI a, uint8_t *buf, unsigned buf_len, unsigned *nbytes, in mpi_read_buffer()
203 void *mpi_get_buffer(MPI a, unsigned *nbytes, int *sign) in mpi_get_buffer()
247 int mpi_write_to_sgl(MPI a, struct scatterlist *sgl, unsigned nbytes, in mpi_write_to_sgl()
330 MPI mpi_read_raw_from_sgl(struct scatterlist *sgl, unsigned int nbytes) in mpi_read_raw_from_sgl()
338 MPI val = NULL; in mpi_read_raw_from_sgl()
Dmpi-cmp.c23 int mpi_cmp_ui(MPI u, unsigned long v) in mpi_cmp_ui()
44 int mpi_cmp(MPI u, MPI v) in mpi_cmp()
Dmpi-bit.c30 void mpi_normalize(MPI a) in mpi_normalize()
39 unsigned mpi_get_nbits(MPI a) in mpi_get_nbits()
Dmpi-pow.c24 int mpi_powm(MPI res, MPI base, MPI exp, MPI mod) in mpi_powm()
Dmpi-internal.h98 void mpi_assign_limb_space(MPI a, mpi_ptr_t ap, unsigned nlimbs);
/Linux-v5.4/Documentation/infiniband/
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-v5.4/drivers/message/fusion/lsi/
Dmpi_history.txt3 MPI Header File Change History
77 * 05-11-04 01.03.01 Bumped MPI_VERSION_MINOR for MPI v1.3.
151 * 05-11-04 01.03.01 Original release for MPI v1.3.
244 * 12-04-00 01.01.03 Config page changes to match MPI rev 1.00.01.
269 * defines to make them compatible to MPI version 1.0.
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.
626 * 01-09-01 01.01.03 Modified some of the new flags to have an MPI prefix
644 * 05-11-04 01.03.01 Original release for MPI v1.3.
[all …]
/Linux-v5.4/lib/
Ddigsig.c78 MPI in = NULL, res = NULL, pkey[2]; in digsig_verify_rsa()
DKconfig554 Implementation is done using GnuPG MPI library
/Linux-v5.4/Documentation/
Ddigsig.txt23 GnuPG multi-precision integers (MPI) library. The kernel port provides
/Linux-v5.4/Documentation/mic/
Dscif_overview.rst13 runtime and OFED support for MPI implementations for MIC coprocessors.
/Linux-v5.4/Documentation/crypto/
Dasymmetric-keys.txt139 MPI mpi[2];
/Linux-v5.4/Documentation/filesystems/
Dorangefs.txt20 * Direct MPI support
/Linux-v5.4/drivers/usb/serial/
DKconfig70 - Siemens USB/MPI adapter.