Lines Matching refs:get
178 if (bytes.get() == NULL) {
181 if (!BN_bin2bn(reinterpret_cast<const unsigned char*>(bytes.get()), len, toBigNum(ret))) {
195 if (scopedArray.get() == NULL) {
201 const uint8_t* tmpBytes = reinterpret_cast<const uint8_t *>(scopedArray.get());
216 if (bytes.get() == NULL) {
225 const unsigned char* bytesTmp = reinterpret_cast<const unsigned char*>(bytes.get());
310 if (bytes.get() == NULL) {
313 BN_bn2bin(a, reinterpret_cast<unsigned char*>(bytes.get()));
335 unsigned int* uints = reinterpret_cast<unsigned int*>(ints.get());
452 if (!BN_gcd(toBigNum(r), toBigNum(a), toBigNum(b), ctx.get())) {
460 if (!BN_mul(toBigNum(r), toBigNum(a), toBigNum(b), ctx.get())) {
468 if (!BN_exp(toBigNum(r), toBigNum(a), toBigNum(p), ctx.get())) {
476 if (!BN_div(toBigNum(dv), toBigNum(rem), toBigNum(m), toBigNum(d), ctx.get())) {
484 if (!BN_nnmod(toBigNum(r), toBigNum(a), toBigNum(m), ctx.get())) {
492 if (!BN_mod_exp(toBigNum(r), toBigNum(a), toBigNum(p), toBigNum(m), ctx.get())) {
500 if (!BN_mod_inverse(toBigNum(ret), toBigNum(a), toBigNum(n), ctx.get())) {
519 if (!BN_primality_test(&is_probably_prime, toBigNum(candidate), checks, ctx.get(),