Lines Matching refs:bnN
454 BIGNUM *bnN, // IN/OUT: number to sieve in PrimeSieve() argument
473 pAssert(field != NULL && bnN != NULL); in PrimeSieve()
481 adjust = BN_mod_word(bnN,105); in PrimeSieve()
490 BN_sub_word(bnN, adjust); in PrimeSieve()
524 composite = BN_mod_word(bnN, composite); in PrimeSieve()
805 BIGNUM *bnN; in _cpri__GenerateKeyRSA() local
827 bnN = BN_CTX_get(context); in _cpri__GenerateKeyRSA()
828 if(bnN == NULL) in _cpri__GenerateKeyRSA()
887 if( BN_mul(bnN, bnP, bnQ, context) != 1 in _cpri__GenerateKeyRSA()
888 || BN_num_bits(bnN) != keySizeInBits) in _cpri__GenerateKeyRSA()
891 BnTo2B(n, bnN, n->size); in _cpri__GenerateKeyRSA()
899 if( BN_sub(bnT, bnN, bnP) != 1 in _cpri__GenerateKeyRSA()
926 || BN_mod_exp(bnQ, bnP, bnE, bnN, context) != 1 in _cpri__GenerateKeyRSA()
928 || BN_mod_exp(bnQ, bnQ, bnT, bnN, context) != 1) in _cpri__GenerateKeyRSA()