OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:bnQ
(Results
1 - 3
of
3
) sorted by null
/external/tpm2/
CpriRSA.c
43
BIGNUM *
bnQ
;
57
bnQ
= BN_CTX_get(context);
76
if (BN_div(
bnQ
, bnQr, bnN, bnP, context) != 1)
79
if(BN_num_bytes(bnQr) != 0 || BN_num_bits(
bnQ
) != BN_num_bits(bnP))
87
|| !BN_sub(bnPhi, bnPhi,
bnQ
)
148
BIGNUM *
bnQ
;
168
bnQ
= BN_CTX_get(context); // prime2 (q)
178
if(BN_bin2bn(prime2->buffer, prime2->size,
bnQ
) == NULL)
181
if(BN_num_bits(
bnQ
) != BN_num_bits(bnP))
187
if(BN_mul(bnN, bnP,
bnQ
, context) != 1
[
all
...]
RSAKeySieve.c
802
BIGNUM *
bnQ
;
824
bnQ
= BN_CTX_get(context);
837
BN_zero(
bnQ
);
861
if(!BN_is_zero(
bnQ
))
862
{ //
bnQ
is non-zero, we have a first value
864
UINT32 *pQ = (UINT32 *)(&
bnQ
->d[4]);
881
if(BN_is_zero(
bnQ
))
883
BN_copy(
bnQ
, bnP);
887
if( BN_mul(bnN, bnP,
bnQ
, context) != 1
900
|| BN_sub(bnT, bnT,
bnQ
) !=
[
all
...]
MathFunctions.c
288
BIGNUM *
bnQ
;
299
bnQ
= BN_CTX_get(context);
310
if (BN_div(
bnQ
, bnR, bnN, bnD, context) != 1)
315
if(!BnTo2B(q,
bnQ
, q->size))
Completed in 521 milliseconds