OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:pMont
(Results
1 - 11
of
11
) sorted by null
/external/epid-sdk/ext/ipp/sources/ippcp/
pcpmont_init.c
68
//
pMont
pointer to Montgomery context
72
IppStatus cpMontInit(int maxLen32, int poolLength, IppsMontState*
pMont
)
74
pMont
= (IppsMontState*)( IPP_ALIGNED_PTR(
pMont
, MONT_ALIGNMENT) );
78
MNT_ROOM(
pMont
) = INTERNAL_BNU_LENGTH(maxLen32);
79
MNT_ENGINE (
pMont
) = (gsModEngine*)((Ipp8u*)
pMont
+ sizeof(IppsMontState));
81
MNT_ID(
pMont
) = idCtxMontgomery;
83
gsModEngineInit(MNT_ENGINE(
pMont
), NULL, maxBitSize, poolLength, gsModArithMont());
pcpmontget.c
62
// ippStsNullPtrErr
pMont
==NULL
71
//
pMont
pointer to the context
73
IPPFUN(IppStatus, ippsMontGet,(Ipp32u* pModulus, int* pSize, const IppsMontState*
pMont
))
75
IPP_BAD_PTR3_RET(
pMont
, pModulus, pSize);
77
pMont
= (IppsMontState*)(IPP_ALIGNED_PTR((
pMont
), MONT_ALIGNMENT));
78
IPP_BADARG_RET(!MNT_VALID_ID(
pMont
), ippStsContextMatchErr);
81
cpSize len32 = MOD_LEN(MNT_ENGINE(
pMont
))*sizeof(BNU_CHUNK_T)/sizeof(Ipp32u);
82
Ipp32u* bnData = (Ipp32u*) MOD_MODULUS( MNT_ENGINE(
pMont
) );
pcpmont_expsafebinary.c
68
//
pMont
Montgomery modulus of IppsMontState.
76
IppsMontState*
pMont
)
82
int len = IPP_MULTIPLE_OF(
pMont
->n->size, BNUBASE_TYPE_SIZE);
83
cpMemset32u(
pMont
->wb->number, 0, len);
84
pMont
->wb->number[len] = 1;
86
cpMod_BNU(
pMont
->wb->number, len + 1,
pMont
->n->number,
pMont
->n->size, &pY->size);
88
cpMemcpy32u(pY->number,
pMont
->wb->number, pY->size);
110
pMont
->n->number, pMont->n->size
[
all
...]
pcpmont_set.c
73
// ippStsOutOfRangeErr ((Ipp32u)MNT_ROOM(
pMont
) < INTERNAL_BNU_LENGTH(len32))
80
//
pMont
pointer to the context
83
IppStatus cpMontSet(const Ipp32u* pModulus, cpSize len32, IppsMontState*
pMont
)
89
IPP_BADARG_RET(MNT_ROOM(
pMont
)<(int)(INTERNAL_BNU_LENGTH(len32)), ippStsOutOfRangeErr);
92
const int poolLen = MOD_MAXPOOL(MNT_ENGINE(
pMont
));
95
gsModEngineInit(MNT_ENGINE(
pMont
), pModulus, modulusBitSize, poolLen, gsModArithMont());
pcpngmontexpstuff.h
85
const gsModEngine*
pMont
)
87
cpSize nsM = MOD_LEN(
pMont
);
89
MOD_METHOD(
pMont
)->encode(pR, pR, (gsModEngine*)
pMont
);
95
gsModEngine*
pMont
)
97
cpSize nsM = MOD_LEN(
pMont
);
98
MOD_METHOD(
pMont
)->decode(pR, pXmont, (gsModEngine*)
pMont
);
104
gsModEngine*
pMont
)
107
cpSize nsM = MOD_LEN(
pMont
);
[
all
...]
pcpprime_isprob.h
62
gsModEngine*
pMont
,
65
cpSize nsP = MOD_LEN(
pMont
);
69
MOD_METHOD(
pMont
)->encode(pW, pW,
pMont
);
72
gsMontExpWin_BNU_sscm(pW, pW, nsP, pE, bitsizeE,
pMont
, pBuffer);
75
if ((0 == cpCmp_BNU(pW, nsP, MOD_MNT_R(
pMont
), nsP))
80
MOD_METHOD(
pMont
)->sqr(pW, pW,
pMont
);
82
if (0 == cpCmp_BNU(pW, nsP, MOD_MNT_R(
pMont
), nsP))
pcpngmontexpstuff_avx512.h
98
gsModEngine*
pMont
,
105
gsModEngine*
pMont
,
112
gsModEngine*
pMont
,
119
gsModEngine*
pMont
,
pcpngmontexpstuff_sse2.h
96
gsModEngine*
pMont
,
103
gsModEngine*
pMont
,
110
gsModEngine*
pMont
,
117
gsModEngine*
pMont
,
pcpprimeg.h
67
gsModEngine*
pMont
; /* montgomery engine */
80
#define PRIME_MONT(ctx) ((ctx)->
pMont
)
pcpmontgomery.h
246
gsModEngine*
pMont
)
253
cpSize nsY = cpMontExpBin_BNU_sscm(pY, pX,nsX, pE,nsE,
pMont
);
286
gsModEngine*
pMont
,
292
gsModEngine*
pMont
,
303
gsModEngine*
pMont
);
310
gsModEngine*
pMont
);
315
BNU_CHUNK_T* cpMontInv_BNU(BNU_CHUNK_T* pR, const BNU_CHUNK_T* pA, IppsMontState*
pMont
);
317
BNU_CHUNK_T* cpRegInv_BNU(BNU_CHUNK_T* pR, const BNU_CHUNK_T* pA, IppsMontState*
pMont
);
327
IppStatus cpMontInit(int maxLen32, int poolLength, IppsMontState*
pMont
);
330
IppStatus cpMontSet(const Ipp32u* pModulus, cpSize len32, IppsMontState*
pMont
);
[
all
...]
pcpngmontexpstuff_avx2.h
118
gsModEngine*
pMont
,
125
gsModEngine*
pMont
,
132
gsModEngine*
pMont
,
139
gsModEngine*
pMont
,
Completed in 278 milliseconds