Lines Matching refs:rsa1
657 RSA *rsa1 = NULL, *rsa2 = NULL;
670 rsa1 = EVP_PKEY_get1_RSA(pkey1);
671 RSA_free(rsa1);
678 rsa1 = key1->keydata.rsa;
682 if (rsa1 == NULL && rsa2 == NULL)
684 else if (rsa1 == NULL || rsa2 == NULL)
687 status = BN_cmp(rsa1->n, rsa2->n) ||
688 BN_cmp(rsa1->e, rsa2->e);
694 if ((rsa1->flags & RSA_FLAG_EXT_PKEY) != 0 ||
696 if ((rsa1->flags & RSA_FLAG_EXT_PKEY) == 0 ||
706 if (rsa1->d != NULL || rsa2->d != NULL) {
707 if (rsa1->d == NULL || rsa2->d == NULL)
709 status = BN_cmp(rsa1->d, rsa2->d) ||
710 BN_cmp(rsa1->p, rsa2->p) ||
711 BN_cmp(rsa1->q, rsa2->q);