Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/
Dmpi.h58 typedef struct gcry_mpi *MPI; typedef
64 MPI mpi_alloc(unsigned nlimbs);
65 MPI mpi_alloc_secure(unsigned nlimbs);
66 MPI mpi_alloc_like(MPI a);
67 void mpi_free(MPI a);
68 int mpi_resize(MPI a, unsigned nlimbs);
69 int mpi_copy(MPI *copy, const MPI a);
70 void mpi_clear(MPI a);
71 int mpi_set(MPI w, MPI u);
72 int mpi_set_ui(MPI w, ulong u);
[all …]
/linux-4.1.27/include/crypto/
Dpublic_key.h57 MPI mpi[5];
59 MPI p; /* DSA prime */
60 MPI q; /* DSA group order */
61 MPI g; /* DSA group generator */
62 MPI y; /* DSA public-key value = g^x mod p */
63 MPI x; /* DSA secret exponent (if present) */
66 MPI n; /* RSA public modulus */
67 MPI e; /* RSA public encryption exponent */
68 MPI d; /* RSA secret encryption exponent (if present) */
69 MPI p; /* RSA secret prime (if present) */
[all …]
/linux-4.1.27/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()
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()
Dmpicoder.c32 MPI mpi_read_raw_data(const void *xbuffer, size_t nbytes) in mpi_read_raw_data()
38 MPI val = NULL; in mpi_read_raw_data()
80 MPI mpi_read_from_buffer(const void *xbuffer, unsigned *ret_nread) in mpi_read_from_buffer()
86 MPI val = NULL; in mpi_read_from_buffer()
138 void *mpi_get_buffer(MPI a, unsigned *nbytes, int *sign) in mpi_get_buffer()
189 int mpi_set_buffer(MPI a, const void *xbuffer, unsigned nbytes, int sign) in mpi_set_buffer()
Dmpi-bit.c30 void mpi_normalize(MPI a) in mpi_normalize()
39 unsigned mpi_get_nbits(MPI a) in mpi_get_nbits()
Dmpi-internal.h68 static inline int RESIZE_IF_NEEDED(MPI a, unsigned b) in RESIZE_IF_NEEDED()
164 void mpi_assign_limb_space(MPI a, mpi_ptr_t ap, unsigned nlimbs);
167 void mpi_rshift_limbs(MPI a, unsigned int count);
168 int mpi_lshift_limbs(MPI a, unsigned int count);
Dmpi-pow.c36 int mpi_powm(MPI res, MPI base, MPI exp, MPI mod) in mpi_powm()
/linux-4.1.27/crypto/asymmetric_keys/
Drsa.c90 static int RSAVP1(const struct public_key *key, MPI s, MPI *_m) in RSAVP1()
92 MPI m; in RSAVP1()
123 static int RSA_I2OSP(MPI x, size_t xLen, u8 **_X) in RSA_I2OSP()
219 MPI m = NULL; in RSA_verify_signature()
Dpkcs7_parser.c377 MPI mpi; in pkcs7_sig_note_signature()
Dx509_cert_parser.c415 MPI mpi; in rsa_extract_mpi()
/linux-4.1.27/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-4.1.27/Documentation/
Ddigsig.txt16 GnuPG multi-precision integers (MPI) library. The kernel port provides
/linux-4.1.27/kernel/
Dmodule_signing.c112 MPI mpi; in mod_extract_mpi_array()
/linux-4.1.27/lib/
Ddigsig.c81 MPI in = NULL, res = NULL, pkey[2]; in digsig_verify_rsa()
DKconfig500 Implementation is done using GnuPG MPI library
/linux-4.1.27/Documentation/crypto/
Dasymmetric-keys.txt138 MPI mpi[2];
/linux-4.1.27/drivers/usb/serial/
DKconfig67 - Siemens USB/MPI adapter.