Searched refs:mmm (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/common/mpi/
H A Dmpmontg.c97 mp_err s_mp_redc(mp_int *T, mp_mont_modulus *mmm) argument
102 i = MP_USED(T) + MP_USED(&mmm->N) + 2;
104 for (i = 0; i < MP_USED(&mmm->N); ++i ) {
105 mp_digit m_i = MP_DIGIT(T, i) * mmm->n0prime;
107 MP_CHECKOK( s_mp_mul_d_add_offset(&mmm->N, m_i, T, i) );
112 s_mp_div_2d(T, mmm->b);
114 if ((res = s_mp_cmp(T, &mmm->N)) >= 0) {
116 MP_CHECKOK( s_mp_sub(T, &mmm->N) );
118 if ((res = mp_cmp(T, &mmm->N)) >= 0) {
131 mp_mont_modulus *mmm)
130 s_mp_mul_mont(const mp_int *a, const mp_int *b, mp_int *c, mp_mont_modulus *mmm) argument
[all...]
H A Dmpi-priv.h312 mp_mont_modulus *mmm);
313 mp_err s_mp_redc(mp_int *T, mp_mont_modulus *mmm);
/illumos-gate/usr/src/common/crypto/ecc/
H A Decp_mont.c68 mp_mont_modulus *mmm; local
75 mmm = (mp_mont_modulus *) kmem_alloc(sizeof(mp_mont_modulus),
78 mmm = (mp_mont_modulus *) malloc(sizeof(mp_mont_modulus));
80 if (mmm == NULL) {
90 meth->extra1 = mmm;
94 mmm->N = meth->irr;
97 mmm->b = i - i % MP_DIGIT_BIT;
98 mmm->n0prime = 0 - s_mp_invmod_radix(MP_DIGIT(&meth->irr, 0));
174 mp_mont_modulus *mmm; local
177 mmm
[all...]
/illumos-gate/usr/src/uts/intel/sys/
H A Dmca_x86.h415 #define MCAX86_MKERRCODE_MEMORY_CONTROLLER (mmm, cccc) \
417 ((mmm) << MCAX86_ERRCODE_MMM_SHIFT & MCAX86_ERRCODE_MMM_MASK) | \

Completed in 64 milliseconds