Lines Matching refs:NULL
59 const OSSL_PARAM *param_priv_key = NULL, *param_pub_key; in ossl_ecx_key_fromdata()
62 if (ecx == NULL) in ossl_ecx_key_fromdata()
70 if (param_pub_key == NULL && param_priv_key == NULL) in ossl_ecx_key_fromdata()
73 if (param_priv_key != NULL) { in ossl_ecx_key_fromdata()
85 ecx->privkey = NULL; in ossl_ecx_key_fromdata()
92 if (param_pub_key != NULL in ossl_ecx_key_fromdata()
98 if ((param_pub_key != NULL && pubkeylen != ecx->keylen)) in ossl_ecx_key_fromdata()
101 if (param_pub_key == NULL && !ossl_ecx_public_from_private(ecx)) in ossl_ecx_key_fromdata()
113 if (ret == NULL) in ossl_ecx_key_dup()
114 return NULL; in ossl_ecx_key_dup()
124 if (key->propq != NULL) { in ossl_ecx_key_dup()
126 if (ret->propq == NULL) in ossl_ecx_key_dup()
137 && key->privkey != NULL) { in ossl_ecx_key_dup()
138 if (ossl_ecx_key_allocate_privkey(ret) == NULL) { in ossl_ecx_key_dup()
150 return NULL; in ossl_ecx_key_dup()
159 ECX_KEY *key = NULL; in ossl_ecx_key_op()
163 if (palg != NULL) { in ossl_ecx_key_op()
167 X509_ALGOR_get0(NULL, &ptype, NULL, palg); in ossl_ecx_key_op()
180 if (p == NULL || id == EVP_PKEY_NONE || plen != KEYLENID(id)) { in ossl_ecx_key_op()
187 if (key == NULL) { in ossl_ecx_key_op()
197 if (privkey == NULL) { in ossl_ecx_key_op()
226 return NULL; in ossl_ecx_key_op()
232 ECX_KEY *ecx = NULL; in ossl_ecx_key_from_pkcs8()
235 ASN1_OCTET_STRING *oct = NULL; in ossl_ecx_key_from_pkcs8()
238 if (!PKCS8_pkey_get0(NULL, &p, &plen, &palg, p8inf)) in ossl_ecx_key_from_pkcs8()
241 oct = d2i_ASN1_OCTET_STRING(NULL, &p, plen); in ossl_ecx_key_from_pkcs8()
242 if (oct == NULL) { in ossl_ecx_key_from_pkcs8()
243 p = NULL; in ossl_ecx_key_from_pkcs8()