Lines Matching refs:NULL
50 return NULL; in fake_rsa_keymgmt_new()
170 OSSL_PARAM *params = NULL; in fake_rsa_keymgmt_export()
185 OSSL_PARAM_BN(OSSL_PKEY_PARAM_RSA_N, NULL, 0),
186 OSSL_PARAM_BN(OSSL_PKEY_PARAM_RSA_E, NULL, 0),
187 OSSL_PARAM_BN(OSSL_PKEY_PARAM_RSA_D, NULL, 0),
188 OSSL_PARAM_BN(OSSL_PKEY_PARAM_RSA_FACTOR1, NULL, 0),
189 OSSL_PARAM_BN(OSSL_PKEY_PARAM_RSA_FACTOR2, NULL, 0),
190 OSSL_PARAM_BN(OSSL_PKEY_PARAM_RSA_EXPONENT1, NULL, 0),
191 OSSL_PARAM_BN(OSSL_PKEY_PARAM_RSA_EXPONENT2, NULL, 0),
192 OSSL_PARAM_BN(OSSL_PKEY_PARAM_RSA_COEFFICIENT1, NULL, 0),
205 OSSL_PARAM_BN(OSSL_PKEY_PARAM_RSA_N, NULL, 0),
206 OSSL_PARAM_BN(OSSL_PKEY_PARAM_RSA_E, NULL, 0),
220 struct fake_rsa_keydata *key = NULL; in fake_rsa_keymgmt_load()
223 return NULL; in fake_rsa_keymgmt_load()
227 return NULL; in fake_rsa_keymgmt_load()
230 *(struct fake_rsa_keydata **)reference = NULL; in fake_rsa_keymgmt_load()
238 unsigned char *gctx = NULL; in fake_rsa_gen_init()
241 return NULL; in fake_rsa_gen_init()
256 return NULL; in fake_rsa_gen()
258 if (!TEST_ptr(keydata = fake_rsa_keymgmt_new(NULL))) in fake_rsa_gen()
259 return NULL; in fake_rsa_gen()
291 { NULL, NULL, NULL, NULL }
344 if (sig != NULL) { in fake_rsa_sig_sign()
367 return NULL; in fake_rsa_sig_dupctx()
370 return NULL; in fake_rsa_sig_dupctx()
397 if (p != NULL) { in fake_rsa_dgstsgnvfy_init()
447 if ((*sigctx & FAKE_DGSTSGN_SIGN) != 0 && (siglen == NULL)) in fake_rsa_dgstsgnvfy_final()
450 if ((*sigctx & FAKE_DGSTSGN_VERIFY) != 0 && (siglen != NULL)) in fake_rsa_dgstsgnvfy_final()
457 if (sig != NULL) { in fake_rsa_dgstsgnvfy_final()
475 return fake_rsa_dgstsgnvfy_final(ctx, sig, NULL, siglen); in fake_rsa_dgstvfy_final()
524 { NULL, NULL, NULL, NULL }
545 unsigned char *storectx = NULL; in fake_rsa_st_open_ex()
549 return NULL; in fake_rsa_st_open_ex()
563 if (pw_cb == NULL) { in fake_rsa_st_open_ex()
564 return NULL; in fake_rsa_st_open_ex()
569 return NULL; in fake_rsa_st_open_ex()
573 return NULL; in fake_rsa_st_open_ex()
579 return NULL; in fake_rsa_st_open_ex()
588 unsigned char *storectx = NULL; in fake_rsa_st_open()
590 storectx = fake_rsa_st_open_ex(provctx, uri, NULL, NULL, NULL); in fake_rsa_st_open()
618 struct fake_rsa_keydata *key = NULL; in fake_rsa_st_load()
629 if (!TEST_ptr(key = fake_rsa_keymgmt_new(NULL))) in fake_rsa_st_load()
631 if (!TEST_int_gt(fake_rsa_keymgmt_import(key, 0, NULL), 0)) in fake_rsa_st_load()
702 { NULL, NULL, NULL }
720 return NULL; in fake_rsa_query()
747 return NULL; in fake_rsa_start()