Lines Matching refs:NULL

30     BIGNUM *r0 = NULL, *r1 = NULL, *r2 = NULL, *r3 = NULL;  in RSA_X931_derive_ex()
31 BN_CTX *ctx = NULL, *ctx2 = NULL; in RSA_X931_derive_ex()
34 if (rsa == NULL) in RSA_X931_derive_ex()
38 if (ctx == NULL) in RSA_X931_derive_ex()
47 if (r3 == NULL) in RSA_X931_derive_ex()
62 if (Xp && rsa->p == NULL) { in RSA_X931_derive_ex()
64 if (rsa->p == NULL) in RSA_X931_derive_ex()
72 if (Xq && rsa->q == NULL) { in RSA_X931_derive_ex()
74 if (rsa->q == NULL) in RSA_X931_derive_ex()
81 if (rsa->p == NULL || rsa->q == NULL) { in RSA_X931_derive_ex()
94 if (rsa->n == NULL) in RSA_X931_derive_ex()
110 if (!BN_div(r0, NULL, r0, r3, ctx)) in RSA_X931_derive_ex()
114 if (ctx2 == NULL) in RSA_X931_derive_ex()
117 rsa->d = BN_mod_inverse(NULL, rsa->e, r0, ctx2); /* d */ in RSA_X931_derive_ex()
118 if (rsa->d == NULL) in RSA_X931_derive_ex()
123 if (rsa->dmp1 == NULL) in RSA_X931_derive_ex()
130 if (rsa->dmq1 == NULL) in RSA_X931_derive_ex()
136 rsa->iqmp = BN_mod_inverse(NULL, rsa->q, rsa->p, ctx2); in RSA_X931_derive_ex()
137 if (rsa->iqmp == NULL) in RSA_X931_derive_ex()
154 BIGNUM *Xp = NULL, *Xq = NULL; in RSA_X931_generate_key_ex()
155 BN_CTX *ctx = NULL; in RSA_X931_generate_key_ex()
158 if (ctx == NULL) in RSA_X931_generate_key_ex()
164 if (Xq == NULL) in RSA_X931_generate_key_ex()
171 if (rsa->p == NULL || rsa->q == NULL) in RSA_X931_generate_key_ex()
176 if (!BN_X931_generate_prime_ex(rsa->p, NULL, NULL, NULL, NULL, Xp, in RSA_X931_generate_key_ex()
180 if (!BN_X931_generate_prime_ex(rsa->q, NULL, NULL, NULL, NULL, Xq, in RSA_X931_generate_key_ex()
189 if (!RSA_X931_derive_ex(rsa, NULL, NULL, NULL, NULL, in RSA_X931_generate_key_ex()
190 NULL, NULL, NULL, NULL, NULL, NULL, e, cb)) in RSA_X931_generate_key_ex()