Lines Matching full:null

25  * (behaviour with NULL arguments) depending on whether MD_C is defined or
187 return NULL; in mbedtls_md_info_from_type()
263 if (ctx == NULL || ctx->md_info == NULL) { in mbedtls_md_free()
267 if (ctx->md_ctx != NULL) { in mbedtls_md_free()
325 if (ctx->hmac_ctx != NULL) { in mbedtls_md_free()
337 if (dst == NULL || dst->md_info == NULL || in mbedtls_md_clone()
338 src == NULL || src->md_info == NULL || in mbedtls_md_clone()
406 if (dst->hmac_ctx != NULL && src->hmac_ctx != NULL) in mbedtls_md_clone()
415 if (ctx->md_ctx == NULL) \
424 if (ctx == NULL) { in mbedtls_md_setup()
428 if (md_info == NULL) { in mbedtls_md_setup()
433 ctx->md_ctx = NULL; in mbedtls_md_setup()
435 ctx->hmac_ctx = NULL; in mbedtls_md_setup()
445 if (ctx->md_ctx == NULL) { in mbedtls_md_setup()
502 if (ctx->hmac_ctx == NULL) { in mbedtls_md_setup()
516 if (ctx == NULL || ctx->md_info == NULL) { in mbedtls_md_starts()
577 if (ctx == NULL || ctx->md_info == NULL) { in mbedtls_md_update()
633 if (ctx == NULL || ctx->md_info == NULL) { in mbedtls_md_finish()
691 if (md_info == NULL) { in mbedtls_md()
751 if (md_info == NULL) { in mbedtls_md_get_size()
760 if (md_info == NULL) { in mbedtls_md_get_type()
878 { NULL, MBEDTLS_MD_NONE },
883 if (NULL == md_name) { in mbedtls_md_info_from_string()
884 return NULL; in mbedtls_md_info_from_string()
888 while (entry->md_name != NULL && in mbedtls_md_info_from_string()
898 if (md_info == NULL) { in mbedtls_md_get_name()
899 return NULL; in mbedtls_md_get_name()
914 if (ctx == NULL) { in mbedtls_md_info_from_ctx()
915 return NULL; in mbedtls_md_info_from_ctx()
930 if (md_info == NULL) { in mbedtls_md_file()
934 if ((f = fopen(path, "rb")) == NULL) { in mbedtls_md_file()
939 mbedtls_setbuf(f, NULL); in mbedtls_md_file()
978 if (ctx == NULL || ctx->md_info == NULL || ctx->hmac_ctx == NULL) { in mbedtls_md_hmac_starts()
1022 if (ctx == NULL || ctx->md_info == NULL || ctx->hmac_ctx == NULL) { in mbedtls_md_hmac_update()
1035 if (ctx == NULL || ctx->md_info == NULL || ctx->hmac_ctx == NULL) { in mbedtls_md_hmac_finish()
1063 if (ctx == NULL || ctx->md_info == NULL || ctx->hmac_ctx == NULL) { in mbedtls_md_hmac_reset()
1083 if (md_info == NULL) { in mbedtls_md_hmac()