Lines Matching refs:NULL

33     const OSSL_PARAM *param_priv_key = NULL, *param_pub_key;  in ossl_dsa_key_fromdata()
34 BIGNUM *priv_key = NULL, *pub_key = NULL; in ossl_dsa_key_fromdata()
36 if (dsa == NULL) in ossl_dsa_key_fromdata()
47 if (param_priv_key == NULL && param_pub_key == NULL) in ossl_dsa_key_fromdata()
50 if (param_pub_key != NULL && !OSSL_PARAM_get_BN(param_pub_key, &pub_key)) in ossl_dsa_key_fromdata()
52 if (param_priv_key != NULL && !OSSL_PARAM_get_BN(param_priv_key, &priv_key)) in ossl_dsa_key_fromdata()
69 if (dsa->engine != NULL || DSA_get_method((DSA *)dsa) != DSA_OpenSSL()) in ossl_dsa_is_foreign()
77 if (f != NULL && (*out = BN_dup(f)) == NULL) in dsa_bn_dup_check()
84 DSA *dupkey = NULL; in ossl_dsa_dup()
88 return NULL; in ossl_dsa_dup()
90 if ((dupkey = ossl_dsa_new(dsa->libctx)) == NULL) in ossl_dsa_dup()
91 return NULL; in ossl_dsa_dup()
119 return NULL; in ossl_dsa_dup()
132 ASN1_INTEGER *privkey = NULL; in ossl_dsa_key_from_pkcs8()
134 BIGNUM *dsa_pubkey = NULL, *dsa_privkey = NULL; in ossl_dsa_key_from_pkcs8()
135 BN_CTX *ctx = NULL; in ossl_dsa_key_from_pkcs8()
137 DSA *dsa = NULL; in ossl_dsa_key_from_pkcs8()
139 if (!PKCS8_pkey_get0(NULL, &p, &pklen, &palg, p8inf)) in ossl_dsa_key_from_pkcs8()
141 X509_ALGOR_get0(NULL, &ptype, &pval, palg); in ossl_dsa_key_from_pkcs8()
143 if ((privkey = d2i_ASN1_INTEGER(NULL, &p, pklen)) == NULL) in ossl_dsa_key_from_pkcs8()
151 if ((dsa = d2i_DSAparams(NULL, &pm, pmlen)) == NULL) in ossl_dsa_key_from_pkcs8()
154 if ((dsa_privkey = BN_secure_new()) == NULL in ossl_dsa_key_from_pkcs8()
160 if ((dsa_pubkey = BN_new()) == NULL) { in ossl_dsa_key_from_pkcs8()
164 if ((ctx = BN_CTX_new()) == NULL) { in ossl_dsa_key_from_pkcs8()
189 dsa = NULL; in ossl_dsa_key_from_pkcs8()