Home
last modified time | relevance | path

Searched refs:bnWm1 (Results 1 – 2 of 2) sorted by relevance

/external/tpm2/
DRSAKeySieve.c236 BIGNUM *bnWm1; in MillerRabin() local
250 bnWm1 = BN_CTX_get(context); in MillerRabin()
257 BN_copy(bnWm1, bnW); in MillerRabin()
258 BN_sub_word(bnWm1, 1); in MillerRabin()
260 for(a = 1; !BN_is_bit_set(bnWm1, a); a++); in MillerRabin()
262 BN_rshift(bnM, bnWm1, a); in MillerRabin()
285 if(BN_ucmp(bnB, bnWm1) >= 0) in MillerRabin()
291 if(BN_is_one(bnZ) || BN_ucmp(bnZ, bnWm1) == 0) in MillerRabin()
300 if(BN_ucmp(bnZ, bnWm1) == 0) in MillerRabin()
Dpart4.txt30875 156 BIGNUM *bnWm1;
30896 172 bnWm1 = BN_CTX_get(context);
30904 180 BN_copy(bnWm1, bnW);
30905 181 BN_sub_word(bnWm1, 1);
30907 183 for(a = 1; !BN_is_bit_set(bnWm1, a); a++);
30910 186 BN_rshift(bnM, bnWm1, a);
30939 215 if(BN_ucmp(bnB, bnWm1) >= 0)
30947 223 if(BN_is_one(bnZ) || BN_ucmp(bnZ, bnWm1) == 0)
30963 234 if(BN_ucmp(bnZ, bnWm1) == 0)