Home
last modified time | relevance | path

Searched refs:MBEDTLS_ERR_MD_BAD_INPUT_DATA (Results 1 – 8 of 8) sorted by relevance

/third_party/mbedtls/tests/suites/
Dtest_suite_md.function57 TEST_ASSERT( mbedtls_md_setup( &ctx, NULL, 0 ) == MBEDTLS_ERR_MD_BAD_INPUT_DATA );
58 TEST_ASSERT( mbedtls_md_setup( NULL, info, 0 ) == MBEDTLS_ERR_MD_BAD_INPUT_DATA );
60 TEST_ASSERT( mbedtls_md_starts( NULL ) == MBEDTLS_ERR_MD_BAD_INPUT_DATA );
61 TEST_ASSERT( mbedtls_md_starts( &ctx ) == MBEDTLS_ERR_MD_BAD_INPUT_DATA );
63 TEST_ASSERT( mbedtls_md_update( NULL, buf, 1 ) == MBEDTLS_ERR_MD_BAD_INPUT_DATA );
64 TEST_ASSERT( mbedtls_md_update( &ctx, buf, 1 ) == MBEDTLS_ERR_MD_BAD_INPUT_DATA );
66 TEST_ASSERT( mbedtls_md_finish( NULL, buf ) == MBEDTLS_ERR_MD_BAD_INPUT_DATA );
67 TEST_ASSERT( mbedtls_md_finish( &ctx, buf ) == MBEDTLS_ERR_MD_BAD_INPUT_DATA );
69 TEST_ASSERT( mbedtls_md( NULL, buf, 1, buf ) == MBEDTLS_ERR_MD_BAD_INPUT_DATA );
72 TEST_ASSERT( mbedtls_md_file( NULL, "", buf ) == MBEDTLS_ERR_MD_BAD_INPUT_DATA );
[all …]
Dtest_suite_ecjpake.function144 msg->len ) == MBEDTLS_ERR_MD_BAD_INPUT_DATA );
/third_party/mbedtls/library/
Dmd.c303 return( MBEDTLS_ERR_MD_BAD_INPUT_DATA ); in mbedtls_md_clone()
344 return( MBEDTLS_ERR_MD_BAD_INPUT_DATA ); in mbedtls_md_clone()
362 return( MBEDTLS_ERR_MD_BAD_INPUT_DATA ); in mbedtls_md_setup()
406 return( MBEDTLS_ERR_MD_BAD_INPUT_DATA ); in mbedtls_md_setup()
426 return( MBEDTLS_ERR_MD_BAD_INPUT_DATA ); in mbedtls_md_starts()
459 return( MBEDTLS_ERR_MD_BAD_INPUT_DATA ); in mbedtls_md_starts()
466 return( MBEDTLS_ERR_MD_BAD_INPUT_DATA ); in mbedtls_md_update()
499 return( MBEDTLS_ERR_MD_BAD_INPUT_DATA ); in mbedtls_md_update()
506 return( MBEDTLS_ERR_MD_BAD_INPUT_DATA ); in mbedtls_md_finish()
539 return( MBEDTLS_ERR_MD_BAD_INPUT_DATA ); in mbedtls_md_finish()
[all …]
Derror.c255 case -(MBEDTLS_ERR_MD_BAD_INPUT_DATA): in mbedtls_high_level_strerr()
Dhmac_drbg.c70 int ret = MBEDTLS_ERR_MD_BAD_INPUT_DATA; in mbedtls_hmac_drbg_update()
Dpsa_crypto.c224 case MBEDTLS_ERR_MD_BAD_INPUT_DATA: in mbedtls_to_psa_error()
Dssl_tls.c7018 return( MBEDTLS_ERR_MD_BAD_INPUT_DATA ); in mbedtls_ssl_get_key_exchange_md_tls1_2()
/third_party/mbedtls/include/mbedtls/
Dmd.h37 #define MBEDTLS_ERR_MD_BAD_INPUT_DATA -0x5100 macro