Lines Matching full:null

60     if (ctx == NULL) {  in ecdsa_restart_ver_free()
102 if (ctx == NULL) { in ecdsa_restart_sig_free()
136 if (ctx == NULL) { in ecdsa_restart_det_free()
146 #define ECDSA_RS_ECP (rs_ctx == NULL ? NULL : &rs_ctx->ecp)
155 if (rs_ctx != NULL && rs_ctx->ecp.depth++ == 0) \
160 rs_ctx != NULL && rs_ctx->SUB == NULL) \
163 if (rs_ctx->SUB == NULL) \
173 if (rs_ctx != NULL && rs_ctx->SUB != NULL && \
178 rs_ctx->SUB = NULL; \
181 if (rs_ctx != NULL) \
187 #define ECDSA_RS_ECP NULL
258 if (!mbedtls_ecdsa_can_do(grp->id) || grp->N.p == NULL) { in mbedtls_ecdsa_sign_restartable()
273 if (rs_ctx != NULL && rs_ctx->sig != NULL) { in mbedtls_ecdsa_sign_restartable()
311 if (rs_ctx != NULL && rs_ctx->sig != NULL) { in mbedtls_ecdsa_sign_restartable()
325 if (rs_ctx != NULL && rs_ctx->sig != NULL) { in mbedtls_ecdsa_sign_restartable()
363 if (rs_ctx != NULL && rs_ctx->sig != NULL) { in mbedtls_ecdsa_sign_restartable()
386 f_rng, p_rng, f_rng, p_rng, NULL); in mbedtls_ecdsa_sign()
394 * note: The f_rng_blind parameter must not be NULL.
413 if ((md_info = mbedtls_md_info_from_type(md_alg)) == NULL) { in mbedtls_ecdsa_sign_det_restartable()
423 if (rs_ctx != NULL && rs_ctx->det != NULL) { in mbedtls_ecdsa_sign_det_restartable()
441 if (rs_ctx != NULL && rs_ctx->det != NULL) { in mbedtls_ecdsa_sign_det_restartable()
479 f_rng_blind, p_rng_blind, NULL); in mbedtls_ecdsa_sign_det_ext()
505 if (!mbedtls_ecdsa_can_do(grp->id) || grp->N.p == NULL) { in mbedtls_ecdsa_verify_restartable()
512 if (rs_ctx != NULL && rs_ctx->ver != NULL) { in mbedtls_ecdsa_verify_restartable()
552 if (rs_ctx != NULL && rs_ctx->ver != NULL) { in mbedtls_ecdsa_verify_restartable()
602 return mbedtls_ecdsa_verify_restartable(grp, buf, blen, Q, r, s, NULL); in mbedtls_ecdsa_verify()
649 if (f_rng == NULL) { in mbedtls_ecdsa_write_signature_restartable()
697 f_rng, p_rng, NULL); in mbedtls_ecdsa_write_signature()
708 ctx, hash, hlen, sig, slen, NULL); in mbedtls_ecdsa_read_signature()
818 if (ctx == NULL) { in mbedtls_ecdsa_free()
833 ctx->ver = NULL; in mbedtls_ecdsa_restart_init()
834 ctx->sig = NULL; in mbedtls_ecdsa_restart_init()
836 ctx->det = NULL; in mbedtls_ecdsa_restart_init()
845 if (ctx == NULL) { in mbedtls_ecdsa_restart_free()
853 ctx->ver = NULL; in mbedtls_ecdsa_restart_free()
857 ctx->sig = NULL; in mbedtls_ecdsa_restart_free()
862 ctx->det = NULL; in mbedtls_ecdsa_restart_free()